mysql & postgresql image failing on CRC

Posted on

C:>oc get pods
NAME READY STATUS RESTARTS AGE
mysql-1-deploy 0/1 Error 0 19m
postgresql-1-deploy 0/1 Error 0 21m

C:>oc get deploymentconfig
Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+
NAME REVISION DESIRED CURRENT TRIGGERED BY
mysql 1 1 0 config,image(mysql:8.0-el8)
postgresql 1 1 0 config,image(postgresql:10-el8)

I also tried to make from command line but not successful

C:>oc get pods
NAME READY STATUS RESTARTS AGE
mysql-1-deploy 0/1 Error 0 3h28m
mysql-5557b87445-fl827 0/1 ErrImagePull 0 91m
mysql007-867685556b-tzxs6 0/1 ImagePullBackOff 0 95m
mysql008-5f76b8dfbd-t85mt 0/1 CrashLoopBackOff 6 (79s ago) 9m50s
mysql009-5954879fdb-r9ldz 0/1 CrashLoopBackOff 6 (55s ago) 6m57s
postgresql-1-deploy 0/1 Error 0 3h30m
wordpress009-7bb69c98fb-tnqlw 0/1 CrashLoopBackOff 3 (28s ago) 5m29s

C:>oc get deployments
NAME READY UP-TO-DATE AVAILABLE AGE
mysql 0/1 1 0 91m
mysql007 0/1 1 0 96m
mysql008 0/1 1 0 10m
mysql009 0/1 1 0 7m12s
wordpress009 0/1 1 0 5m41s

C:>oc new-app bitnami/wordpress --name=wordpress009 -l name=wordpress009

C:>oc events

