Bug 2273336

Summary: ocs-metrics-exporter pod doesnot contain 'node.ocs.openshift.io/storage' toleration
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Joy John Pinto <jopinto>
Component: ocs-operatorAssignee: Mudit Agarwal <muagarwa>
Status: CLOSED ERRATA QA Contact: Joy John Pinto <jopinto>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.15CC: ebenahar, muagarwa, nigoyal, odf-bz-bot, tdesala
Target Milestone: ---Keywords: Automation
Target Release: ODF 4.16.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.16.0-71 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 13:17:58 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 Joy John Pinto 2024-04-04 09:00:59 UTC
Description of problem (please be detailed as possible and provide log
snippests):
ocs-metrics-exporter pod doesnot contain 'node.ocs.openshift.io/storage' toleration 

Version of all relevant components (if applicable):
4.15.1-1


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
NA

Is there any workaround available to the best of your knowledge?
The 'node.ocs.openshift.io/storage' toleration can be applied manually

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
NA


If this is a regression, please provide more details to justify this:
Regression, The toleration is available in 4.14.5

Steps to Reproduce:
1.Install ODF 4.15.1 cluster 
2. Check for 'node.ocs.openshift.io/storage' toleration on ocs-metrics-exporter pod
3.


Actual results:
'node.ocs.openshift.io/storage' toleration is not availabe

Expected results:
'node.ocs.openshift.io/storage' toleration should be available

Additional info:

Comment 6 Joy John Pinto 2024-04-10 06:45:07 UTC
Verified with OCP 4.16 and ODF 4.16.0-72

ocs-etrics-exporter pod has 'node.ocs.openshift.io/storage'  taint available by default.

ocs-metrics-exporter pod.yaml
  tolerations:
    - key: node.ocs.openshift.io/storage
      operator: Equal
      value: 'true'
      effect: NoSchedule
    - key: node.kubernetes.io/not-ready
      operator: Exists
      effect: NoExecute
      tolerationSeconds: 300
    - key: node.kubernetes.io/unreachable
      operator: Exists
      effect: NoExecute
      tolerationSeconds: 300

Comment 8 errata-xmlrpc 2024-07-17 13:17:58 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 (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & 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/RHSA-2024:4591