[ec2-user@ip-10-0-3-212 ~]$ oc get pod NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 14s seanquayregistry-clair-app-7f7d98967f-45rxc 1/1 Running 0 3m17s seanquayregistry-clair-app-7f7d98967f-4xpmn 1/1 Running 0 32s seanquayregistry-clair-app-7f7d98967f-9hh97 1/1 Running 0 3m32s seanquayregistry-clair-postgres-5ff55cd854-qflp7 1/1 Running 1 (3m12s ago) 3m32s seanquayregistry-quay-app-558449d66-hqgn7 1/1 Running 0 2m18s seanquayregistry-quay-app-558449d66-sw982 1/1 Running 0 2m17s seanquayregistry-quay-app-upgrade-kfqbz 0/1 ContainerCreating 0 2s seanquayregistry-quay-config-editor-5c797f4b5c-2mqss 1/1 Running 0 3m32s seanquayregistry-quay-database-7d5556c796-lbtjr 1/1 Running 0 3m32s seanquayregistry-quay-mirror-7664dd9b5f-mltf2 1/1 Running 0 3m17s seanquayregistry-quay-mirror-7664dd9b5f-zjprw 1/1 Running 0 3m32s seanquayregistry-quay-redis-6898f57f78-9j2jx 1/1 Running 0 3m32s [ec2-user@ip-10-0-3-212 ~]$ oc get pod NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 21s seanquayregistry-clair-postgres-5ff55cd854-qflp7 1/1 Terminating 1 (3m19s ago) 3m39s seanquayregistry-clair-postgres-old-694d7ff897-lbgsf 0/1 ContainerCreating 0 4s seanquayregistry-clair-postgres-upgrade-vwvmr 0/1 ContainerCreating 0 5s seanquayregistry-quay-app-558449d66-hqgn7 1/1 Terminating 0 2m25s seanquayregistry-quay-app-558449d66-sw982 1/1 Terminating 0 2m24s seanquayregistry-quay-app-upgrade-kfqbz 0/1 Completed 0 9s seanquayregistry-quay-config-editor-57867d7b5c-59t4d 1/1 Running 0 4s seanquayregistry-quay-config-editor-5c797f4b5c-2mqss 1/1 Terminating 0 3m39s seanquayregistry-quay-database-old-7694976679-z7dg6 1/1 Running 0 5s seanquayregistry-quay-mirror-7664dd9b5f-mltf2 1/1 Terminating 0 3m24s seanquayregistry-quay-mirror-7664dd9b5f-zjprw 1/1 Terminating 0 3m39s seanquayregistry-quay-postgres-upgrade-zrhf2 0/1 ContainerCreating 0 7s seanquayregistry-quay-redis-5f978c7cbc-zg84p 1/1 Running 0 4s [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Name: seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Namespace: quay-enterprise-14086 Priority: 0 Service Account: seanquayregistry-clair-postgres Node: quaytest-14086-8vfht-worker-eastus3-dhdxx/10.0.128.6 Start Time: Tue, 25 Jul 2023 08:51:36 +0000 Labels: pod-template-hash=694d7ff897 quay-component=clair-postgres quay-operator/quayregistry=seanquayregistry Annotations: openshift.io/scc: restricted-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default Status: Pending IP: IPs: Controlled By: ReplicaSet/seanquayregistry-clair-postgres-old-694d7ff897 Containers: postgres: Container ID: Image: centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558 Image ID: Port: 5432/TCP Host Port: 0/TCP State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Requests: cpu: 500m memory: 2Gi Environment: POSTGRESQL_USER: postgres POSTGRESQL_DATABASE: postgres POSTGRESQL_PASSWORD: postgres POSTGRESQL_ADMIN_PASSWORD: postgres POSTGRESQL_SHARED_BUFFERS: 256MB POSTGRESQL_MAX_CONNECTIONS: 2000 Mounts: /usr/share/pgsql/postgresql.conf.sample from clair-postgres-conf-sample (rw,path="postgresql.conf.sample") /var/lib/pgsql/data from postgres-data (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-jczcr (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: clair-postgres-conf-sample: Type: ConfigMap (a volume populated by a ConfigMap) Name: seanquayregistry-clair-postgres-conf-sample Optional: false postgres-data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: seanquayregistry-clair-postgres ReadOnly: false kube-api-access-jczcr: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true ConfigMapName: openshift-service-ca.crt ConfigMapOptional: QoS Class: Burstable Node-Selectors: Tolerations: 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 24s default-scheduler Successfully assigned quay-enterprise-14086/seanquayregistry-clair-postgres-old-694d7ff897-lbgsf to quaytest-14086-8vfht-worker-eastus3-dhdxx Warning FailedAttachVolume 24s attachdetach-controller Multi-Attach error for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Volume is already used by pod(s) seanquayregistry-clair-postgres-5ff55cd854-qflp7 [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-old-694d7ff897-lbgsf>seanquayregistry-clair-postgres-old-694d7ff897-lbgsf [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-5ff55cd854-qflp7>seanquayregistry-clair-postgres-5ff55cd854-qflp7 [ec2-user@ip-10-0-3-212 ~]$ oc get pod NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 115s seanquayregistry-clair-postgres-5ff55cd854-qflp7 1/1 Terminating 1 (4m53s ago) 5m13s seanquayregistry-clair-postgres-old-694d7ff897-lbgsf 0/1 ContainerCreating 0 98s seanquayregistry-clair-postgres-upgrade-vwvmr 0/1 CrashLoopBackOff 3 (36s ago) 99s seanquayregistry-quay-app-upgrade-kfqbz 0/1 Completed 0 103s seanquayregistry-quay-config-editor-57867d7b5c-59t4d 1/1 Running 0 98s seanquayregistry-quay-mirror-6dd6fbfc67-h5l2s 0/1 Init:0/1 0 68s seanquayregistry-quay-mirror-6dd6fbfc67-n6zwp 0/1 Init:0/1 0 68s seanquayregistry-quay-postgres-upgrade-zrhf2 0/1 Completed 0 101s seanquayregistry-quay-redis-5f978c7cbc-zg84p 1/1 Running 0 98s [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-5ff55cd854-qflp7 Name: seanquayregistry-clair-postgres-5ff55cd854-qflp7 Namespace: quay-enterprise-14086 Priority: 0 Service Account: seanquayregistry-clair-postgres Node: quaytest-14086-8vfht-worker-eastus3-5bltt/10.0.128.7 Start Time: Tue, 25 Jul 2023 08:48:04 +0000 Labels: pod-template-hash=5ff55cd854 quay-component=clair-postgres quay-operator/quayregistry=seanquayregistry Annotations: k8s.v1.cni.cncf.io/network-status: [{ "name": "openshift-sdn", "interface": "eth0", "ips": [ "10.130.2.50" ], "default": true, "dns": {} }] openshift.io/scc: restricted-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default Status: Terminating (lasts ) Termination Grace Period: 180s IP: 10.130.2.50 IPs: IP: 10.130.2.50 Controlled By: ReplicaSet/seanquayregistry-clair-postgres-5ff55cd854 Containers: postgres: Container ID: cri-o://867055cabb32970da76be7997641573e457795f951920f2314cb796df0efbafa Image: centos/postgresql-10-centos7@sha256:de1560cb35e5ec643e7b3a772ebaac8e3a7a2a8e8271d9e91ff023539b4dfb33 Image ID: docker.io/centos/postgresql-10-centos7@sha256:de1560cb35e5ec643e7b3a772ebaac8e3a7a2a8e8271d9e91ff023539b4dfb33 Port: 5432/TCP Host Port: 0/TCP State: Running Started: Tue, 25 Jul 2023 08:48:21 +0000 Last State: Terminated Reason: Error Exit Code: 1 Started: Tue, 25 Jul 2023 08:48:20 +0000 Finished: Tue, 25 Jul 2023 08:48:21 +0000 Ready: True Restart Count: 1 Requests: cpu: 500m memory: 2Gi Environment: POSTGRESQL_USER: postgres POSTGRESQL_DATABASE: postgres POSTGRESQL_PASSWORD: postgres POSTGRESQL_ADMIN_PASSWORD: postgres POSTGRESQL_MAX_CONNECTIONS: 1000 Mounts: /usr/share/pgsql/postgresql.conf.sample from clair-postgres-conf-sample (rw,path="postgresql.conf.sample") /var/lib/pgsql/data from postgres-data (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-6v2gt (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: clair-postgres-conf-sample: Type: ConfigMap (a volume populated by a ConfigMap) Name: seanquayregistry-clair-postgres-conf-sample Optional: false postgres-data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: seanquayregistry-clair-postgres ReadOnly: false kube-api-access-6v2gt: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true ConfigMapName: openshift-service-ca.crt ConfigMapOptional: QoS Class: Burstable Node-Selectors: Tolerations: 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 5m32s default-scheduler Successfully assigned quay-enterprise-14086/seanquayregistry-clair-postgres-5ff55cd854-qflp7 to quaytest-14086-8vfht-worker-eastus3-5bltt Normal SuccessfulAttachVolume 5m22s attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Normal AddedInterface 5m17s multus Add eth0 [10.130.2.50/23] from openshift-sdn Normal Pulled 5m16s (x2 over 5m17s) kubelet Container image "centos/postgresql-10-centos7@sha256:de1560cb35e5ec643e7b3a772ebaac8e3a7a2a8e8271d9e91ff023539b4dfb33" already present on machine Normal Created 5m16s (x2 over 5m17s) kubelet Created container postgres Normal Started 5m16s (x2 over 5m17s) kubelet Started container postgres Normal Killing 2m1s kubelet Stopping container postgres [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Name: seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Namespace: quay-enterprise-14086 Priority: 0 Service Account: seanquayregistry-clair-postgres Node: quaytest-14086-8vfht-worker-eastus3-dhdxx/10.0.128.6 Start Time: Tue, 25 Jul 2023 08:51:36 +0000 Labels: pod-template-hash=694d7ff897 quay-component=clair-postgres quay-operator/quayregistry=seanquayregistry Annotations: openshift.io/scc: restricted-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default Status: Pending IP: IPs: Controlled By: ReplicaSet/seanquayregistry-clair-postgres-old-694d7ff897 Containers: postgres: Container ID: Image: centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558 Image ID: Port: 5432/TCP Host Port: 0/TCP State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Requests: cpu: 500m memory: 2Gi Environment: POSTGRESQL_USER: postgres POSTGRESQL_DATABASE: postgres POSTGRESQL_PASSWORD: postgres POSTGRESQL_ADMIN_PASSWORD: postgres POSTGRESQL_SHARED_BUFFERS: 256MB POSTGRESQL_MAX_CONNECTIONS: 2000 Mounts: /usr/share/pgsql/postgresql.conf.sample from clair-postgres-conf-sample (rw,path="postgresql.conf.sample") /var/lib/pgsql/data from postgres-data (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-jczcr (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: clair-postgres-conf-sample: Type: ConfigMap (a volume populated by a ConfigMap) Name: seanquayregistry-clair-postgres-conf-sample Optional: false postgres-data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: seanquayregistry-clair-postgres ReadOnly: false kube-api-access-jczcr: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true ConfigMapName: openshift-service-ca.crt ConfigMapOptional: QoS Class: Burstable Node-Selectors: Tolerations: 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 2m21s default-scheduler Successfully assigned quay-enterprise-14086/seanquayregistry-clair-postgres-old-694d7ff897-lbgsf to quaytest-14086-8vfht-worker-eastus3-dhdxx Warning FailedAttachVolume 2m21s attachdetach-controller Multi-Attach error for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Volume is already used by pod(s) seanquayregistry-clair-postgres-5ff55cd854-qflp7 Warning FailedMount 18s kubelet Unable to attach or mount volumes: unmounted volumes=[postgres-data], unattached volumes=[postgres-data kube-api-access-jczcr clair-postgres-conf-sample]: timed out waiting for the condition [ec2-user@ip-10-0-3-212 ~]$ oc get pod NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 3m11s seanquayregistry-clair-postgres-5ff55cd854-qflp7 1/1 Terminating 1 (6m9s ago) 6m29s seanquayregistry-clair-postgres-old-694d7ff897-lbgsf 0/1 ContainerCreating 0 2m54s seanquayregistry-clair-postgres-upgrade-vwvmr 0/1 CrashLoopBackOff 4 (69s ago) 2m55s seanquayregistry-quay-app-upgrade-kfqbz 0/1 Completed 0 2m59s seanquayregistry-quay-config-editor-57867d7b5c-59t4d 1/1 Running 0 2m54s seanquayregistry-quay-mirror-6dd6fbfc67-h5l2s 0/1 Init:0/1 1 (13s ago) 2m24s seanquayregistry-quay-mirror-6dd6fbfc67-n6zwp 0/1 Init:0/1 1 (12s ago) 2m24s seanquayregistry-quay-postgres-upgrade-zrhf2 0/1 Completed 0 2m57s seanquayregistry-quay-redis-5f978c7cbc-zg84p 1/1 Running 0 2m54s [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Name: seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Namespace: quay-enterprise-14086 Priority: 0 Service Account: seanquayregistry-clair-postgres Node: quaytest-14086-8vfht-worker-eastus3-dhdxx/10.0.128.6 Start Time: Tue, 25 Jul 2023 08:51:36 +0000 Labels: pod-template-hash=694d7ff897 quay-component=clair-postgres quay-operator/quayregistry=seanquayregistry Annotations: openshift.io/scc: restricted-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default Status: Pending IP: IPs: Controlled By: ReplicaSet/seanquayregistry-clair-postgres-old-694d7ff897 Containers: postgres: Container ID: Image: centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558 Image ID: Port: 5432/TCP Host Port: 0/TCP State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Requests: cpu: 500m memory: 2Gi Environment: POSTGRESQL_USER: postgres POSTGRESQL_DATABASE: postgres POSTGRESQL_PASSWORD: postgres POSTGRESQL_ADMIN_PASSWORD: postgres POSTGRESQL_SHARED_BUFFERS: 256MB POSTGRESQL_MAX_CONNECTIONS: 2000 Mounts: /usr/share/pgsql/postgresql.conf.sample from clair-postgres-conf-sample (rw,path="postgresql.conf.sample") /var/lib/pgsql/data from postgres-data (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-jczcr (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: clair-postgres-conf-sample: Type: ConfigMap (a volume populated by a ConfigMap) Name: seanquayregistry-clair-postgres-conf-sample Optional: false postgres-data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: seanquayregistry-clair-postgres ReadOnly: false kube-api-access-jczcr: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true ConfigMapName: openshift-service-ca.crt ConfigMapOptional: QoS Class: Burstable Node-Selectors: Tolerations: 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 3m14s default-scheduler Successfully assigned quay-enterprise-14086/seanquayregistry-clair-postgres-old-694d7ff897-lbgsf to quaytest-14086-8vfht-worker-eastus3-dhdxx Warning FailedAttachVolume 3m14s attachdetach-controller Multi-Attach error for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Volume is already used by pod(s) seanquayregistry-clair-postgres-5ff55cd854-qflp7 Warning FailedMount 71s kubelet Unable to attach or mount volumes: unmounted volumes=[postgres-data], unattached volumes=[postgres-data kube-api-access-jczcr clair-postgres-conf-sample]: timed out waiting for the condition [ec2-user@ip-10-0-3-212 ~]$ oc get pod -w NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 3m44s seanquayregistry-clair-postgres-old-694d7ff897-lbgsf 0/1 ContainerCreating 0 3m27s seanquayregistry-clair-postgres-upgrade-vwvmr 1/1 Running 5 (102s ago) 3m28s seanquayregistry-quay-app-upgrade-kfqbz 0/1 Completed 0 3m32s seanquayregistry-quay-config-editor-57867d7b5c-59t4d 1/1 Running 0 3m27s seanquayregistry-quay-mirror-6dd6fbfc67-h5l2s 0/1 Init:0/1 1 (46s ago) 2m57s seanquayregistry-quay-mirror-6dd6fbfc67-n6zwp 0/1 Init:0/1 1 (45s ago) 2m57s seanquayregistry-quay-postgres-upgrade-zrhf2 0/1 Completed 0 3m30s seanquayregistry-quay-redis-5f978c7cbc-zg84p 1/1 Running 0 3m27s ^C[ec2-user@ip-10-0-3-212 ~]$ oc logs seanquayregistry-clair-postgres-old-694d7ff897-lbgsf pg_ctl: another server might be running; trying to start server anyway waiting for server to start....2023-07-25 08:55:10.201 UTC [25] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2023-07-25 08:55:10.208 UTC [25] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" 2023-07-25 08:55:10.246 UTC [25] LOG: redirecting log output to logging collector process 2023-07-25 08:55:10.246 UTC [25] HINT: Future log output will appear in directory "log". .. done server started /var/run/postgresql:5432 - accepting connections => sourcing /usr/share/container-scripts/postgresql/start/set_passwords.sh ... ALTER ROLE ALTER ROLE waiting for server to shut down.... done server stopped Starting server... 2023-07-25 08:55:12.874 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2023-07-25 08:55:12.874 UTC [1] LOG: listening on IPv6 address "::", port 5432 2023-07-25 08:55:12.880 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2023-07-25 08:55:12.886 UTC [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" 2023-07-25 08:55:12.918 UTC [1] LOG: redirecting log output to logging collector process 2023-07-25 08:55:12.918 UTC [1] HINT: Future log output will appear in directory "log". [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Name: seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Namespace: quay-enterprise-14086 Priority: 0 Service Account: seanquayregistry-clair-postgres Node: quaytest-14086-8vfht-worker-eastus3-dhdxx/10.0.128.6 Start Time: Tue, 25 Jul 2023 08:51:36 +0000 Labels: pod-template-hash=694d7ff897 quay-component=clair-postgres quay-operator/quayregistry=seanquayregistry Annotations: k8s.v1.cni.cncf.io/network-status: [{ "name": "openshift-sdn", "interface": "eth0", "ips": [ "10.129.2.64" ], "default": true, "dns": {} }] openshift.io/scc: restricted-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default Status: Running IP: 10.129.2.64 IPs: IP: 10.129.2.64 Controlled By: ReplicaSet/seanquayregistry-clair-postgres-old-694d7ff897 Containers: postgres: Container ID: cri-o://7544b9916e30f89803ba1b0bfddb49bd5671b10572cf3083ef1aa26ed0555afd Image: centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558 Image ID: docker.io/centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558 Port: 5432/TCP Host Port: 0/TCP State: Running Started: Tue, 25 Jul 2023 08:55:10 +0000 Ready: True Restart Count: 0 Requests: cpu: 500m memory: 2Gi Environment: POSTGRESQL_USER: postgres POSTGRESQL_DATABASE: postgres POSTGRESQL_PASSWORD: postgres POSTGRESQL_ADMIN_PASSWORD: postgres POSTGRESQL_SHARED_BUFFERS: 256MB POSTGRESQL_MAX_CONNECTIONS: 2000 Mounts: /usr/share/pgsql/postgresql.conf.sample from clair-postgres-conf-sample (rw,path="postgresql.conf.sample") /var/lib/pgsql/data from postgres-data (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-jczcr (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: clair-postgres-conf-sample: Type: ConfigMap (a volume populated by a ConfigMap) Name: seanquayregistry-clair-postgres-conf-sample Optional: false postgres-data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: seanquayregistry-clair-postgres ReadOnly: false kube-api-access-jczcr: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true ConfigMapName: openshift-service-ca.crt ConfigMapOptional: QoS Class: Burstable Node-Selectors: Tolerations: 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 3m57s default-scheduler Successfully assigned quay-enterprise-14086/seanquayregistry-clair-postgres-old-694d7ff897-lbgsf to quaytest-14086-8vfht-worker-eastus3-dhdxx Warning FailedAttachVolume 3m57s attachdetach-controller Multi-Attach error for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Volume is already used by pod(s) seanquayregistry-clair-postgres-5ff55cd854-qflp7 Warning FailedMount 114s kubelet Unable to attach or mount volumes: unmounted volumes=[postgres-data], unattached volumes=[postgres-data kube-api-access-jczcr clair-postgres-conf-sample]: timed out waiting for the condition Normal SuccessfulAttachVolume 26s attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Normal AddedInterface 23s multus Add eth0 [10.129.2.64/23] from openshift-sdn Normal Pulled 23s kubelet Container image "centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558" already present on machine Normal Created 23s kubelet Created container postgres Normal Started 23s kubelet Started container postgres [ec2-user@ip-10-0-3-212 ~]$ oc describe pod seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Name: seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Namespace: quay-enterprise-14086 Priority: 0 Service Account: seanquayregistry-clair-postgres Node: quaytest-14086-8vfht-worker-eastus3-dhdxx/10.0.128.6 Start Time: Tue, 25 Jul 2023 08:51:36 +0000 Labels: pod-template-hash=694d7ff897 quay-component=clair-postgres quay-operator/quayregistry=seanquayregistry Annotations: k8s.v1.cni.cncf.io/network-status: [{ "name": "openshift-sdn", "interface": "eth0", "ips": [ "10.129.2.64" ], "default": true, "dns": {} }] openshift.io/scc: restricted-v2 seccomp.security.alpha.kubernetes.io/pod: runtime/default Status: Running IP: 10.129.2.64 IPs: IP: 10.129.2.64 Controlled By: ReplicaSet/seanquayregistry-clair-postgres-old-694d7ff897 Containers: postgres: Container ID: cri-o://7544b9916e30f89803ba1b0bfddb49bd5671b10572cf3083ef1aa26ed0555afd Image: centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558 Image ID: docker.io/centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558 Port: 5432/TCP Host Port: 0/TCP State: Running Started: Tue, 25 Jul 2023 08:55:10 +0000 Ready: True Restart Count: 0 Requests: cpu: 500m memory: 2Gi Environment: POSTGRESQL_USER: postgres POSTGRESQL_DATABASE: postgres POSTGRESQL_PASSWORD: postgres POSTGRESQL_ADMIN_PASSWORD: postgres POSTGRESQL_SHARED_BUFFERS: 256MB POSTGRESQL_MAX_CONNECTIONS: 2000 Mounts: /usr/share/pgsql/postgresql.conf.sample from clair-postgres-conf-sample (rw,path="postgresql.conf.sample") /var/lib/pgsql/data from postgres-data (rw) /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-jczcr (ro) Conditions: Type Status Initialized True Ready True ContainersReady True PodScheduled True Volumes: clair-postgres-conf-sample: Type: ConfigMap (a volume populated by a ConfigMap) Name: seanquayregistry-clair-postgres-conf-sample Optional: false postgres-data: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: seanquayregistry-clair-postgres ReadOnly: false kube-api-access-jczcr: Type: Projected (a volume that contains injected data from multiple sources) TokenExpirationSeconds: 3607 ConfigMapName: kube-root-ca.crt ConfigMapOptional: DownwardAPI: true ConfigMapName: openshift-service-ca.crt ConfigMapOptional: QoS Class: Burstable Node-Selectors: Tolerations: 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 4m45s default-scheduler Successfully assigned quay-enterprise-14086/seanquayregistry-clair-postgres-old-694d7ff897-lbgsf to quaytest-14086-8vfht-worker-eastus3-dhdxx Warning FailedAttachVolume 4m45s attachdetach-controller Multi-Attach error for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Volume is already used by pod(s) seanquayregistry-clair-postgres-5ff55cd854-qflp7 Warning FailedMount 2m42s kubelet Unable to attach or mount volumes: unmounted volumes=[postgres-data], unattached volumes=[postgres-data kube-api-access-jczcr clair-postgres-conf-sample]: timed out waiting for the condition Normal SuccessfulAttachVolume 74s attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-764ddb4a-1dd8-485b-a62b-9ae1245d317c" Normal AddedInterface 71s multus Add eth0 [10.129.2.64/23] from openshift-sdn Normal Pulled 71s kubelet Container image "centos/postgresql-10-centos7@sha256:f826fcb2983eef2c49e9e9a9d9d61ab403254b50cff85a7caa949fd8474fd558" already present on machine Normal Created 71s kubelet Created container postgres Normal Started 71s kubelet Started container postgres [ec2-user@ip-10-0-3-212 ~]$ oc get pod NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 5m10s seanquayregistry-clair-postgres-old-694d7ff897-lbgsf 1/1 Running 0 4m53s seanquayregistry-clair-postgres-upgrade-vwvmr 1/1 Running 5 (3m8s ago) 4m54s seanquayregistry-quay-app-upgrade-kfqbz 0/1 Completed 0 4m58s seanquayregistry-quay-config-editor-57867d7b5c-59t4d 1/1 Running 0 4m53s seanquayregistry-quay-mirror-6dd6fbfc67-h5l2s 0/1 Init:Error 1 (2m12s ago) 4m23s seanquayregistry-quay-mirror-6dd6fbfc67-n6zwp 0/1 Init:0/1 1 (2m11s ago) 4m23s seanquayregistry-quay-postgres-upgrade-zrhf2 0/1 Completed 0 4m56s seanquayregistry-quay-redis-5f978c7cbc-zg84p 1/1 Running 0 4m53s [ec2-user@ip-10-0-3-212 ~]$ oc logs seanquayregistry-clair-postgres-old-694d7ff897-lbgsf Error from server (NotFound): pods "seanquayregistry-clair-postgres-old-694d7ff897-lbgsf" not found [ec2-user@ip-10-0-3-212 ~]$ oc get pod NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 5m39s seanquayregistry-clair-app-76746956c8-skjkh 0/1 Running 0 6s seanquayregistry-clair-postgres-676fd565d5-2gj8p 0/1 ContainerCreating 0 6s seanquayregistry-clair-postgres-upgrade-vwvmr 0/1 Completed 5 5m23s seanquayregistry-quay-app-upgrade-vkmjh 1/1 Running 0 6s seanquayregistry-quay-config-editor-57867d7b5c-59t4d 1/1 Running 0 5m22s seanquayregistry-quay-database-5dcf7d96cc-wjf8c 0/1 ContainerCreating 0 6s seanquayregistry-quay-mirror-6dd6fbfc67-h5l2s 0/1 Init:0/1 2 (30s ago) 4m52s seanquayregistry-quay-mirror-6dd6fbfc67-n6zwp 0/1 Init:0/1 2 (28s ago) 4m52s seanquayregistry-quay-postgres-upgrade-zrhf2 0/1 Completed 0 5m25s seanquayregistry-quay-redis-5f978c7cbc-zg84p 1/1 Running 0 5m22s [ec2-user@ip-10-0-3-212 ~]$ oc get pod NAME READY STATUS RESTARTS AGE quay-operator-tng-5956ddbd4c-6qn4v 1/1 Running 0 9m33s seanquayregistry-clair-app-76746956c8-2d4bj 1/1 Running 0 3m50s seanquayregistry-clair-app-76746956c8-skjkh 1/1 Running 0 4m seanquayregistry-clair-postgres-676fd565d5-2gj8p 1/1 Running 0 4m seanquayregistry-clair-postgres-upgrade-vwvmr 0/1 Completed 5 9m17s seanquayregistry-quay-app-6ddbc688db-l5j6p 1/1 Running 0 3m5s seanquayregistry-quay-app-6ddbc688db-tvmgf 1/1 Running 0 3m5s seanquayregistry-quay-app-upgrade-vkmjh 0/1 Completed 0 4m seanquayregistry-quay-config-editor-57867d7b5c-59t4d 1/1 Running 0 9m16s seanquayregistry-quay-database-5dcf7d96cc-wjf8c 1/1 Running 0 4m seanquayregistry-quay-mirror-6dd6fbfc67-h5l2s 1/1 Running 0 8m46s seanquayregistry-quay-mirror-6dd6fbfc67-n6zwp 1/1 Running 0 8m46s seanquayregistry-quay-postgres-upgrade-zrhf2 0/1 Completed 0 9m19s seanquayregistry-quay-redis-5f978c7cbc-zg84p 1/1 Running 0 9m16s [ec2-user@ip-10-0-3-212 ~]$