Skip to content

Conversation

cybertron
Copy link
Member

This is a combined backport of #5106 and #4724 as both PRs were needed to make this work in all circumstances.

mkowalski and others added 2 commits September 26, 2025 14:43
Currently the only supported combination is either DHCP or static IP on
the default gateway interface. This leads to the scenario when IP
address from DHCP and static DNS address is not working (the custom DNS
is just ignored).

With this change we allow to have DNS configured manually no matter
where the IP address of the interface comes from.

In principle this should be done using k-nmstate operator and its
global DNS configuration, but it seems there are scenarios where we want
this functionality already at installation time.

Closes: OCPBUGS-44732
(cherry picked from commit 0d86d9c)
nmcli --get-values will escape `:` and `\` by default.
This is because `:` is the normal key:value separator.
This escape breaks IPv6 output and MAC address output.

`src/nmcli/utils.c`
```c
	if (nmc_config->print_output == NMC_PRINT_TERSE) {
	    if (nmc_config->escape_values) {
		const char *p = text;
		while (*p) {
		    if (*p == ':' || *p == '\\')
			g_string_append_c(str, '\\'); /* Escaping by '\' */
		    g_string_append_c(str, *p);
		    p++;
		}
	    } else
```

(cherry picked from commit 15e7e5e)
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Sep 26, 2025
@openshift-ci-robot
Copy link
Contributor

@cybertron: This pull request references Jira Issue OCPBUGS-62294, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.z) matches configured target version for branch (4.18.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-44732 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-44732 targets the "4.19.z" version, which is one of the valid target versions: 4.19.0, 4.19.z
  • bug has dependents

Requesting review from QA contact:
/cc @rbbratta

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

This is a combined backport of #5106 and #4724 as both PRs were needed to make this work in all circumstances.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Copy link
Contributor

openshift-ci bot commented Sep 26, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: cybertron
Once this PR has been reviewed and has the lgtm label, please assign cheesesashimi for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cybertron
Copy link
Member Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Sep 29, 2025

@cybertron: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-gcp-op-ocl 284a69a link false /test e2e-gcp-op-ocl
ci/prow/e2e-aws-ovn-upgrade-out-of-change 284a69a link false /test e2e-aws-ovn-upgrade-out-of-change
ci/prow/bootstrap-unit 284a69a link false /test bootstrap-unit
ci/prow/e2e-azure-ovn-upgrade-out-of-change 284a69a link false /test e2e-azure-ovn-upgrade-out-of-change
ci/prow/okd-scos-e2e-aws-ovn 284a69a link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-gcp-op-techpreview 284a69a link false /test e2e-gcp-op-techpreview
ci/prow/e2e-aws-ovn 284a69a link true /test e2e-aws-ovn
ci/prow/e2e-aws-ovn-upgrade 284a69a link true /test e2e-aws-ovn-upgrade

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@rbbratta
Copy link
Contributor

rbbratta commented Oct 3, 2025

/verified by @rbbratta

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Oct 3, 2025
@openshift-ci-robot
Copy link
Contributor

@rbbratta: This PR has been marked as verified by @rbbratta.

In response to this:

/verified by @rbbratta

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. verified Signifies that the PR passed pre-merge verification criteria
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants