-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[release-4.16] OCPBUGS-55807: update resolv.conf every time on bootstrap node #9694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-4.16
Are you sure you want to change the base?
Conversation
Currently, /etc/resolv.conf on bootstrap node is updated only once. Because of this, /etc/resolv.conf may be incorrect due to timing issues. By this change, /etc/resolv.conf is updtaed at all "up", "dhcp4-update", "dhcp6-update" events.
Currently, /etc/resolv.conf on bootstrap node is updated only once. Because of this, /etc/resolv.conf may be incorrect due to timing issues. By this change, /etc/resolv.conf is updtaed at all "up", "dhcp4-update", "dhcp6-update", "dns-change" events. "dns-change" event is supposed to be enough if it works, but "dns-change" is a new function[1] of NetworkManager. Other events, "up", "dhcp4-update" and "dhcp6-update", are kept for environments where "dns-change" doesn't works. [1] NetworkManager starting from 1.42.2-12.el9_2 and 1.36.0-17.el8_6 adds a new event `dns-change` which is fired whenever a change to the DNS configuration happens.
@openshift-cherrypick-robot: Jira Issue OCPBUGS-51116 has been cloned as Jira Issue OCPBUGS-55807. Will retitle bug to link to clone. In response to this:
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. |
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-55807, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
@openshift-cherrypick-robot: The following tests failed, say
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. |
This is an automated cherry-pick of #9504
/assign mandre