Bug 1846354

Summary: Machine Config Daemon Daemon Set does not set universal Toleration (and therefore gets booted if taints are set on a node)
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Machine Config OperatorAssignee: Antonio Murdaca <amurdaca>
Status: CLOSED ERRATA QA Contact: Jonathan Lebon <jlebon>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.zCC: amurdaca, andcosta, clasohm, cmarches, cshulman, enorling, jlebon, jmalde, jnaess, kgarriso, ktadimar, lbac, mharri, mvardhan, nstephan, obockows, palonsor, pamoedom, rahmed, rdomnu, rekhan, scott.worthington, smilner, sreber, susuresh, vfarias
Target Milestone: ---   
Target Release: 4.5.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-07-13 17:43:59 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: 1780318    
Bug Blocks: 1846357    

Comment 5 Jonathan Lebon 2020-06-18 18:02:13 UTC
Tested on latest 4.5.0-0.ci release:

```
$ oc get ds --namespace openshift-machine-config-operator machine-config-daemon -o=jsonpath='{.spec.template.spec.tolerations}'
[map[operator:Exists]]

$ oc adm taint node ip-10-0-170-96.us-west-2.compute.internal infra=reserved:NoExecute
node/ip-10-0-170-96.us-west-2.compute.internal tainted

$ oc get pods --namespace openshift-machine-config-operator --field-selector spec.nodeName=ip-10-0-170-96.us-west-2.compute.internal
NAME                          READY   STATUS    RESTARTS   AGE
machine-config-daemon-mxmcx   2/2     Running   0          85m
```

Comment 6 errata-xmlrpc 2020-07-13 17:43:59 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, 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-2020:2409