Bug 1881594

Summary: Not able to un-taint master nodes
Product: OpenShift Container Platform Reporter: Anurag saxena <anusaxen>
Component: NodeAssignee: Ryan Phillips <rphillips>
Node sub component: Kubelet QA Contact: Weinan Liu <weinliu>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, huirwang, jokerman, rbrattai, weliang, zzhao
Version: 4.6Keywords: UpcomingSprint
Target Milestone: ---   
Target Release: 4.7.0   
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: 2020-11-11 18:30:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anurag saxena 2020-09-22 18:12:31 UTC
Description of problem:Not able to untaint master nodes on 4.6. Seems like we are able to do that on 4.5 though. Is this an expected behavior on 4.6?


Version-Release number of selected component (if applicable):4.6.0-0.nightly-2020-09-21-081745


How reproducible:Always


Steps to Reproduce:
1.oc adm taint node qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal node-role.kubernetes.io/master-
2.
3.

Actual results: Taint still present after successful untaint

$ oc adm taint node qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal node-role.kubernetes.io/master-
node/qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal untainted

$ oc describe node/qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal | grep -i taint
Taints:             node-role.kubernetes.io/master:NoSchedule



Expected results: Expecting master node to untaint successfuly


Additional info:

I0921 19:49:02.379720       1 node_controller.go:419] Pool master: node qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal: changed annotation machineconfiguration.openshift.io/state = Done
I0921 19:49:02.379977       1 event.go:282] Event(v1.ObjectReference{Kind:"MachineConfigPool", Namespace:"", Name:"master", UID:"f2f3db79-3b07-448b-8816-3a63736b1b8f", APIVersion:"machineconfiguration.openshift.io/v1", ResourceVersion:"10656", FieldPath:""}): type: 'Normal' reason: 'AnnotationChange' Node qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal now has machineconfiguration.openshift.io/currentConfig=rendered-master-ccbdbdec801726ae41e1bb0ca79db2d2
I0921 19:49:02.380024       1 event.go:282] Event(v1.ObjectReference{Kind:"MachineConfigPool", Namespace:"", Name:"master", UID:"f2f3db79-3b07-448b-8816-3a63736b1b8f", APIVersion:"machineconfiguration.openshift.io/v1", ResourceVersion:"10656", FieldPath:""}): type: 'Normal' reason: 'AnnotationChange' Node qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal now has machineconfiguration.openshift.io/desiredConfig=rendered-master-ccbdbdec801726ae41e1bb0ca79db2d2
I0921 19:49:02.380065       1 event.go:282] Event(v1.ObjectReference{Kind:"MachineConfigPool", Namespace:"", Name:"master", UID:"f2f3db79-3b07-448b-8816-3a63736b1b8f", APIVersion:"machineconfiguration.openshift.io/v1", ResourceVersion:"10656", FieldPath:""}): type: 'Normal' reason: 'AnnotationChange' Node qe-anuragcp2-zgc59-master-0.c.openshift-qe.internal now has machineconfiguration.openshift.io/state=Done
I0921 19:49:07.381734       1 status.go:90] Pool master: All nodes are updated with rendered-master-ccbdbdec801726ae41e1bb0ca79db2d2

Comment 1 Seth Jennings 2020-09-22 18:30:07 UTC
Can you provide the following

oc get clusteroperators machine-config -oyaml
oc get machineconfigpools -oyaml

Comment 6 Ryan Phillips 2020-11-11 18:30:29 UTC

*** This bug has been marked as a duplicate of bug 1887519 ***