Bug 2292114

Summary: [Provider mode] Upgrade to 4.16 failed when storageconsumer is present
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Jilju Joy <jijoy>
Component: ocs-client-operatorAssignee: Rohan Gupta <rohgupta>
Status: CLOSED ERRATA QA Contact: Jilju Joy <jijoy>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.16CC: muagarwa, odf-bz-bot, omitrani, resoni, rohgupta
Target Milestone: ---   
Target Release: ODF 4.16.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: isf-provider
Fixed In Version: 4.16.0-131 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-17 13:24:52 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 Jilju Joy 2024-06-13 04:29:55 UTC
Description of problem:

Upgrading provider cluster from 4.15 to 4.16 is failing when storageconsumers are present in the provider cluster(this is a normal case).

message: 'error validating existing CRs against new CRD''s schema for "storageconsumers.ocs.openshift.io": error validating ocs.openshift.io/v1alpha1, Kind=StorageConsumer "openshift-storage/storageconsumer-53d25bbe-7996-4463-9cb7-a54cbb452648": updated validation is too restrictive: [[].status.client.clusterId: Required value, [].status.client.clusterName: Required value, [].status.client.name: Required value]'



Version-Release number of selected component (if applicable):
ODF 4.16
OCP 4.16

How reproducible:
Reporting the first occurance

Steps to Reproduce:
1. Create provider mode cluster and connect clients so that storageconsumers are created on provider cluster. ODF version should be 4.15.
2. Upgrade provider cluster to ODF 4.16


Actual results:
Upgrade failed

Expected results:
Upgrade should complete.

Additional info:

Comment 7 Sunil Kumar Acharya 2024-06-25 12:09:21 UTC
Please update the RDT flag/text appropriately.

Comment 10 errata-xmlrpc 2024-07-17 13:24:52 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