Bug 2131169 - [Backport to 4.10][GSS][Nooba] Fix Tolerations setting for NooBaa in standalone mode [NEEDINFO]
Summary: [Backport to 4.10][GSS][Nooba] Fix Tolerations setting for NooBaa in standalo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.10
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: ODF 4.10.9
Assignee: Utkarsh Srivastava
QA Contact: Shrivaibavi Raghaventhiran
URL:
Whiteboard:
Depends On: 2131168
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-30 07:01 UTC by Bipin Kunal
Modified: 2023-08-09 17:00 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 2131168
Environment:
Last Closed: 2022-12-12 20:06:27 UTC
Embargoed:
sheggodu: needinfo? (usrivast)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1827 0 None Merged add "noobaa-standalone" daemonplacement for MCG standalone deployment 2022-10-19 10:10:40 UTC
Github red-hat-storage ocs-operator pull 1838 0 None Merged Bug 2131169: [release-4.10] add "noobaa-standalone" daemonplacement for MCG standalone deployment 2022-10-20 08:19:06 UTC
Red Hat Product Errata RHBA-2022:8934 0 None None None 2022-12-12 20:06:39 UTC

Comment 3 Sunil Kumar Acharya 2022-10-19 06:05:34 UTC
Please backport and merge the fix to ODF-4.10 stream and update the RDT flag/text appropriately.

Comment 15 Shrivaibavi Raghaventhiran 2022-12-07 18:22:14 UTC
Tested versions:
-----------------
ODF - quay.io/rhceph-dev/ocs-registry:4.10.9-7
OCP - 4.10.0-0.nightly-2022-12-06-230458

Teststeps:
1. Deploy MCG standalone
2. Taint the nodes
oc adm taint nodes compute-0 compute-1 compute-2 xyz=true:NoSchedule
3. Apply tolerations in storage CR and 4 subscriptions 
4. Observe if pods are respining automatically and coming to running state 
5. For the pods which come to running state check the pods yaml to ensure it has tolerations
6. Respin all the pods to just check if the toleration exists

Observation:
-------------
1. Noobaa-default-backing-store pods not getting automatically respinned after updating the storage cluster and subs with the required toleration.

However force restart of pod works fine. AFter force restart noobaa-default-backing store pod comes up with the desired toleration

We already have a BZ for the above observation : https://bugzilla.redhat.com/show_bug.cgi?id=2149872

** Content added to storagecluster
spec:
  placement:
    noobaa-standalone:    
      tolerations:
      - effect: NoSchedule
        key: xyz
        operator: Equal
        value: "true"
      - effect: NoSchedule
        key: node.ocs.openshift.io/storage
        operator: Equal
        value: "true"

*** Content added to all 4 subs
  config:
    tolerations:
    - effect: NoSchedule
      key: xyz
      operator: Equal
      value: "true"


Moving the BZ to verified state

Comment 19 errata-xmlrpc 2022-12-12 20:06:27 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.10.9 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:8934


Note You need to log in before you can comment on or make changes to this bug.