Bug 2182703 - [RDR] After upgrading from 4.12.2 to 4.13.0 version.odf.openshift.io cr is not getting updated with latest ODF version
Summary: [RDR] After upgrading from 4.12.2 to 4.13.0 version.odf.openshift.io cr is no...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.13.0
Assignee: Malay Kumar parida
QA Contact: Shivam Durgbuns
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-29 12:18 UTC by Pratik Surve
Modified: 2023-08-09 17:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-21 15:25:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1988 0 None open Reconcile the clusterClaim spec values to keep the values in sync 2023-04-04 05:06:51 UTC
Github red-hat-storage ocs-operator pull 1992 0 None open Bug 2182703: [release-4.13] Reconcile the clusterClaim spec values to keep the values in sync 2023-04-05 05:49:36 UTC
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:25:29 UTC

Description Pratik Surve 2023-03-29 12:18:17 UTC
Description of problem (please be detailed as possible and provide log
snippests):

[RDR] After upgrading from 4.12.2 to 4.13.0 version.odf.openshift.io cr is not getting updated with latest ODF version


Version of all relevant components (if applicable):

OCP version:- 4.13.0-0.nightly-2023-03-28-014156
ODF version:- 4.13.0-102
CEPH version:- ceph version 17.2.5-1338.el9cp (5adce3015143c7c2cc135a71368be194744f5761) quincy (stable)
ACM version:- v2.7.2


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

Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?
yes always

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.Deploy cluster with 4.12.2
2. Upgrade to 4.13.0
3. check the content of version.odf.openshift.io


Actual results:
####Before upgrade

oc get clusterclaims.cluster.open-cluster-management.io version.odf.openshift.io -o yaml
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: ClusterClaim
metadata:
  creationTimestamp: "2023-03-29T12:02:56Z"
  generation: 1
  name: version.odf.openshift.io
  resourceVersion: "209079"
  uid: 94b4b4d9-1664-4ee6-a854-974885f0ae32
spec:
  value: 4.12.2-rhodf


$ oc get csv --show-labels 
NAME                                    DISPLAY                       VERSION        REPLACES                          PHASE       LABELS
mcg-operator.v4.12.2-rhodf              NooBaa Operator               4.12.2-rhodf   mcg-operator.v4.12.1              Succeeded   operators.coreos.com/mcg-operator.openshift-storage=
ocs-operator.v4.12.2-rhodf              OpenShift Container Storage   4.12.2-rhodf   ocs-operator.v4.12.1              Succeeded   full_version=4.12.2-2,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/ocs-operator.openshift-storage=
odf-csi-addons-operator.v4.12.2-rhodf   CSI Addons                    4.12.2-rhodf   odf-csi-addons-operator.v4.12.1   Succeeded   operators.coreos.com/odf-csi-addons-operator.openshift-storage=
odf-operator.v4.12.2-rhodf              OpenShift Data Foundation     4.12.2-rhodf   odf-operator.v4.12.1              Succeeded   full_version=4.12.2-2,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/odf-operator.openshift-storage=



###After uograde

$ oc get clusterclaims.cluster.open-cluster-management.io version.odf.openshift.io -o yaml
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: ClusterClaim
metadata:
  creationTimestamp: "2023-03-29T12:02:56Z"
  generation: 1
  name: version.odf.openshift.io
  resourceVersion: "209079"
  uid: 94b4b4d9-1664-4ee6-a854-974885f0ae32
spec:
  value: 4.12.2-rhodf


$ oc get csv --show-labels                                                                
NAME                                         DISPLAY                       VERSION             REPLACES                                PHASE       LABELS
mcg-operator.v4.13.0-102.stable              NooBaa Operator               4.13.0-102.stable   mcg-operator.v4.12.2-rhodf              Succeeded   operators.coreos.com/mcg-operator.openshift-storage=
ocs-operator.v4.13.0-102.stable              OpenShift Container Storage   4.13.0-102.stable   ocs-operator.v4.12.2-rhodf              Succeeded   full_version=4.13.0-102,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/ocs-operator.openshift-storage=
odf-csi-addons-operator.v4.13.0-102.stable   CSI Addons                    4.13.0-102.stable   odf-csi-addons-operator.v4.12.2-rhodf   Succeeded   operators.coreos.com/odf-csi-addons-operator.openshift-storage=
odf-operator.v4.13.0-102.stable              OpenShift Data Foundation     4.13.0-102.stable   odf-operator.v4.12.2-rhodf              Succeeded   full_version=4.13.0-102,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/odf-operator.openshift-storage=



