-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
No
-
-
-
-
Important
Description of problem:
This mirror list appears appears to be missing an image in the installed version of ACM:
https://github.com/stolostron/deploy/blob/master/mirror/2.10.2-DOWNSTREAM-2024-04-12-21-01-39.txt
Has postgres images:
registry.redhat.io/rhel8/postgresql-12@sha256:da0b8d525b173ef472ff4c71fae60b396f518860d6313c4f3287b844aab6d622=__DESTINATION_ORG__/postgresql-12:2.10.2-DOWNSTREAM-2024-04-12-21-01-39 registry.redhat.io/rhel8/postgresql-13@sha256:826a1a75f4186f36217b5c1f1aa270838c4b55b1021d33a4876566bfc3b8e629=__DESTINATION_ORG__/postgresql-13:2.10.2-DOWNSTREAM-2024-04-12-21-01-39
However the installed version of ACM actually needs:
# oc get po -n open-cluster-management search-postgres-5d5fdbf68c-x669j NAME READY STATUS RESTARTS AGE search-postgres-5d5fdbf68c-x669j 0/1 ErrImagePull 0 44s # oc describe po -n open-cluster-management search-postgres-5d5fdbf68c-x669j ... Name: search-postgres-5d5fdbf68c-x669j Namespace: open-cluster-management Priority: 0 Service Account: search-serviceaccount Node: e38-h02-000-r650/fc00:1005::5 Start Time: Mon, 22 Apr 2024 21:52:56 +0000 Labels: app=search component=search-v2-operator name=search-postgres pod-template-hash=5d5fdbf68c Annotations: k8s.ovn.org/pod-networks: {"default":{"ip_addresses":["fd01:0:0:3::51/64"],"mac_address":"0a:58:1b:17:4f:fd","gateway_ips":["fd01:0:0:3::1"],"routes":[{"dest":"fd01... k8s.v1.cni.cncf.io/network-status: [{ "name": "ovn-kubernetes", "interface": "eth0", "ips": [ "fd01:0:0:3::51" ], "mac": "0a:58:1b:17:4f:fd", "default": true, "dns": {} }] openshift.io/scc: restricted-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default Status: Pending SeccompProfile: RuntimeDefault IP: fd01:0:0:3::51 IPs: IP: fd01:0:0:3::51 Controlled By: ReplicaSet/search-postgres-5d5fdbf68c Containers: search-postgres: Container ID: Image: e38-h01-000-r650.rdu2.scalelab.redhat.com:5000/acm-d/postgresql-13@sha256:31c77c19480ab82cb33525d32419b68cf59daccf0b9936e88e8238e48a2d47e5 Image ID: Port: 5432/TCP Host Port: 0/TCP State: Waiting Reason: ImagePullBackOff Ready: False Restart Count: 0 Limits: memory: 4Gi Requests: cpu: 25m memory: 1Gi Liveness: exec [/usr/libexec/check-container --live] delay=120s timeout=10s period=10s #success=1 #failure=3 Readiness: exec [/usr/libexec/check-container] delay=5s timeout=1s period=10s #success=1 #failure=3 Environment: POSTGRESQL_USER: <set to the key 'database-user' in secret 'search-postgres'> Optional: false POSTGRESQL_PASSWORD: <set to the key 'database-password' in secret 'search-postgres'> Optional: false POSTGRESQL_DATABASE: <set to the key 'database-name' in secret 'search-postgres'> Optional: false POSTGRESQL_SHARED_BUFFERS: 1GB POSTGRESQL_EFFECTIVE_CACHE_SIZE: 2GB WORK_MEM: 64MB Mounts: /dev/shm from dshm (rw) /opt/app-root/src/postgresql-cfg from postgresql-cfg (rw) /opt/app-root/src/postgresql-start from postgresql-start (rw) /sslcert from search-postgres-certs (rw) /var/lib/pgsql/data from postgresdb (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-2rlbp (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: postgresql-cfg: Type: ConfigMap (a volume populated by a ConfigMap) Name: search-postgres Optional: false postgresql-start: Type: ConfigMap (a volume populated by a ConfigMap) Name: search-postgres Optional: false search-postgres-certs: Type: Secret (a volume populated by a Secret) SecretName: search-postgres-certs Optional: false dshm: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: Memory SizeLimit: 1Gi postgresdb: Type: EmptyDir (a temporary directory that shares a pod's lifetime) Medium: SizeLimit: <unset> kube-api-access-2rlbp: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: <nil> DownwardAPI: true ConfigMapName: openshift-service-ca.crt ConfigMapOptional: <nil> QoS Class: Burstable Node-Selectors: <none> Tolerations: node-role.kubernetes.io/infra:NoSchedule op=Exists node.kubernetes.io/memory-pressure:NoSchedule op=Exists node.kubernetes.io/not-ready:NoExecute op=Exists for 300s node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 75s default-scheduler Successfully assigned open-cluster-management/search-postgres-5d5fdbf68c-x669j to e38-h02-000-r650 Warning FailedMount 75s kubelet MountVolume.SetUp failed for volume "postgresql-start" : configmap "search-postgres" not found Warning FailedMount 75s kubelet MountVolume.SetUp failed for volume "postgresql-cfg" : configmap "search-postgres" not found Normal AddedInterface 72s multus Add eth0 [fd01:0:0:3::51/64] from ovn-kubernetes Warning Failed 44s (x3 over 72s) kubelet Error: ImagePullBackOff Normal Pulling 31s (x3 over 72s) kubelet Pulling image "e38-h01-000-r650.rdu2.scalelab.redhat.com:5000/acm-d/postgresql-13@sha256:31c77c19480ab82cb33525d32419b68cf59daccf0b9936e88e8238e48a2d47e5" Warning Failed 31s (x3 over 72s) kubelet Failed to pull image "e38-h01-000-r650.rdu2.scalelab.redhat.com:5000/acm-d/postgresql-13@sha256:31c77c19480ab82cb33525d32419b68cf59daccf0b9936e88e8238e48a2d47e5": reading manifest sha256:31c77c19480ab82cb33525d32419b68cf59daccf0b9936e88e8238e48a2d47e5 in e38-h01-000-r650.rdu2.scalelab.redhat.com:5000/acm-d/postgresql-13: manifest unknown Warning Failed 31s (x3 over 72s) kubelet Error: ErrImagePull Warning FailedToRetrieveImagePullSecret 18s (x7 over 74s) kubelet Unable to retrieve some image pull secrets (search-pull-secret); attempting to pull the image may not succeed. Normal BackOff 18s (x4 over 72s) kubelet Back-off pulling image "e38-h01-000-r650.rdu2.scalelab.redhat.com:5000/acm-d/postgresql-13@sha256:31c77c19480ab82cb33525d32419b68cf59daccf0b9936e88e8238e48a2d47e5"
thus I synced the image in via:
oc image mirror -a /opt/registry/sync/pull-secret-bastion.acm_d.txt registry.redhat.io/rhel9/postgresql-13@sha256:31c77c19480ab82cb33525d32419b68cf59daccf0b9936e88e8238e48a2d47e5=xxxxxxxxxx:5000/acm-d/postgresql-13:2.10.2-DOWNSTREAM-2024-04-12-21-01-39 --keep-manifest-list --continue-on-error=true
Version-Release number of selected component (if applicable):
ACM - 2.10.2-DOWNSTREAM-2024-04-12-21-01-39
How reproducible:
Steps to Reproduce:
- ...