Bug 2125147

Summary: [Backport to 4.11] [GSS]toleration for "non-ocs" taints OpenShift Data Foundation pods
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Bipin Kunal <bkunal>
Component: odf-operatorAssignee: Nitin Goyal <nigoyal>
Status: CLOSED ERRATA QA Contact: Shrivaibavi Raghaventhiran <sraghave>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.10CC: agantony, bkunal, jarrpa, khover, kramdoss, madam, mbukatov, mhackett, mrajanna, muagarwa, nbecker, ndevos, nigoyal, ocs-bugs, odf-bz-bot, rar, r.martinez, sheggodu, sostapov, sraghave, tdesala, tnielsen, uchapaga, usrivast
Target Milestone: ---Keywords: Regression
Target Release: ODF 4.11.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Previously, in OpenShift Data Foundation 4.10 and 4.11 versions, the `odf-operator` removed the taints (non-ocs) in the subscriptions that were changed or edited. This prevented the scheduling of the pods. With this update, the `odf-operator` does not remove the taints from the subscriptions.
Story Points: ---
Clone Of: 2122980
: 2125150 (view as bug list) Environment:
Last Closed: 2022-10-11 15:06:12 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: 2122980    
Bug Blocks: 2125150    

Comment 12 Shrivaibavi Raghaventhiran 2022-10-06 12:56:22 UTC
Version:
-----------
ODF - quay.io/rhceph-dev/ocs-registry:4.11.2-5
OCP - 4.11.0-0.nightly-2022-10-05-233212

Test steps:
------------
1. Have 3M 3W setup and taint 3W nodes with taint "xyz"
oc adm taint nodes node1 xyz=true:NoSchedule
2. Add tolerations under placements in storagecluster.yaml
3. Add tolerations for all subscriptions in openshift-storage
4. Add tolerations in configmap rook-ceph-operator-config
5. Add tolerations in ocsinitializations.ocs.openshift.io
6. Waited for all pods to respin
7. Added capacity to check if new osds comes up on non-odf tainted nodes

Observations:
--------------
Toolbox pod did not accept the tolerations set, due to bug https://bugzilla.redhat.com/show_bug.cgi?id=2131220

Rest all pods/nodes are up and running

Hence moving the bug to VERIFIED state.

Comment 17 errata-xmlrpc 2022-10-11 15:06:12 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 (Red Hat OpenShift Data Foundation 4.11.2 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-2022:6888