Bug 1995611

Summary: Deleting BYOH Node object does not trigger configmap controller to reconcile
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Windows ContainersAssignee: Mansi Kulkarni <mankulka>
Status: CLOSED ERRATA QA Contact: gaoshang <sgao>
Severity: high Docs Contact:
Priority: medium    
Version: 4.8CC: aos-bugs, mankulka, team-winc
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-21 11:11:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1992428    
Bug Blocks:    

Description OpenShift BugZilla Robot 2021-08-19 13:38:50 UTC
+++ This bug was initially created as a clone of Bug #1992428 +++

Description of problem:
After added a BYOH Windows node, if run `oc delete nodes xxx`, WMCO configmap controller won't reconcile. Restart wmco operator, it will start reconciling and config BYOH Winows instance as a worker again.

Version-Release number of selected component (if applicable):
OCP version: 4.8.0-0.nightly-2021-08-09-135211
WMCO master branch commit ccae1dd992a0f34702df23c76f3659f796ec64e0

How reproducible:
Always

Steps to Reproduce:
1, Install operator on IPI cluster
2, Create BYOH Windows instance with machineset by deleting label "spec.template.metadata.labels.machine.openshift.io/os-id: Windows"
3, After Windows instance fully configured as a node, run command `oc delete nodes xxx`

Actual results:
WMCO won't reconcile until restart operator

Expected results:
WMCO should reconcile against Node object delete

Additional info:

Comment 1 gaoshang 2021-08-23 11:02:12 UTC
This bug has been verified on 4.8.0-0.nightly-2021-08-22-035234 and passed, thanks.


Steps:
After deleted BYOH Windows instance, WMCO reconcile and reconfigure it as node.

Comment 4 errata-xmlrpc 2021-09-21 11:11:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Windows Container Support for Red Hat OpenShift 3.1.0 product release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3215