-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.17
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
No
-
None
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
ClusterExtension installation failed due to "Back-off pulling image quay.io/operator-framework/operator-controller:devel
Version-Release number of selected component (if applicable):
zhaoxia@xzha-mac OCP-74108 % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.17.0-0.nightly-2024-06-05-034505 True False 88m Cluster version is 4.17.0-0.nightly-2024-06-05-034505
How reproducible:
always
Steps to Reproduce:
1. create catalog zhaoxia@xzha-mac OCP-74108 % cat catalog.yaml apiVersion: catalogd.operatorframework.io/v1alpha1 kind: Catalog metadata: name: catalog-74108 spec: source: type: image image: ref: quay.io/openshifttest/nginxolm-operator-index:nginxolm74108 2. create ClusterExtension zhaoxia@xzha-mac OCP-74108 % oc new-project test-74108 zhaoxia@xzha-mac OCP-74108 % cat catalog.yaml apiVersion: catalogd.operatorframework.io/v1alpha1 kind: Catalog metadata: name: catalog-74108 spec: source: type: image image: ref: quay.io/openshifttest/nginxolm-operator-index:nginxolm74108 zhaoxia@xzha-mac OCP-74108 % cat ClusterExtension.yaml apiVersion: olm.operatorframework.io/v1alpha1 kind: ClusterExtension metadata: name: test-74108 spec: packageName: nginx74108 installNamespace: test-74108 channel: candidate-v0.0 version: 0.0.1 3. check status zhaoxia@xzha-mac OCP-74108 % oc get clusterextension test-74108 -o yaml apiVersion: olm.operatorframework.io/v1alpha1 kind: ClusterExtension metadata: ... name: test-74108 resourceVersion: "80297" uid: 0b8ae733-e6be-479c-ac3d-c0385180adec spec: channel: candidate-v0.0 installNamespace: test-74108 packageName: nginx74108 upgradeConstraintPolicy: Enforce version: 0.0.1 status: conditions: ... - lastTransitionTime: "2024-06-06T05:13:31Z" message: resolved to "quay.io/openshifttest/nginxolm-operator-bundle:v0.0.1-nginxolm74108" observedGeneration: 1 reason: Success status: "True" type: Resolved - lastTransitionTime: "2024-06-06T05:13:31Z" message: Back-off pulling image "quay.io/operator-framework/operator-controller:devel" observedGeneration: 1 reason: UnpackPending status: "False" type: Unpacked - lastTransitionTime: "2024-06-06T05:13:31Z" message: unpack pending observedGeneration: 1 reason: HasValidBundleUnknown status: Unknown type: HasValidBundle - lastTransitionTime: "2024-06-06T05:13:31Z" message: installation has not been attempted as unpack is pending observedGeneration: 1 reason: InstallationStatusUnknown status: Unknown type: Installed resolvedBundle: name: nginx74108.v0.0.1 version: 0.0.1 zhaoxia@xzha-mac OCP-74108 % oc project openshift-operator-controller zhaoxia@xzha-mac OCP-74108 % oc get pod NAME READY STATUS RESTARTS AGE operator-controller-controller-manager-765bc7d7b9-btbrf 2/2 Running 0 30m test-74108 0/1 Init:ImagePullBackOff 0 13m zhaoxia@xzha-mac OCP-74108 % oc get pod test-74108 -o yaml apiVersion: v1 kind: Pod metadata: annotations: ... openshift.io/scc: nonroot-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default creationTimestamp: "2024-06-06T05:13:31Z" labels: core.rukpak.io/owner-kind: ClusterExtension core.rukpak.io/owner-name: test-74108 name: test-74108 namespace: openshift-operator-controller ownerReferences: - apiVersion: olm.operatorframework.io/v1alpha1 blockOwnerDeletion: true controller: true kind: ClusterExtension name: test-74108 uid: 0b8ae733-e6be-479c-ac3d-c0385180adec resourceVersion: "80296" uid: 3b9e1917-f585-414c-82da-16735bd1f0c8 spec: automountServiceAccountToken: false containers: - command: - /bin/unpack - --bundle-dir - / env: - name: GOCOVERDIR image: quay.io/openshifttest/nginxolm-operator-bundle:v0.0.1-nginxolm74108 imagePullPolicy: IfNotPresent name: bundle resources: {} securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL runAsUser: 1001 terminationMessagePath: /dev/termination-log terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /bin name: util dnsPolicy: ClusterFirst enableServiceLinks: true imagePullSecrets: - name: default-dockercfg-99jp4 initContainers: - command: - /cp - -Rv - /unpack - /util/bin/unpack image: quay.io/operator-framework/operator-controller:devel imagePullPolicy: IfNotPresent name: install-unpacker resources: {} securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL runAsUser: 1001 terminationMessagePath: /dev/termination-log terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /util/bin name: util nodeName: ip-10-0-84-114.us-east-2.compute.internal preemptionPolicy: PreemptLowerPriority priority: 0 restartPolicy: Never schedulerName: default-scheduler securityContext: runAsNonRoot: true seLinuxOptions: level: s0:c27,c9 seccompProfile: type: RuntimeDefault serviceAccount: default serviceAccountName: default terminationGracePeriodSeconds: 30 tolerations: - effect: NoExecute key: node.kubernetes.io/not-ready operator: Exists tolerationSeconds: 300 - effect: NoExecute key: node.kubernetes.io/unreachable operator: Exists tolerationSeconds: 300 volumes: - emptyDir: {} name: util status: conditions: - lastProbeTime: null lastTransitionTime: "2024-06-06T05:13:33Z" status: "True" type: PodReadyToStartContainers - lastProbeTime: null lastTransitionTime: "2024-06-06T05:13:31Z" message: 'containers with incomplete status: [install-unpacker]' reason: ContainersNotInitialized status: "False" type: Initialized - lastProbeTime: null lastTransitionTime: "2024-06-06T05:13:31Z" message: 'containers with unready status: [bundle]' reason: ContainersNotReady status: "False" type: Ready - lastProbeTime: null lastTransitionTime: "2024-06-06T05:13:31Z" message: 'containers with unready status: [bundle]' reason: ContainersNotReady status: "False" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2024-06-06T05:13:31Z" status: "True" type: PodScheduled containerStatuses: - image: quay.io/openshifttest/nginxolm-operator-bundle:v0.0.1-nginxolm74108 imageID: "" lastState: {} name: bundle ready: false restartCount: 0 started: false state: waiting: reason: PodInitializing hostIP: 10.0.84.114 hostIPs: - ip: 10.0.84.114 initContainerStatuses: - image: quay.io/operator-framework/operator-controller:devel imageID: "" lastState: {} name: install-unpacker ready: false restartCount: 0 started: false state: waiting: message: Back-off pulling image "quay.io/operator-framework/operator-controller:devel" reason: ImagePullBackOff phase: Pending podIP: 10.131.0.8 podIPs: - ip: 10.131.0.8 qosClass: BestEffort startTime: "2024-06-06T05:13:31Z"
Actual results:
installation failed
Expected results:
installation success
Additional info:
zhaoxia@xzha-mac OCP-74108 % podman pull quay.io/operator-framework/operator-controller:devel Trying to pull quay.io/operator-framework/operator-controller:devel... Error: initializing source docker://quay.io/operator-framework/operator-controller:devel: reading manifest devel in quay.io/operator-framework/operator-controller: manifest unknown