Bug 1881359

Summary: [4.5] csi-snapshot-controller-operator does not run on masters
Product: OpenShift Container Platform Reporter: Raif Ahmed <rahmed>
Component: StorageAssignee: Jan Safranek <jsafrane>
Storage sub component: Operators QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, jsafrane
Version: 4.5   
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-12 15:48:00 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:
Bug Depends On: 1871955    
Bug Blocks:    

Description Raif Ahmed 2020-09-22 09:11:31 UTC
Description of problem:

The operator doesn't have a master toleration, so it cannot be scheduled on masters.

if users have tainted all the worker nodes then the operator is failing to be scheduled.

Other CO like monitoring operator have master toleration https://github.com/openshift/cluster-monitoring-operator/blob/b586835ac9669bed4cc030f66e3be31f6e6b3dd7/assets/prometheus-operator/deployment.yaml#L85-L88

Comment 1 Jan Safranek 2020-09-22 09:22:35 UTC
This is 4.5 clone of https://bugzilla.redhat.com/show_bug.cgi?id=1871955

Comment 3 Wei Duan 2020-09-27 07:57:56 UTC
Verified pass on 4.5.0-0.nightly-2020-09-26-194704.

With the fix of nodeSelector and tolerations, now the related pods are deployed on master.

Comment 6 errata-xmlrpc 2020-10-12 15:48:00 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 (OpenShift Container Platform 4.5.14 bug fix update), 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:3843