Bug 1950225 - Under StorageCluster.Status , desired image of noobaaCore is pointing rhceph image
Summary: Under StorageCluster.Status , desired image of noobaaCore is pointing rhceph...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: OCS 4.8.0
Assignee: Jose A. Rivera
QA Contact: Persona non grata
URL:
Whiteboard:
Depends On:
Blocks: 1953912
TreeView+ depends on / blocked
 
Reported: 2021-04-16 06:34 UTC by Persona non grata
Modified: 2021-08-03 18:16 UTC (History)
5 users (show)

Fixed In Version: 4.8.0-402.ci
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1953912 (view as bug list)
Environment:
Last Closed: 2021-08-03 18:15:57 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocs-operator pull 1167 0 None open fix noobaa core desired image 2021-04-23 14:20:05 UTC
Github openshift ocs-operator pull 1168 0 None open Bug 1950225: [release-4.8] fix noobaa core desired image 2021-04-26 13:26:12 UTC
Red Hat Product Errata RHBA-2021:3003 0 None None None 2021-08-03 18:16:21 UTC

Description Persona non grata 2021-04-16 06:34:56 UTC
Description of problem (please be detailed as possible and provide log
snippests):


Version of all relevant components (if applicable):


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


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?


Can this issue reproduce from the UI?


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


Steps to Reproduce:
1.
2.
3.


Actual results:


Expected results:


Additional info:

Comment 2 Persona non grata 2021-04-16 06:40:04 UTC
Description of problem (please be detailed as possible and provide log
snippests):

 Under StorageCluster.Status , desired image of noobaaCore is pointing rhceph image, desired image is not matching with the actual image 

output of :
# oc get storagecluster -o yaml
apiVersion: v1
items:
- apiVersion: ocs.openshift.io/v1
  kind: StorageCluster
  metadata:
<...>
    name: ocs-storagecluster
    namespace: openshift-storage
    resourceVersion: "102319"
    selfLink: /apis/ocs.openshift.io/v1/namespaces/openshift-storage/storageclusters/ocs-storagecluster
    uid: 42dc57d7-cedf-4d1f-a524-62730ccc025b
  spec:
<...>
  status:
    conditions:
<...>
    images:
      ceph:
        actualImage: quay.io/rhceph-dev/rhceph@sha256:4bd7cc7ab108c7519be318ba7c892d7c262efcab36b15527dd2f2a6eb168fc77
        desiredImage: quay.io/rhceph-dev/rhceph@sha256:4bd7cc7ab108c7519be318ba7c892d7c262efcab36b15527dd2f2a6eb168fc77
      noobaaCore:
        actualImage: quay.io/rhceph-dev/mcg-core@sha256:54d2ea9d4e18f6c4bb1a11dfec741d1adb62c34d98ca4c488f9b06c070a794d3
        desiredImage: quay.io/rhceph-dev/rhceph@sha256:4bd7cc7ab108c7519be318ba7c892d7c262efcab36b15527dd2f2a6eb168fc77
      noobaaDB:
        actualImage: registry.redhat.io/rhel8/postgresql-12@sha256:ed859e2054840467e9a0ffc310ddf74ff64a8743c236598ca41c7557d8cdc767
        desiredImage: registry.redhat.io/rhel8/postgresql-12@sha256:ed859e2054840467e9a0ffc310ddf74ff64a8743c236598ca41c7557d8cdc767
    nodeTopologies:
      labels:
        failure-domain.beta.kubernetes.io/region:
        - us-east-2
        failure-domain.beta.kubernetes.io/zone:
        - us-east-2a
        - us-east-2b
        - us-east-2c
        kubernetes.io/hostname:
        - ip-10-0-218-98
        - ip-10-0-138-82
        - ip-10-0-186-126
    phase: Ready
<...>   

Refer https://bugzilla.redhat.com/show_bug.cgi?id=1830215#c37 for info

Version of all relevant components (if applicable):

OCS 4.7.0-324.ci

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


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

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

Can this issue reproduce from the UI?


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


Steps to Reproduce:
1. Refer https://bugzilla.redhat.com/show_bug.cgi?id=1830215#c28
2.
3.


Actual results:
noobaaCore's actual and desired images are different

Expected results:
noobaaCore's actual and desired images should match

Additional info:

Comment 3 Jose A. Rivera 2021-04-23 14:20:06 UTC
Valid bug! Fix is upstream: https://github.com/openshift/ocs-operator/pull/1167

Comment 4 Mudit Agarwal 2021-04-26 06:19:02 UTC
Not a blocker, if someone need to check this they can inspect the Pod spec directly.

Already fixed in 4.8, if required can be taken in 4.7.z

Comment 9 Persona non grata 2021-05-26 12:48:10 UTC
Tested on ocs-operator.v4.8.0-402.ci

$ oc  describe storagecluster ocs-storagecluster
Images:
    Ceph:
      Actual Image:   quay.io/rhceph-dev/rhceph@sha256:d2e99edf733960244256ad82e761acffe9f09e76749bb769469b4b929b25c509
      Desired Image:  quay.io/rhceph-dev/rhceph@sha256:d2e99edf733960244256ad82e761acffe9f09e76749bb769469b4b929b25c509
    Noobaa Core:
      Actual Image:   quay.io/rhceph-dev/mcg-core@sha256:4a3795aa03eb8609fc5e1d3e2e75f841c665e53d9dd4e60b4279a7edd103fb46
      Desired Image:  quay.io/rhceph-dev/mcg-core@sha256:4a3795aa03eb8609fc5e1d3e2e75f841c665e53d9dd4e60b4279a7edd103fb46
    Noobaa DB:
      Actual Image:   registry.redhat.io/rhel8/postgresql-12@sha256:03a1e02a1b3245f9aa0ddd3f7507b915a8f7387a1674969f6ef039a5d7fd8bf0
      Desired Image:  registry.redhat.io/rhel8/postgresql-12@sha256:03a1e02a1b3245f9aa0ddd3f7507b915a8f7387a1674969f6ef039a5d7fd8bf0

Moving to Verified

Comment 12 errata-xmlrpc 2021-08-03 18:15:57 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 Container Storage 4.8.0 container images bug fix and enhancement 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-2021:3003


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