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

[release-4.8] [wmco] WINC-631: BYOH controller is able to react to changes in Node objects #578

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #479

/assign mansikulkarni96

This commit makes it so that the ConfigMap controller watches all BYOH
nodes, and ensures that the Machine controller does not attempt to
reconcile BYOH nodes.
This commit moves adding of all annotations, besides the version
annotation, to right after the inital kubelet configuration. This allows
nodes to be identified as BYOH nodes in the case that confuration fails
part way through.
This commit ensures that BYOH nodes that were partially configured are
properly dealt with. The reconfiguration suite was expanded to include
reconfiguration of one Machine sourced node, and one BYOH node.

Before this commit, if an instance was far enough along in the
configuration process that a node object was created for it, and then
the configuration failed, the instance would be left in a partially
configured and unusable state, unless the node was manually deleted.
@mansikulkarni96
Copy link
Member

/lgtm
/hold

@openshift-ci openshift-ci bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Aug 11, 2021
@mansikulkarni96
Copy link
Member

/retest

@mansikulkarni96
Copy link
Member

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 11, 2021
@mansikulkarni96
Copy link
Member

/retest

Copy link
Contributor

@aravindhp aravindhp left a comment

Choose a reason for hiding this comment

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

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 11, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aravindhp, openshift-cherrypick-robot

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:

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 11, 2021
@openshift-ci openshift-ci bot merged commit 8d5d786 into openshift:release-4.8 Aug 11, 2021
mansikulkarni96 pushed a commit to mansikulkarni96/windows-machine-config-operator that referenced this pull request Aug 7, 2023
…penshift-cherrypick-robot/cherry-pick-479-to-release-4.8

Updated upstream source commit.
Commit details follow:

Project: https://github.com/openshift/windows-machine-config-operator.git
Branch:  release-4.8
Commit:  8d5d786
Author:  openshift-ci[bot]
Date:    Wed, 11 Aug 2021 18:37:55 +0000

    Merge pull request openshift#578 from openshift-cherrypick-robot/cherry-pick-479-to-release-4.8

    [release-4.8] [wmco] WINC-631: BYOH controller is able to react to changes in Node objects

automerge: yes
x-md5: 0e68e95ae5be67c3924b88524725115c
Change-Id: I33d3029aa48cb96298211a2d85e3fa93d0b10635
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants