Skip to content
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

Bug 1882667: daemon: Unlink encapsulated config in once-from mode #2120

Merged

Conversation

cgwalters
Copy link
Member

Unconditionally remove this file in the once-from (classic RHEL)
case. We use this file to suppress things like kubelet and SDN
starting on CoreOS during the firstboot/pivot boot, but there's
no such thing on classic RHEL.

Unconditionally remove this file in the once-from (classic RHEL)
case.  We use this file to suppress things like kubelet and SDN
starting on CoreOS during the firstboot/pivot boot, but there's
no such thing on classic RHEL.
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 25, 2020
@kikisdeliveryservice
Copy link
Contributor

Makes sense to me!! As this file isn't removed and can break other things 👍

/lgtm

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, kikisdeliveryservice

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [cgwalters,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 lgtm Indicates that a PR is ready to be merged. label Sep 25, 2020
@kikisdeliveryservice
Copy link
Contributor

We hit this in : BZ 1882667 so I'll link but im not sure if this fix closes the BZ alone @dcbw

@kikisdeliveryservice kikisdeliveryservice changed the title daemon: Unlink encapsulated config in once-from mode Bug 1882667: daemon: Unlink encapsulated config in once-from mode Sep 25, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. label Sep 25, 2020
@openshift-ci-robot
Copy link
Contributor

@cgwalters: This pull request references Bugzilla bug 1882667, 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.6.0) matches configured target release for branch (4.6.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1882667: daemon: Unlink encapsulated config in once-from mode

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 added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Sep 25, 2020
@openshift-merge-robot openshift-merge-robot merged commit ef4215d into openshift:master Sep 25, 2020
@openshift-ci-robot
Copy link
Contributor

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

Bugzilla bug 1882667 has been moved to the MODIFIED state.

In response to this:

Bug 1882667: daemon: Unlink encapsulated config in once-from mode

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.

if err := os.Remove(constants.MachineConfigEncapsulatedPath); err != nil {
return errors.Wrapf(err, "failed to remove %s", constants.MachineConfigEncapsulatedPath)
}
}
Copy link
Member

Choose a reason for hiding this comment

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

this should be run after the once from is run - this is a RHEL node so when this run we're effectively writing the encapsulated mc at the end of this, which results, obviously, in the file being there. We should move this at the end.

@runcom
Copy link
Member

runcom commented Sep 29, 2020

@cgwalters ptal #2125

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-urgent Referenced Bugzilla bug's severity is urgent 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants