Bug 2296522 - [4.15.z clone] storagecluster CR is not updated with latest apis after storagesystem is marked as its owner [NEEDINFO]
Summary: [4.15.z clone] storagecluster CR is not updated with latest apis after storag...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-operator
Version: 4.15
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.15.8
Assignee: Nikhil Ladha
QA Contact: Shivam Durgbuns
URL:
Whiteboard:
Depends On: 2296533 2296535 2296536 2296521
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-09 10:14 UTC by Nikhil Ladha
Modified: 2024-10-22 05:11 UTC (History)
6 users (show)

Fixed In Version: 4.15.8-1
Doc Type: No Doc Update
Doc Text:
Clone Of: 2296521
Environment:
Last Closed:
Embargoed:
nladha: needinfo? (ebenahar)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-operator pull 423 0 None open Bug 2296522: [release-4.15] api: update ocs-operator pkg version 2024-10-07 05:32:38 UTC
Red Hat Issue Tracker OCSBZM-8632 0 None None None 2024-07-24 05:52:27 UTC

Description Nikhil Ladha 2024-07-09 10:14:51 UTC
+++ This bug was initially created as a clone of Bug #2296521 +++

Description of problem (please be detailed as possible and provide log
snippests):
When we create storagecluster the odf-operator creates storagesystem that is added as the ownerref for storagecluster and when that update is done it uses the spec of storagecluster present in odf-operator codebase (vendor directory) to update it, and that's the reason the latest apis under ocs-operator is removed.


Version of all relevant components (if applicable):
4.16


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


Is there any workaround available to the best of your knowledge?
Update the storagecluster CR, after the ownerref is added to it.


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?
No


If this is a regression, please provide more details to justify this:
New ODF Deployments with custom values for upgrade reliability params will be overridden.

Steps to Reproduce:
1. Deploy ODF Cluster
2. Create a storagecluster from the CLI and provide custom values for cephConfig.
3. The custom values will be removed as soon as the ownerref of the storagecluster is updated.


Actual results:
The CR is overridden with default values and older storagecluster API.


Expected results:
The CR shouldn't be overridden with default values and use the latest storagecluster API.

Additional info:
Reference bug: https://bugzilla.redhat.com/show_bug.cgi?id=2276694#c27

Comment 1 Nikhil Ladha 2024-07-24 05:51:21 UTC
Hi Elad

Can we please get QA ack for this bz?

Thanks


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