Bug 1862852

Summary: Failed to install the released OCS 4.4.1 on the OCP 4.6
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Jian Zhang <jiazha>
Component: ocs-operatorAssignee: Jose A. Rivera <jarrpa>
Status: CLOSED WONTFIX QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: madam, muagarwa, ocs-bugs, pbalogh, sostapov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-03 17:07:53 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:
Bug Depends On:    
Bug Blocks: 1861690    

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.