Expected results:
ODF version should be updated post upgrade 


Additional info:

Comment 2 Malay Kumar parida 2023-03-31 08:53:53 UTC
Somewhat relevant discussion is going on here https://chat.google.com/room/AAAAREGEba8/Lk0La-8uSzE

Comment 8 Shivam Durgbuns 2023-06-05 17:29:33 UTC
Verified! able to see the updated versions
hub: https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/25165/
cluster1: https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/25166/
cluster2: https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/25228/

Before Uprade
--------------

[sdurgbun auth]$ oc get clusterclaims.cluster.open-cluster-management.io version.odf.openshift.io -o yaml
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: ClusterClaim
metadata:
  creationTimestamp: "2023-06-05T15:15:22Z"
  generation: 1
  name: version.odf.openshift.io
  resourceVersion: "2252181"
  uid: 8484123b-3f5a-46c3-8988-d115f2ab085a
spec:
  value: 4.12.3-rhodf
[sdurgbun auth]$ 
[sdurgbun auth]$ oc get csv --show-labels --namespace openshift-storage
NAME                                    DISPLAY                       VERSION        REPLACES                                PHASE       LABELS
mcg-operator.v4.12.3-rhodf              NooBaa Operator               4.12.3-rhodf   mcg-operator.v4.12.2-rhodf              Succeeded   operators.coreos.com/mcg-operator.openshift-storage=
ocs-operator.v4.12.3-rhodf              OpenShift Container Storage   4.12.3-rhodf   ocs-operator.v4.12.2-rhodf              Succeeded   full_version=4.12.3-17,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/ocs-operator.openshift-storage=
odf-csi-addons-operator.v4.12.3-rhodf   CSI Addons                    4.12.3-rhodf   odf-csi-addons-operator.v4.12.2-rhodf   Succeeded   operators.coreos.com/odf-csi-addons-operator.openshift-storage=
odf-operator.v4.12.3-rhodf              OpenShift Data Foundation     4.12.3-rhodf   odf-operator.v4.12.2-rhodf              Succeeded   full_version=4.12.3-17,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/odf-operator.openshift-storage=
[sdurgbun auth]$ 

After Upgrade
---------------
[sdurgbun auth]$ oc get clusterclaims.cluster.open-cluster-management.io version.odf.openshift.io -o yaml
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: ClusterClaim
metadata:
  creationTimestamp: "2023-06-05T15:15:22Z"
  generation: 2
  name: version.odf.openshift.io
  resourceVersion: "2266678"
  uid: 8484123b-3f5a-46c3-8988-d115f2ab085a
spec:
  value: 4.13.0-207.stable
[sdurgbun auth]$ oc get csv --show-labels --namespace openshift-storage
NAME                                         DISPLAY                         VERSION             REPLACES                                PHASE       LABELS
mcg-operator.v4.13.0-207.stable              NooBaa Operator                 4.13.0-207.stable   mcg-operator.v4.12.3-rhodf              Succeeded   operators.coreos.com/mcg-operator.openshift-storage=
ocs-operator.v4.13.0-207.stable              OpenShift Container Storage     4.13.0-207.stable   ocs-operator.v4.12.3-rhodf              Succeeded   full_version=4.13.0-207,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/ocs-operator.openshift-storage=
odf-csi-addons-operator.v4.13.0-207.stable   CSI Addons                      4.13.0-207.stable   odf-csi-addons-operator.v4.12.3-rhodf   Succeeded   operators.coreos.com/odf-csi-addons-operator.openshift-storage=
odf-operator.v4.13.0-207.stable              OpenShift Data Foundation       4.13.0-207.stable   odf-operator.v4.12.3-rhodf              Succeeded   full_version=4.13.0-207,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operators.coreos.com/odf-operator.openshift-storage=
odr-cluster-operator.v4.12.3-rhodf           Openshift DR Cluster Operator   4.12.3-rhodf        odr-cluster-operator.v4.12.2-rhodf      Succeeded   olm.copiedFrom=openshift-dr-system
volsync-product.v0.6.2                       VolSync                         0.6.2               volsync-product.v0.6.1                  Succeeded   olm.copiedFrom=openshift-operators,operatorframework.io/arch.amd64=supported,operatorframework.io/arch.arm64=supported,operatorframework.io/arch.ppc64le=supported,operatorframework.io/arch.s390x=supported,operatorframework.io/os.linux=supported
[sdurgbun auth]$

Comment 10 errata-xmlrpc 2023-06-21 15:25:01 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


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