Bug 2296521 - storagecluster CR is not updated with latest apis after storagesystem is marked as its owner
Summary: storagecluster CR is not updated with latest apis after storagesystem is mark...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-operator
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.16.3
Assignee: Nikhil Ladha
QA Contact: Shivam Durgbuns
URL:
Whiteboard:
Depends On:
Blocks: 2296522 2296533 2296535 2296536
TreeView+ depends on / blocked
 
Reported: 2024-07-09 10:08 UTC by Nikhil Ladha
Modified: 2024-10-15 08:53 UTC (History)
6 users (show)

Fixed In Version: 4.16.3-1
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2296522 2296533 2296535 2296536 (view as bug list)
Environment:
Last Closed: 2024-10-15 08:53:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-operator pull 424 0 None open Bug 2296521: [release-4.16] api: update ocs-operator pkg version 2024-09-25 07:35:35 UTC
Red Hat Issue Tracker OCSBZM-8631 0 None None None 2024-07-18 13:10:10 UTC
Red Hat Product Errata RHSA-2024:8113 0 None None None 2024-10-15 08:53:40 UTC

Description Nikhil Ladha 2024-07-09 10:08:51 UTC
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 5 Sunil Kumar Acharya 2024-09-25 05:29:10 UTC
Please backport the fix to ODF-4.16 and update the RDT flag/text appropriately

Comment 12 errata-xmlrpc 2024-10-15 08:53:18 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.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-2024:8113


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