Bug 2034904 - OCS operator version differ in CLI commands.
Summary: OCS operator version differ in CLI commands.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.10
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
: ODF 4.10.0
Assignee: umanga
QA Contact: Mugdha Soni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-22 13:04 UTC by Mugdha Soni
Modified: 2023-08-09 17:00 UTC (History)
10 users (show)

Fixed In Version: 4.10.0-147
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-13 18:50:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1471 0 None Merged Update to Rook v1.8.3 and CSV to 4.10.0 2022-02-07 16:44:20 UTC
Github red-hat-storage ocs-operator pull 1478 0 None Merged Bug 2049424: [release-4.10] Update to Rook v1.8.3 and CSV to 4.10.0 2022-02-08 12:01:07 UTC
Red Hat Product Errata RHSA-2022:1372 0 None None None 2022-04-13 18:53:23 UTC

Description Mugdha Soni 2021-12-22 13:04:14 UTC
Description of problem:
-------------------------------
While trying to check the status of storage cluster creation via CLI , it was observed that the versions of OCS operator was different for the commands mentioned below :-

** [root@localhost test]# oc get storagecluster -n openshift-storage
NAME                 AGE   PHASE   EXTERNAL   CREATED AT             VERSION
ocs-storagecluster   30m   Ready              2021-12-22T11:22:33Z   4.9.0


** [root@localhost test]# oc get csv -n openshift-storage
NAME                   DISPLAY                       VERSION   REPLACES   PHASE
mcg-operator.v4.10.0   NooBaa Operator               4.10.0               Succeeded
ocs-operator.v4.10.0   OpenShift Container Storage   4.10.0               Succeeded
odf-operator.v4.10.0   OpenShift Data Foundation     4.10.0               Succeeded


Version of all relevant components:
------------------------------------
OCP 4.10
ODF 4.10


Can this issue reproducible?
-----------------------------------
YES

Can this issue reproduce from the UI?
--------------------------------------
No, it is a CLI issue.

Steps to Reproduce:
--------------------
1. Deploy a OCP 4.10 and ODF 4.10 and create storage system .

2. Go to CLI and run following commands :-
   * oc get storagecluster -n openshift-storage
   * oc get csv -n openshift-storage

Actual results:
------------------
The OCS operator versions differ.

Expected results:
------------------
The OCS operator version should be same everywhere .

Comment 2 Mugdha Soni 2021-12-22 13:14:47 UTC
OCS Storage yaml is present here :- https://docs.google.com/document/d/1h9cUGgT7cIJOku6MWd-NSl_9nZymTdbqE-bh2xUk6qY/edit?usp=sharing

Thanks 
Mugdha

Comment 5 Mugdha Soni 2022-01-11 15:39:30 UTC
Hi 

Yes it was fresh deployment.

Thanks 
Mugdha

Comment 6 Jose A. Rivera 2022-02-07 16:44:20 UTC
This was already recently fixed in ocs-operator release-4.10: https://github.com/red-hat-storage/ocs-operator/commit/2f04820b772726b55f4eda3d72a6a4c7114c8e7f

Comment 7 Martin Bukatovic 2022-02-07 16:58:45 UTC
QE will check that storagecluster CR provides the correct version.

Comment 10 Mugdha Soni 2022-02-13 11:56:43 UTC
Hi 

Tested the fix with following versions:-
OCP :- 4.10.0-0.nightly-2022-02-11-123954
ODF :- 4.10.0-147

** Observations :-

The versions were same :-

[root@localhost l]# oc get csv odf-operator.v4.10.0 -o yaml -n openshift-storage| grep full_version
    full_version: 4.10.0-147
          f:full_version: {}
[root@localhost l]# oc get storagecluster -n openshift-storage
NAME                 AGE   PHASE   EXTERNAL   CREATED AT             VERSION
ocs-storagecluster   10m   Ready              2022-02-13T11:39:25Z   4.10.0
[root@localhost l]# oc get csv -n openshift-storage
NAME                              DISPLAY                       VERSION   REPLACES   PHASE
mcg-operator.v4.10.0              NooBaa Operator               4.10.0               Succeeded
ocs-operator.v4.10.0              OpenShift Container Storage   4.10.0               Succeeded
odf-csi-addons-operator.v4.10.0   CSI Addons                    4.10.0               Succeeded
odf-operator.v4.10.0              OpenShift Data Foundation     4.10.0               Succeeded


Moving this bug to verified state .

Thanks 
Mugdha Soni

Comment 15 errata-xmlrpc 2022-04-13 18:50:46 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.10.0 enhancement, security & 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-2022:1372

Comment 16 errata-xmlrpc 2022-04-13 18:53:13 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.10.0 enhancement, security & 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-2022:1372


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