Bug 2185190 - [4.12.z]Fix storagecluster watch request for OCSInitialization
Summary: [4.12.z]Fix storagecluster watch request for OCSInitialization
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.12.3
Assignee: Nitin Goyal
QA Contact: Amrita Mahapatra
URL:
Whiteboard:
Depends On: 2185188
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-07 11:43 UTC by Nitin Goyal
Modified: 2023-08-09 17:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 2185188
Environment:
Last Closed: 2023-05-23 09:17:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1999 0 None Merged Correct storage cluster request queuing in OCSInitialization 2023-04-07 11:52:55 UTC
Github red-hat-storage ocs-operator pull 2018 0 None open Bug 2185190:[release-4.12] Correct storage cluster request queuing in OCSInitialization 2023-04-20 07:06:59 UTC
Red Hat Product Errata RHSA-2023:3265 0 None None None 2023-05-23 09:18:05 UTC

Description Nitin Goyal 2023-04-07 11:43:22 UTC
+++ This bug was initially created as a clone of Bug #2185188 +++

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:52:00 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 15 errata-xmlrpc 2023-05-23 09:17:28 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 (Moderate: Red Hat OpenShift Data Foundation 4.12.3 Security 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/RHSA-2023:3265


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