Bug 1874053
Summary: | Unable to install operators from registry-proxy.engineering.redhat.com/rh-osbs/iib-pub-pending:v4.5 after mirroring to disconnected cluster | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Filip Brychta <fbrychta> | ||||||||||
Component: | OLM | Assignee: | Evan Cordell <ecordell> | ||||||||||
OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> | ||||||||||
Status: | CLOSED DUPLICATE | Docs Contact: | |||||||||||
Severity: | high | ||||||||||||
Priority: | high | CC: | krizza | ||||||||||
Version: | 4.6 | Keywords: | TestBlockerForLayeredProduct | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | 4.6.0 | ||||||||||||
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-09-11 12:48:18 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: | |||||||||||||
Attachments: |
|
Description
Filip Brychta
2020-08-31 12:29:15 UTC
Created attachment 1713145 [details]
imageContentSourcePolicy.yaml
Created attachment 1713146 [details]
output of oc image mirror command
Created attachment 1713147 [details]
edited mapping.txt
I can see following on jaeger-product subscription page: Install Plan None Upgrade Status Unknown failure 0 installed0 installing Found easier repro steps which are showing the same error. OCP 4.6.fc.4 1) Install OCP 4.6.fc.4 (standard cluster, no need for disconnected) 2) disable default catalog sources: oc patch operatorhub.config.openshift.io/cluster -p='{"spec":{"disableAllDefaultSources":true}}' --type=merge 3) add insecure registries: oc patch --type=merge --patch='{"spec":{"registrySources":{"insecureRegistries":[ "registry.stage.redhat.io","registry-proxy-stage.engineering.redhat.com"]}}}' image.config.openshift.io/cluster 4) create following catalog source: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: my-index-catalog-stage namespace: openshift-marketplace spec: sourceType: grpc image: registry.stage.redhat.io/redhat/redhat-operator-index:v4.6 5) prepare imageContentSourcePolicy: oc adm catalog mirror registry.stage.redhat.io/redhat/redhat-operator-index:v4.6 registry.stage.redhat.io --insecure --manifests-only -a /run/user/1000/containers/auth.json 6) oc apply -f redhat-operator-index-manifests/imageContentSourcePolicy.yaml 7) wait for cluster to reconcile 8) install kiali operator with default values Result: Stuck on Installing... Kiali operator marked as installed on Operator hub page but not visible on Installed operators page There is no install plan created. There are no errors visible only following event: openshift-operators found more than one head for channel This issue is blocking for us to test kiali operator using registry.stage.redhat.io/redhat/redhat-operator-index:v4.6 on OCP 4.6 Note that the same steps just using registry.stage.redhat.io/redhat/redhat-operator-index:v4.5 worked fine on OCP 4.5 Forgot to mention one step in reprosteps in previous comment - it's necessary to create a secret to be able to pull from registry.stage.redhat.io It looks like there is some problem with kiali-operator.v1.12.14 which is the latest version available in registry.stage.redhat.io/redhat/redhat-operator-index:v4.6. I manually added v1.12.15 via: opm index add --bundles registry-proxy.engineering.redhat.com/rh-osbs/openshift-service-mesh-kiali-operator-metadata@sha256:76be72987f48e53c1753789e07165a7571d2f0dbc111cc9d3d0b573ecd811fc2 --from-index registry.stage.redhat.io/redhat/redhat-operator-index:v4.6 --tag quay.io/fbrychta/test:1.0.0 And installation from quay.io/fbrychta/test:1.0.0 worked fine. So the registry.stage.redhat.io/redhat/redhat-operator-index:v4.6 now contains kiali-operator.v1.12.15 but the issue is still visible. When using registry.stage.redhat.io/redhat/redhat-operator-index:v4.6 on OCP 4.5 it works fine. > found more than one head for channel
This message indicates that you're hitting a bug fixed in the linked BZ. Testing on a nightly that includes that fix should resolve the problem.
(note - there are a couple of causes for this message, but the fc.4 release you used has all but the one in the linked BZ fixed).
*** This bug has been marked as a duplicate of bug 1869441 *** I was able to install both kiali and jaeger in 4.6.0-0.nightly-2020-09-16-000734 from registry.stage.redhat.io/redhat/redhat-operator-index:v4.6 |