Standard Docker images deployment Failing
I am trying to deploy some of my loaded Docker basic images[From Docker hub] to Openshift Enterprise through Dev Studio IDE Openshift/Docker plug-in but all of them are failing. I am able to deploy the pulled images[Tomcat etc. ] from red hat registry but I am not able deploy images from docker hub. I did docker save and docker load images and then tried, both the following:
- Deployment through an Eclipse/RED Hat Studio client
- Deployment through oc new-app --docker-image=websphere-liberty:latest
Output of oc status
svc/websphere-liberty - 172.30.201.181 ports 8080, 8443, 8778
dc/websphere-liberty deploys docker.io/library/websphere-liberty:latest
#1 deployment running for 5 seconds
But at the end the deployment fails with the following issue, this never happens with images I deploy from Red Hat registry.
Error:
Waiting 600 seconds for pods owned by deployment "new-hori/websphere-liberty-1" to become ready (checking every 1 seconds; 0 pods previously accepted)
5 F0728 00:18:29.600217 1 deployer.go:63] update acceptor rejected new-hori/websphere-liberty-1: pods for deployment "new-hori/websphere-liberty-1" took longer than 600 seconds to become ready
Responses
"oc get events" can give you some insight. If you see error some like
Failed to pull image ..........: Error: image ....... not found, its trying to pull it from the registry configured on your node. If its a custom image make sure you have pushed it in some registry.
Has similar issue.. 1. create new project 2. choose [Overview > Add to Project] and choose “Django+PostgreSQL(Persistent)” 3. press [Create] (leave forms default), then deployment fails.
Waiting up to 10m0s for pods in deployment postgresql-1 to become ready error: update acceptor rejected postgresql-1: pods for deployment "postgresql-1" took longer than 600 seconds to become ready
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