LAST SEEN TYPE REASON OBJECT MESSAGE
16h Normal DeploymentCreated DeploymentConfig/mysql Created new replication controller "mysql-1" for version 1
16h Warning FailedScheduling Pod/mysql-1-deploy 0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/disk-pressure: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling..
16h Normal Scheduled Pod/mysql-1-deploy Successfully assigned mysqlproject/mysql-1-deploy to crc
16h Normal AddedInterface Pod/mysql-1-deploy Add eth0 [10.217.1.234/23] from ovn-kubernetes
16h Normal Pulling Pod/mysql-1-deploy Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e3a27f8726550fa60463c9918182120144f6fec1f03ffa4df99c0e864e51c531"
16h Normal Pulled Pod/mysql-1-deploy Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e3a27f8726550fa60463c9918182120144f6fec1f03ffa4df99c0e864e51c531" in 53.44s (53.44s including waiting)
16h Normal Created Pod/mysql-1-deploy Created container deployment
16h Normal Started Pod/mysql-1-deploy Started container deployment
16h Warning Evicted Pod/mysql-1-deploy The node was low on resource: ephemeral-storage. Threshold quantity: 4902142351, available: 4091340Ki.
16h Normal Killing Pod/mysql-1-deploy Stopping container deployment
16h Normal SuccessfulCreate ReplicationController/mysql-1 Created pod: mysql-1-rs7pm
16h Warning FailedScheduling Pod/mysql-1-rs7pm 0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/disk-pressure: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling..
16h Warning ExceededGracePeriod Pod/mysql-1-deploy Container runtime did not kill the pod within specified grace period.
16h Normal ReplicationControllerScaled DeploymentConfig/mysql Scaled replication controller "mysql-1" from 1 to 0
16h Normal SuccessfulDelete ReplicationController/mysql-1 Deleted pod: mysql-1-rs7pm
16h Warning FailedScheduling Pod/mysql-1-rs7pm skip schedule deleting pod: mysqlproject/mysql-1-rs7pm
15h (x412 over 16h) Normal WaitForFirstConsumer PersistentVolumeClaim/mysql waiting for first consumer to be created before binding
32m Normal DeploymentCreated DeploymentConfig/mysql Created new replication controller "mysql-1" for version 1
32m Normal Scheduled Pod/mysql-1-deploy Successfully assigned mysqlproject/mysql-1-deploy to crc
32m Normal Pulling Pod/mysql-1-deploy Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e3a27f8726550fa60463c9918182120144f6fec1f03ffa4df99c0e864e51c531"
32m Normal AddedInterface Pod/mysql-1-deploy Add eth0 [10.217.0.56/23] from ovn-kubernetes
32m Normal Pulled Pod/mysql-1-deploy Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e3a27f8726550fa60463c9918182120144f6fec1f03ffa4df99c0e864e51c531" in 12.135s (12.135s including waiting)
32m Normal Created Pod/mysql-1-deploy Created container deployment
32m Normal Started Pod/mysql-1-deploy Started container deployment
32m Normal SuccessfulCreate ReplicationController/mysql-1 Created pod: mysql-1-gqcdh
32m Normal Scheduled Pod/mysql-1-gqcdh Successfully assigned mysqlproject/mysql-1-gqcdh to crc
31m Normal AddedInterface Pod/mysql-1-gqcdh Add eth0 [10.217.0.57/23] from ovn-kubernetes
27m (x4 over 31m) Normal Pulling Pod/mysql-1-gqcdh Pulling image "image-registry.openshift-image-registry.svc:5000/openshift/mysql@sha256:6443851109d1afaa39ddd86a608729e031be459dcea9f6f86a24382ae3c655e4"
26m (x4 over 30m) Warning Failed Pod/mysql-1-gqcdh Failed to pull image "image-registry.openshift-image-registry.svc:5000/openshift/mysql@sha256:6443851109d1afaa39ddd86a608729e031be459dcea9f6f86a24382ae3c655e4": rpc error: code = DeadlineExceeded desc = pinging container registry image-registry.openshift-image-registry.svc:5000: Get "https://image-registry.openshift-image-registry.svc:5000/v2/": dial tcp 10.217.4.119:5000: i/o timeout
26m (x4 over 30m) Warning Failed Pod/mysql-1-gqcdh Error: ErrImagePull
26m (x6 over 30m) Normal BackOff Pod/mysql-1-gqcdh Back-off pulling image "image-registry.openshift-image-registry.svc:5000/openshift/mysql@sha256:6443851109d1afaa39ddd86a608729e031be459dcea9f6f86a24382ae3c655e4"
26m (x6 over 30m) Warning Failed Pod/mysql-1-gqcdh Error: ImagePullBackOff
26m Normal Killing Pod/mysql-1-deploy Stopping container deployment
22m Normal DeploymentCreated DeploymentConfig/postgresql Created new replication controller "postgresql-1" for version 1
22m Normal Scheduled Pod/postgresql-1-deploy Successfully assigned mysqlproject/postgresql-1-deploy to crc
22m Normal Pulled Pod/postgresql-1-deploy Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e3a27f8726550fa60463c9918182120144f6fec1f03ffa4df99c0e864e51c531" already present on machine
22m Normal AddedInterface Pod/postgresql-1-deploy Add eth0 [10.217.0.65/23] from ovn-kubernetes
22m Normal Created Pod/postgresql-1-deploy Created container deployment
22m Normal Started Pod/postgresql-1-deploy Started container deployment
22m Normal Scheduled Pod/postgresql-1-wsd7f Successfully assigned mysqlproject/postgresql-1-wsd7f to crc
22m Normal SuccessfulCreate ReplicationController/postgresql-1 Created pod: postgresql-1-wsd7f
22m Normal AddedInterface Pod/postgresql-1-wsd7f Add eth0 [10.217.0.66/23] from ovn-kubernetes
20m Normal DeploymentCreated DeploymentConfig/mysql Created new replication controller "mysql-1" for version 1
20m Normal Scheduled Pod/mysql-1-deploy Successfully assigned mysqlproject/mysql-1-deploy to crc
20m Normal AddedInterface Pod/mysql-1-deploy Add eth0 [10.217.0.70/23] from ovn-kubernetes
20m Normal Pulled Pod/mysql-1-deploy Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e3a27f8726550fa60463c9918182120144f6fec1f03ffa4df99c0e864e51c531" already present on machine
20m Normal Created Pod/mysql-1-deploy Created container deployment
20m Normal Started Pod/mysql-1-deploy Started container deployment
20m Normal SuccessfulCreate ReplicationController/mysql-1 Created pod: mysql-1-gz2hl
20m Normal Scheduled Pod/mysql-1-gz2hl Successfully assigned mysqlproject/mysql-1-gz2hl to crc
20m Normal AddedInterface Pod/mysql-1-gz2hl Add eth0 [10.217.0.72/23] from ovn-kubernetes
18m (x3 over 21m) Warning Failed Pod/postgresql-1-wsd7f Failed to pull image "image-registry.openshift-image-registry.svc:5000/openshift/postgresql@sha256:37d992f9159b539fff761065fc36cf59d90540e6e6657bf85830a162f6806060": rpc error: code = DeadlineExceeded desc = pinging container registry image-registry.openshift-image-registry.svc:5000: Get "https://image-registry.openshift-image-registry.svc:5000/v2/": dial tcp 10.217.4.119:5000: i/o timeout
17m (x4 over 22m) Normal Pulling Pod/postgresql-1-wsd7f Pulling image "image-registry.openshift-image-registry.svc:5000/openshift/postgresql@sha256:37d992f9159b539fff761065fc36cf59d90540e6e6657bf85830a162f6806060"
16m Warning Failed Pod/postgresql-1-wsd7f Failed to pull image "image-registry.openshift-image-registry.svc:5000/openshift/postgresql@sha256:37d992f9159b539fff761065fc36cf59d90540e6e6657bf85830a162f6806060": pinging container registry image-registry.openshift-image-registry.svc:5000: Get "https://image-registry.openshift-image-registry.svc:5000/v2/": dial tcp 10.217.4.119:5000: i/o timeout
16m (x4 over 21m) Warning Failed Pod/postgresql-1-wsd7f Error: ErrImagePull
16m (x7 over 21m) Normal BackOff Pod/postgresql-1-wsd7f Back-off pulling image "image-registry.openshift-image-registry.svc:5000/openshift/postgresql@sha256:37d992f9159b539fff761065fc36cf59d90540e6e6657bf85830a162f6806060"
16m (x7 over 21m) Warning Failed Pod/postgresql-1-wsd7f Error: ImagePullBackOff
16m (x4 over 20m) Normal Pulling Pod/mysql-1-gz2hl Pulling image "image-registry.openshift-image-registry.svc:5000/openshift/mysql@sha256:6443851109d1afaa39ddd86a608729e031be459dcea9f6f86a24382ae3c655e4"
15m (x4 over 19m) Warning Failed Pod/mysql-1-gz2hl Failed to pull image "image-registry.openshift-image-registry.svc:5000/openshift/mysql@sha256:6443851109d1afaa39ddd86a608729e031be459dcea9f6f86a24382ae3c655e4": rpc error: code = DeadlineExceeded desc = pinging container registry image-registry.openshift-image-registry.svc:5000: Get "https://image-registry.openshift-image-registry.svc:5000/v2/": dial tcp 10.217.4.119:5000: i/o timeout
15m (x4 over 19m) Warning Failed Pod/mysql-1-gz2hl Error: ErrImagePull
14m (x7 over 19m) Warning Failed Pod/mysql-1-gz2hl Error: ImagePullBackOff
14m (x7 over 19m) Normal BackOff Pod/mysql-1-gz2hl Back-off pulling image "image-registry.openshift-image-registry.svc:5000/openshift/mysql@sha256:6443851109d1afaa39ddd86a608729e031be459dcea9f6f86a24382ae3c655e4"
12m Normal SuccessfulDelete ReplicationController/postgresql-1 Deleted pod: postgresql-1-wsd7f
12m Normal ReplicationControllerScaled DeploymentConfig/postgresql Scaled replication controller "postgresql-1" from 1 to 0
12m Warning FailedToUpdateEndpoint Endpoints/postgresql Failed to update endpoint mysqlproject/postgresql: Operation cannot be fulfilled on endpoints "postgresql": the object has been modified; please apply your changes to the latest version and try again
10m Normal SuccessfulDelete ReplicationController/mysql-1 Deleted pod: mysql-1-gz2hl
10m Normal ReplicationControllerScaled DeploymentConfig/mysql Scaled replication controller "mysql-1" from 1 to 0
98s (x247 over 61m) Normal WaitForFirstConsumer PersistentVolumeClaim/mysql waiting for first consumer to be created before binding

Responses