Skip to content

Bug 1919271: NM resolve prepender: Update for systemd-resolved logic. systemd-resolved requires restart after dropin created#2377

Merged
openshift-merge-robot merged 4 commits intoopenshift:masterfrom
fortinj66:update-resolv-prepender
Feb 4, 2021
Merged

Bug 1919271: NM resolve prepender: Update for systemd-resolved logic. systemd-resolved requires restart after dropin created#2377
openshift-merge-robot merged 4 commits intoopenshift:masterfrom
fortinj66:update-resolv-prepender

Conversation

@fortinj66
Copy link
Copy Markdown
Contributor

- What I did

  • remove OS check. If node has systemd-resolved enabled this will work
  • Check to see if systemd-resolved is enabled. Otherwise skip
  • Check if /etc/systemd/resolved.conf.d/60-kni.conf exists. If it doesn't create it and restart systemd-resolved if active
  • Add logging

- How to verify it

- Description for the changelog
NM resolve prepender: Update for systemd-resolved logic

- remove OS check.  If node has systemd-resolved enabled this will work
- Check to see if systemd-resolved is enabled.  Otherwise skip
- Check if /etc/systemd/resolved.conf.d/60-kni.conf exists.  If it doesn't create it and restart systemd-resolved if active
- Add logging
@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 1, 2021
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

Hi @fortinj66. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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/test-infra repository.

Comment thread templates/common/on-prem/files/NetworkManager-resolv-prepender.yaml Outdated
@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 1, 2021

/ok-to-test

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 1, 2021
@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 1, 2021

/retitle Bug 1919271: NM resolve prepender: Update for systemd-resolved logic. systemd-resolved requires restart after dropin created

….yaml

Co-authored-by: Vadim Rutkovsky <roignac@gmail.com>
@openshift-ci-robot openshift-ci-robot changed the title NM resolve prepender: Update for systemd-resolved logic. systemd-resolved requires restart after dropin created Bug 1919271: NM resolve prepender: Update for systemd-resolved logic. systemd-resolved requires restart after dropin created Feb 1, 2021
@openshift-ci-robot openshift-ci-robot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Feb 1, 2021
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@fortinj66: This pull request references Bugzilla bug 1919271, which is invalid:

  • expected the bug to be in one of the following states: NEW, ASSIGNED, ON_DEV, POST, POST, but it is ON_QA instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 1919271: NM resolve prepender: Update for systemd-resolved logic. systemd-resolved requires restart after dropin created

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/test-infra repository.

@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 1, 2021

/bugzilla refresh
/test okd-e2e-vsphere
/test e2e-openstack

@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Feb 1, 2021
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@vrutkovs: This pull request references Bugzilla bug 1919271, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.7.0) matches configured target release for branch (4.7.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
Details

In response to this:

/bugzilla refresh
/test okd-e2e-vsphere
/test e2e-openstack

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/test-infra repository.

@openshift-ci-robot openshift-ci-robot removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Feb 1, 2021
@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

/hold
/assign @bcrochet @EmilienM

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 1, 2021
@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 1, 2021

level=info msg=Cluster operator authentication Available is False with WellKnown_NotReady: WellKnownAvailable: The well-known endpoint is not yet available: need at least 3 kube-apiservers, got 2

master didn't come up in openstack.

/test e2e-openstack

rhel7 workers is known to be failing - missing RPM repo.
OKD tests failing on known issue - https://bugzilla.redhat.com/show_bug.cgi?id=1922991

@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 1, 2021

This is a followup for #2359, fixing NM/resolved races and ensures it would work on RHEL once it switches to systemd-resolved

@celebdor @jcpowermac @mandre PTAL

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

/test e2e-vsphere

@fortinj66
Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@fortinj66
Copy link
Copy Markdown
Contributor Author

/retest

Comment thread templates/common/on-prem/files/NetworkManager-resolv-prepender.yaml Outdated
Comment thread templates/common/on-prem/files/NetworkManager-resolv-prepender.yaml Outdated
fortinj66 and others added 2 commits February 2, 2021 06:07
….yaml

Co-authored-by: Martin André <martin.andre@gmail.com>
….yaml

Co-authored-by: Martin André <martin.andre@gmail.com>
@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 2, 2021

/test okd-e2e-vsphere
/test e2e-openstack

@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 2, 2021

/test e2e-vsphere

Copy link
Copy Markdown
Member

@mandre mandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 2, 2021
@cybertron
Copy link
Copy Markdown
Member

/lgtm

@kikisdeliveryservice
Copy link
Copy Markdown
Contributor

assuming these red okd jobs are expected.

/approve
/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 3, 2021
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cybertron, fortinj66, kikisdeliveryservice, mandre

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [kikisdeliveryservice]

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 3, 2021
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@fortinj66
Copy link
Copy Markdown
Contributor Author

according to @vrutkovs yes...

@vrutkovs
Copy link
Copy Markdown
Contributor

vrutkovs commented Feb 3, 2021

OKD e2e aws should now pass (vsphere's run is more prone to flakes). I'll babysit this one

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Feb 4, 2021

@fortinj66: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/okd-e2e-vsphere da19579 link /test okd-e2e-vsphere
ci/prow/okd-e2e-aws da19579 link /test okd-e2e-aws

Full PR test history. Your PR dashboard.

Details

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/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 520b149 into openshift:master Feb 4, 2021
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@fortinj66: All pull requests linked via external trackers have merged:

Bugzilla bug 1919271 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1919271: NM resolve prepender: Update for systemd-resolved logic. systemd-resolved requires restart after dropin created

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/test-infra repository.

@fortinj66 fortinj66 deleted the update-resolv-prepender branch February 19, 2021 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.