Bug 2047632 - mcg-operator failed to install on 4.10.0-126
Summary: mcg-operator failed to install on 4.10.0-126
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: Multi-Cloud Object Gateway
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ODF 4.10.0
Assignee: Nimrod Becker
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-28 07:36 UTC by Vijay Avuthu
Modified: 2023-08-09 16:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-13 18:52:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:1372 0 None None None 2022-04-13 18:52:29 UTC

Description Vijay Avuthu 2022-01-28 07:36:51 UTC
Description of problem (please be detailed as possible and provide log
snippests):

mcg-operator mcg-operator failed to install on 4.10.0-126

Version of all relevant components (if applicable):

openshift installer (4.10.0-0.nightly-2022-01-27-221656).
ocs-registry:4.10.0-126

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?
No

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

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 using ocs-ci
2. verify all operator
3.


Actual results:

2022-01-28 13:04:50  07:34:50 - MainThread - ocs_ci.ocs.ocp - WARNING - Failed to get resource: mcg-operator.v4.10.0 of kind: csv, selector: None, Error: Error during execution of command: oc -n openshift-storage get csv mcg-operator.v4.10.0 -n openshift-storage -o yaml.
2022-01-28 13:04:50  Error is Error from server (NotFound): clusterserviceversions.operators.coreos.com "mcg-operator.v4.10.0" not found
2022-01-28 13:04:50  

Expected results:

mcg-operator should be in succeed state

Additional info:

$ oc get csv
NAME                   DISPLAY                       VERSION   REPLACES   PHASE
ocs-operator.v4.10.0   OpenShift Container Storage   4.10.0               Installing
odf-operator.v4.10.0   OpenShift Data Foundation     4.10.0               Succeeded


$ oc describe csv ocs-operator.v4.10.0

Events:
  Type     Reason               Age                From                        Message
  ----     ------               ----               ----                        -------
  Normal   RequirementsUnknown  16m                operator-lifecycle-manager  requirements not yet checked
  Normal   RequirementsNotMet   16m (x2 over 16m)  operator-lifecycle-manager  one or more requirements couldn't be found
  Normal   AllRequirementsMet   15m (x2 over 16m)  operator-lifecycle-manager  all requirements found, attempting install
  Normal   InstallSucceeded     15m (x4 over 16m)  operator-lifecycle-manager  waiting for install components to report healthy
  Normal   InstallWaiting       15m (x4 over 16m)  operator-lifecycle-manager  installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability.
  Warning  ComponentUnhealthy   14m (x4 over 15m)  operator-lifecycle-manager  installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability.
  Normal   NeedsReinstall       14m (x4 over 15m)  operator-lifecycle-manager  installing: waiting for deployment ocs-operator to become ready: deployment "ocs-operator" not available: Deployment does not have minimum availability.
  Normal   InstallSucceeded     11m (x7 over 15m)  operator-lifecycle-manager  install strategy completed with no errors
  Warning  InstallCheckFailed   2m33s              operator-lifecycle-manager  install timeout



$ oc get pods
NAME                                               READY   STATUS             RESTARTS        AGE
ocs-metrics-exporter-779cfd568f-d9jkc              1/1     Running            0               16m
ocs-operator-6f56695b48-hh5wj                      0/1     CrashLoopBackOff   7 (2m24s ago)   16m
odf-console-779757b4cc-24d98                       1/1     Running            0               16m
odf-operator-controller-manager-7656b7c7fc-qk8cc   2/2     Running            0               16m
rook-ceph-operator-75ccf66b69-ftf9n                0/1     CrashLoopBackOff   5 (67s ago)     16m


$ oc describe sub ocs-operator-stable-4.10-redhat-operators-openshift-marketplace

Conditions:
    Last Transition Time:  2022-01-28T07:11:11Z
    Message:               all available catalogsources are healthy
    Reason:                AllCatalogSourcesHealthy
    Status:                False
    Type:                  CatalogSourcesUnhealthy
    Message:               constraints not satisfiable: bundle community-operators/openshift-marketplace/alpha/lib-bucket-provisioner.v1.0.0 is deprecated, bundle mcg-operator.v4.10.0 requires an operator providing an API with group: objectbucket.io, version: v1alpha1, kind: ObjectBucket, subscription mcg-operator requires redhat-operators/openshift-marketplace/stable-4.10/mcg-operator.v4.10.0, subscription mcg-operator exists, redhat-operators/openshift-marketplace/stable-4.10/ocs-operator.v4.10.0, redhat-operators/openshift-marketplace/stable-4.9/ocs-operator.v4.9.0, @existing/openshift-storage//ocs-operator.v4.10.0 and redhat-operators/openshift-marketplace/stable-4.9/ocs-operator.v4.9.1 provide StorageCluster (ocs.openshift.io/v1), subscription ocs-operator-stable-4.10-redhat-operators-openshift-marketplace requires @existing/openshift-storage//ocs-operator.v4.10.0, subscription ocs-operator-stable-4.10-redhat-operators-openshift-marketplace exists
    Reason:                ConstraintsNotSatisfiable
    Status:                True
    Type:                  ResolutionFailed
  Current CSV:             ocs-operator.v4.10.0


$ oc describe sub mcg-operator
Name:         mcg-operator
Namespace:    openshift-storage
Labels:       operators.coreos.com/mcg-operator.openshift-storage=
Annotations:  <none>
API Version:  operators.coreos.com/v1alpha1
Kind:         Subscription


  Conditions:
    Last Transition Time:  2022-01-28T07:11:35Z
    Message:               all available catalogsources are healthy
    Reason:                AllCatalogSourcesHealthy
    Status:                False
    Type:                  CatalogSourcesUnhealthy
    Message:               constraints not satisfiable: redhat-operators/openshift-marketplace/stable-4.9/ocs-operator.v4.9.1, redhat-operators/openshift-marketplace/stable-4.10/ocs-operator.v4.10.0, @existing/openshift-storage//ocs-operator.v4.10.0 and redhat-operators/openshift-marketplace/stable-4.9/ocs-operator.v4.9.0 provide CephObjectRealm (ceph.rook.io/v1), subscription ocs-operator-stable-4.10-redhat-operators-openshift-marketplace exists, subscription ocs-operator-stable-4.10-redhat-operators-openshift-marketplace requires @existing/openshift-storage//ocs-operator.v4.10.0, bundle mcg-operator.v4.10.0 requires an operator providing an API with group: objectbucket.io, version: v1alpha1, kind: ObjectBucket, bundle community-operators/openshift-marketplace/alpha/lib-bucket-provisioner.v1.0.0 is deprecated, subscription mcg-operator requires redhat-operators/openshift-marketplace/stable-4.10/mcg-operator.v4.10.0, subscription mcg-operator exists
    Reason:                ConstraintsNotSatisfiable
    Status:                True
    Type:                  ResolutionFailed
  Last Updated:            2022-01-28T07:30:05Z
Events:     

Job: https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/9460/consoleFull

Cluster is live for debugging

Comment 4 Mudit Agarwal 2022-02-02 17:45:46 UTC
Vijay, please try with the latest 4.10 build. I think this should be fixed by now.

Comment 5 Vijay Avuthu 2022-02-08 06:11:42 UTC
installation with latest build ( ocs-registry:4.10.0-146 ) was successfull 

https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/9774/console

Comment 8 Vijay Avuthu 2022-02-08 06:40:26 UTC
Moving to Verified based on comment #5

Comment 13 errata-xmlrpc 2022-04-13 18:52:21 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.