Bug 2222022

Summary: [4.14]: Wrong version of ocs-storagecluster
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Vijay Avuthu <vavuthu>
Component: ocs-operatorAssignee: Nitin Goyal <nigoyal>
Status: CLOSED ERRATA QA Contact: Vijay Avuthu <vavuthu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.14CC: nigoyal, odf-bz-bot
Target Milestone: ---Keywords: Automation, Regression
Target Release: ODF 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 18:52:23 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 Vijay Avuthu 2023-07-11 14:42:45 UTC
Description of problem (please be detailed as possible and provide log
snippests):

version of ocs-storagecluster should match with odf installed version

Version of all relevant components (if applicable):

ocs-registry:4.14.0-60


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

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

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?
1/1

Can this issue reproduce from the UI?
Not tried

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

Steps to Reproduce:
1. install odf 4.14 using ocs-ci
2. check storage cluster version

Actual results:

    phase: Ready
    relatedObjects:
    - apiVersion: ceph.rook.io/v1
      kind: CephCluster
      name: ocs-storagecluster-cephcluster
      namespace: openshift-storage
      resourceVersion: "44086"
      uid: 6ef11ac3-4927-4891-b55f-fa5ce84f8bd9
    - apiVersion: noobaa.io/v1alpha1
      kind: NooBaa
      name: noobaa
      namespace: openshift-storage
      resourceVersion: "44502"
      uid: 84ea161a-5bcd-4c3f-bce9-2583e73e6022
    version: 4.13.0


Expected results:

version should be 4.14.0

Additional info:

job : https://url.corp.redhat.com/a8d1ca8
must gather: https://url.corp.redhat.com/87e5d2b

Note: this issue was fixed in 4.13 here: https://bugzilla.redhat.com/show_bug.cgi?id=1855339

Comment 3 Nitin Goyal 2023-07-31 13:53:39 UTC
Vijay, we did fix this a few build back, Can you pls check it again?

Comment 7 Vijay Avuthu 2023-08-18 05:44:30 UTC
verified with 4.14.0-110

$ oc get csv
NAME                                         DISPLAY                       VERSION             REPLACES   PHASE
mcg-operator.v4.14.0-110.stable              NooBaa Operator               4.14.0-110.stable              Succeeded
ocs-operator.v4.14.0-110.stable              OpenShift Container Storage   4.14.0-110.stable              Succeeded
odf-csi-addons-operator.v4.14.0-110.stable   CSI Addons                    4.14.0-110.stable              Succeeded
odf-operator.v4.14.0-110.stable              OpenShift Data Foundation     4.14.0-110.stable              Succeeded

 $ oc get storagecluster ocs-storagecluster -o yaml
apiVersion: ocs.openshift.io/v1
kind: StorageCluster
metadata:
  annotations:
    uninstall.ocs.openshift.io/cleanup-policy: delete
    uninstall.ocs.openshift.io/mode: graceful
  creationTimestamp: "2023-08-18T05:17:24Z"
  finalizers:
  - storagecluster.ocs.openshift.io
  generation: 3
  name: ocs-storagecluster
  namespace: openshift-storage
  ownerReferences:
  - apiVersion: odf.openshift.io/v1alpha1
    kind: StorageSystem
    name: ocs-storagecluster-storagesystem
    uid: 0bf59b14-fe93-4b60-bada-371a65bd2de7
  resourceVersion: "56339"
  uid: c3c1421d-bd84-4afc-93f2-e8cd6f6ee412

 phase: Ready
  relatedObjects:
  - apiVersion: ceph.rook.io/v1
    kind: CephCluster
    name: ocs-storagecluster-cephcluster
    namespace: openshift-storage
    resourceVersion: "56210"
    uid: 3548d6df-ccdb-4acc-8a7f-eda69d7e9160
  - apiVersion: noobaa.io/v1alpha1
    kind: NooBaa
    name: noobaa
    namespace: openshift-storage
    resourceVersion: "56329"
    uid: ce2aba76-7b04-47e1-b8f0-a093ce413b26
  version: 4.14.0


job: https://url.corp.redhat.com/0b06f3e
logs: https://url.corp.redhat.com/ac0ce60

Comment 11 errata-xmlrpc 2023-11-08 18:52:23 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.14.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-2023:6832