Bug 2185188

Summary: Fix storagecluster watch request for OCSInitialization
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Nitin Goyal <nigoyal>
Component: ocs-operatorAssignee: Nitin Goyal <nigoyal>
Status: CLOSED ERRATA QA Contact: Aviad Polak <apolak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.13CC: kramdoss, ocs-bugs, odf-bz-bot
Target Milestone: ---   
Target Release: ODF 4.13.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2185190 2185191 (view as bug list) Environment:
Last Closed: 2023-06-21 15:25:03 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:    
Bug Blocks: 2182644, 2185190, 2185191    

Description Nitin Goyal 2023-04-07 11:31:13 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Fix the issue where OCSInitialization adds its own name to the storage cluster request queue when there is a change in it. Modify the code to enqueue the storage cluster name instead.


ocs-operator logs:
{"level":"info","ts":"2023-04-05T06:54:29Z","logger":"controllers.StorageCluster","msg":"No StorageCluster resource.","Request.Namespace":"openshift-storage","Request.Name":"ocsinit","StorageCluster":{"name":""}}

Comment 2 Nitin Goyal 2023-04-07 11:51:55 UTC
Verifications Steps:

We should not see a request for a storagecluster reconciliation named ocsinit as shown in the above logs of ocs-operator.

Comment 10 errata-xmlrpc 2023-06-21 15:25:03 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.13.0 enhancement and 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-2023:3742