Bug 1862852 - Failed to install the released OCS 4.4.1 on the OCP 4.6
Summary: Failed to install the released OCS 4.4.1 on the OCP 4.6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Jose A. Rivera
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks: 1861690
TreeView+ depends on / blocked
 
Reported: 2020-08-03 03:40 UTC by Jian Zhang
Modified: 2020-08-03 17:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-03 17:07:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Jian Zhang 2020-08-03 03:40:02 UTC
Description of problem (please be detailed as possible and provide log
snippests):

I0803 03:27:10.860606       1 event.go:278] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"openshift-storage", UID:"11eb7848-bcf1-4cff-8298-9abeb2896c47", APIVersion:"v1", ResourceVersion:"34214", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: ocs-operator is mandatory, ocs-operator requires at least one of redhat-operators/openshift-marketplace/stable-4.4/ocs-operator.v4.4.1, redhat-operators/openshift-marketplace/stable-4.4/ocs-operator.v4.4.1 requires at least one of redhat-operators/openshift-marketplace/stable-4.2/ocs-operator.v4.2.3, gvkunique/ceph.rook.io/v1/CephFilesystem permits at most 1 of redhat-operators/openshift-marketplace/stable-4.2/ocs-operator.v4.2.3, redhat-operators/openshift-marketplace/stable-4.4/ocs-operator.v4.4.1


Version of all relevant components (if applicable):
OCP Cluster version is 4.6.0-0.nightly-2020-08-02-091622

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

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

Can this issue reproduce from the UI?
yes

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

Steps to Reproduce:
1. Install OCP 4.6.
2. Subscribe the OCS operator 4.4.1 on the Web console. Got the below errors:

E0803 02:34:50.343893       1 queueinformer_operator.go:290] sync "openshift-storage" failed: [found duplicate entries for ocs-operator.v4.4.1 in {community-operators openshift-marketplace}, found duplicate entries for ocs-operator.v4.2.3 in {community-operators openshift-marketplace}]
I0803 02:34:50.344014       1 event.go:278] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"openshift-storage", UID:"90e24d18-c76a-43af-b27d-70f9218fe171", APIVersion:"v1", ResourceVersion:"75129", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' [found duplicate entries for ocs-operator.v4.4.1 in {community-operators openshift-marketplace}, found duplicate entries for ocs-operator.v4.2.3 in {community-operators openshift-marketplace}]

3. Disable the Coummunity operator.
mac:~ jianzhang$ cat operatorhub.yaml 
apiVersion: config.openshift.io/v1
kind: OperatorHub
metadata:
  name: cluster
spec:
  disableAllDefaultSources: false
  sources: [
    {
      name: "community-operators",
      disabled: true,
    }
  ]

4, Re-install the released 4.4.1 OCS operator.


Actual results:
Failed to install. 
mac:~ jianzhang$ oc get sub -n openshift-storage
NAME           PACKAGE        SOURCE             CHANNEL
ocs-operator   ocs-operator   redhat-operators   stable-4.4
mac:~ jianzhang$ oc get ip -n openshift-storage
No resources found in openshift-storage namespace.

mac:~ jianzhang$ oc logs catalog-operator-869bbf9969-kbmd7 -n openshift-operator-lifecycle-manager
...

E0803 03:27:10.860500       1 queueinformer_operator.go:290] sync "openshift-storage" failed: constraints not satisfiable: ocs-operator is mandatory, ocs-operator requires at least one of redhat-operators/openshift-marketplace/stable-4.4/ocs-operator.v4.4.1, redhat-operators/openshift-marketplace/stable-4.4/ocs-operator.v4.4.1 requires at least one of redhat-operators/openshift-marketplace/stable-4.2/ocs-operator.v4.2.3, gvkunique/ceph.rook.io/v1/CephFilesystem permits at most 1 of redhat-operators/openshift-marketplace/stable-4.2/ocs-operator.v4.2.3, redhat-operators/openshift-marketplace/stable-4.4/ocs-operator.v4.4.1

Expected results:
The released 4.4.1 ocs operator can be installed on the OCP 4.6 successfully. Not sure if it will be support on OCP 4.6, but this issue is blocking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1861690

Additional info:

Comment 2 Petr Balogh 2020-08-03 10:42:16 UTC
OCS 4.4 is supported only on OCP +- 1 , so OCP 4.5, 4.4 and 4.3 .

Comment 3 Jose A. Rivera 2020-08-03 17:07:53 UTC
Since this is an unsupported scenario, closing this as WONTFIX.


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