Bug 2011985

Summary: SRO bundle references non-existent image
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Special Resource OperatorAssignee: Brett Thurber <bthurber>
Status: CLOSED ERRATA QA Contact: liqcui
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs
Target Milestone: ---   
Target Release: 4.9.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: 2021-10-18 17:52:32 UTC Type: ---
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: 2011977    
Bug Blocks:    

Description OpenShift BugZilla Robot 2021-10-07 20:45:10 UTC
+++ This bug was initially created as a clone of Bug #2011977 +++

Description of problem:
Currently we are unable to run the operator bundle in the openshift/special-resource-operator repository, because it uses a nonexistent image quay.io/openshift/special-resource-rhel8-operator:4.9. 

To be consistent with other optional operators we should be using the origin image quay.io/openshift/origin-special-resource-rhel8-operator:4.9.

Comment 3 liqcui 2021-10-12 01:55:59 UTC
Verified Result:
$ operator-sdk run bundle quay.io/openshift-psap-qe/special-resource-operator-bundle:4.9.0
INFO[0007] Successfully created registry pod: uay-io-openshift-psap-qe-special-resource-operator-bundle-4-9-0 
INFO[0007] Created CatalogSource: openshift-special-resource-operator-catalog 
INFO[0007] OperatorGroup "operator-sdk-og" created      
INFO[0007] Created Subscription: openshift-special-resource-operator-v4-9-0-sub 
INFO[0013] Approved InstallPlan install-4pccw for the Subscription: openshift-special-resource-operator-v4-9-0-sub 
INFO[0013] Waiting for ClusterServiceVersion "default/openshift-special-resource-operator.v4.9.0" to reach 'Succeeded' phase 
INFO[0013]   Waiting for ClusterServiceVersion "default/openshift-special-resource-operator.v4.9.0" to appear 
INFO[0029]   Found ClusterServiceVersion "default/openshift-special-resource-operator.v4.9.0" phase: Pending 
INFO[0032]   Found ClusterServiceVersion "default/openshift-special-resource-operator.v4.9.0" phase: InstallReady 
INFO[0033]   Found ClusterServiceVersion "default/openshift-special-resource-operator.v4.9.0" phase: Installing 
INFO[0042]   Found ClusterServiceVersion "default/openshift-special-resource-operator.v4.9.0" phase: Succeeded 
INFO[0042] OLM has successfully installed "openshift-special-resource-operator.v4.9.0" 
[mirroradmin@ec2-18-217-45-133 special-resource-operator]$ oc get pods -n openshift-special-resource-operator
No resources found in openshift-special-resource-operator namespace.
[mirroradmin@ec2-18-217-45-133 special-resource-operator]$ oc get pods -A |grep special
default                                            special-resource-controller-manager-78c9564f6c-t2vvm                  2/2     Running     0             111s
default                                            uay-io-openshift-psap-qe-special-resource-operator-bundle-4-9-0       1/1     Running     0             2m20s
[mirroradmin@ec2-18-217-45-133 special-resource-operator]$ oc describe pod special-resource-controller-manager-78c9564f6c-t2vvm |grep -i image
    Image:         registry.redhat.io/openshift4/ose-kube-rbac-proxy
    Image ID:      registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:00e42b2a0f0dad10c8e87e33f0d0854fe3e4d4c05532dcb3ad695956f909000c
    Image:         quay.io/openshift/origin-special-resource-rhel8-operator:4.9
    Image ID:      quay.io/openshift/origin-special-resource-rhel8-operator@sha256:4133d75c354a0a34c46fee246be4c07b7290d4a6016fe93b0c6264f9a2af97b0
  Normal  Pulling         2m3s  kubelet            Pulling image "registry.redhat.io/openshift4/ose-kube-rbac-proxy"
  Normal  Pulled          119s  kubelet            Successfully pulled image "registry.redhat.io/openshift4/ose-kube-rbac-proxy" in 3.25048338s
  Normal  Pulling         119s  kubelet            Pulling image "quay.io/openshift/origin-special-resource-rhel8-operator:4.9"
  Normal  Pulled          116s  kubelet            Successfully pulled image "quay.io/openshift/origin-special-resource-rhel8-operator:4.9" in 3.495178114s

Comment 5 errata-xmlrpc 2021-10-18 17:52:32 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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-2021:3759