OpenShift Origin Failed to push image: After retrying 6 times, Push image still failed
up vote
0
down vote
favorite
I just installed Openshift using the tutorial in Apendix A in Openshift in action.
It installed and I can log into the web console. I am trying to create the sample php application. It builds fine but when it tries to deploy the image I get this.
Pushing image docker-registry.default.svc:5000/asdf/myphp:latest ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: After retrying 6 times, Push image still failed
I found the docker registry running on my second node. I do not see any obvious error. This is the registry logs.
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_ADDR"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PROTO"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_HOST"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT_REGISTRY_CONSOLE"
time="2018-11-10T20:41:16.171721924Z" level=info msg="start registry" distribution_version="v2.4.1+unknown" kubernetes_version=v1.6.1+5115d708d7 openshift_version=v3.6.1+269e828-9
time="2018-11-10T20:41:16.17738697Z" level=info msg="OpenShift middleware for storage driver initializing"
time="2018-11-10T20:41:16.177471868Z" level=info msg="redis not configured" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.177629328Z" level=info msg="Starting upload purge in 39m0s" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190931503Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190980234Z" level=info msg="OpenShift registry middleware initializing"
time="2018-11-10T20:41:16.190991255Z" level=info msg="Using Origin Auth handler" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191007415Z" level=debug msg="configured "openshift" access controller" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191056166Z" level=debug msg="configured token endpoint at "/openshift/token"" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191428563Z" level=info msg="listening on :5000, tls" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
registry service description
Name: docker-registry
Namespace: default
Labels:
Annotations:
Selector: docker-registry=default
Type: ClusterIP
IP: 172.30.166.60
Port: 5000-tcp 5000/TCP
Endpoints: 10.130.0.8:5000
Session Affinity: ClientIP
Events:
Any thoughts would be great.
openshift okd
add a comment |
up vote
0
down vote
favorite
I just installed Openshift using the tutorial in Apendix A in Openshift in action.
It installed and I can log into the web console. I am trying to create the sample php application. It builds fine but when it tries to deploy the image I get this.
Pushing image docker-registry.default.svc:5000/asdf/myphp:latest ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: After retrying 6 times, Push image still failed
I found the docker registry running on my second node. I do not see any obvious error. This is the registry logs.
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_ADDR"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PROTO"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_HOST"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT_REGISTRY_CONSOLE"
time="2018-11-10T20:41:16.171721924Z" level=info msg="start registry" distribution_version="v2.4.1+unknown" kubernetes_version=v1.6.1+5115d708d7 openshift_version=v3.6.1+269e828-9
time="2018-11-10T20:41:16.17738697Z" level=info msg="OpenShift middleware for storage driver initializing"
time="2018-11-10T20:41:16.177471868Z" level=info msg="redis not configured" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.177629328Z" level=info msg="Starting upload purge in 39m0s" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190931503Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190980234Z" level=info msg="OpenShift registry middleware initializing"
time="2018-11-10T20:41:16.190991255Z" level=info msg="Using Origin Auth handler" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191007415Z" level=debug msg="configured "openshift" access controller" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191056166Z" level=debug msg="configured token endpoint at "/openshift/token"" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191428563Z" level=info msg="listening on :5000, tls" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
registry service description
Name: docker-registry
Namespace: default
Labels:
Annotations:
Selector: docker-registry=default
Type: ClusterIP
IP: 172.30.166.60
Port: 5000-tcp 5000/TCP
Endpoints: 10.130.0.8:5000
Session Affinity: ClientIP
Events:
Any thoughts would be great.
openshift okd
For diagnose, you can login directly usingdocker
command todocker-registry.default.svc:5000
, refer Logging in to the Registry for more details. Because the deploy logs show the messages related with authentication about it.
– Daein Park
Nov 11 at 3:38
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I just installed Openshift using the tutorial in Apendix A in Openshift in action.
It installed and I can log into the web console. I am trying to create the sample php application. It builds fine but when it tries to deploy the image I get this.
Pushing image docker-registry.default.svc:5000/asdf/myphp:latest ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: After retrying 6 times, Push image still failed
I found the docker registry running on my second node. I do not see any obvious error. This is the registry logs.
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_ADDR"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PROTO"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_HOST"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT_REGISTRY_CONSOLE"
time="2018-11-10T20:41:16.171721924Z" level=info msg="start registry" distribution_version="v2.4.1+unknown" kubernetes_version=v1.6.1+5115d708d7 openshift_version=v3.6.1+269e828-9
time="2018-11-10T20:41:16.17738697Z" level=info msg="OpenShift middleware for storage driver initializing"
time="2018-11-10T20:41:16.177471868Z" level=info msg="redis not configured" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.177629328Z" level=info msg="Starting upload purge in 39m0s" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190931503Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190980234Z" level=info msg="OpenShift registry middleware initializing"
time="2018-11-10T20:41:16.190991255Z" level=info msg="Using Origin Auth handler" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191007415Z" level=debug msg="configured "openshift" access controller" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191056166Z" level=debug msg="configured token endpoint at "/openshift/token"" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191428563Z" level=info msg="listening on :5000, tls" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
registry service description
Name: docker-registry
Namespace: default
Labels:
Annotations:
Selector: docker-registry=default
Type: ClusterIP
IP: 172.30.166.60
Port: 5000-tcp 5000/TCP
Endpoints: 10.130.0.8:5000
Session Affinity: ClientIP
Events:
Any thoughts would be great.
openshift okd
I just installed Openshift using the tutorial in Apendix A in Openshift in action.
It installed and I can log into the web console. I am trying to create the sample php application. It builds fine but when it tries to deploy the image I get this.
Pushing image docker-registry.default.svc:5000/asdf/myphp:latest ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Warning: Push failed, retrying in 5s ...
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: After retrying 6 times, Push image still failed
I found the docker registry running on my second node. I do not see any obvious error. This is the registry logs.
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_ADDR"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_PORT_9000_TCP_PROTO"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_HOST"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT"
time="2018-11-10T20:41:16Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_CONSOLE_SERVICE_PORT_REGISTRY_CONSOLE"
time="2018-11-10T20:41:16.171721924Z" level=info msg="start registry" distribution_version="v2.4.1+unknown" kubernetes_version=v1.6.1+5115d708d7 openshift_version=v3.6.1+269e828-9
time="2018-11-10T20:41:16.17738697Z" level=info msg="OpenShift middleware for storage driver initializing"
time="2018-11-10T20:41:16.177471868Z" level=info msg="redis not configured" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.177629328Z" level=info msg="Starting upload purge in 39m0s" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190931503Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.190980234Z" level=info msg="OpenShift registry middleware initializing"
time="2018-11-10T20:41:16.190991255Z" level=info msg="Using Origin Auth handler" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191007415Z" level=debug msg="configured "openshift" access controller" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191056166Z" level=debug msg="configured token endpoint at "/openshift/token"" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
time="2018-11-10T20:41:16.191428563Z" level=info msg="listening on :5000, tls" go.version=go1.7.6 instance.id=e053b81e-0f94-4aa9-98f1-74ff40bbe73a openshift.logger=registry
registry service description
Name: docker-registry
Namespace: default
Labels:
Annotations:
Selector: docker-registry=default
Type: ClusterIP
IP: 172.30.166.60
Port: 5000-tcp 5000/TCP
Endpoints: 10.130.0.8:5000
Session Affinity: ClientIP
Events:
Any thoughts would be great.
openshift okd
openshift okd
asked Nov 10 at 21:21
Adam Nester
388
388
For diagnose, you can login directly usingdocker
command todocker-registry.default.svc:5000
, refer Logging in to the Registry for more details. Because the deploy logs show the messages related with authentication about it.
– Daein Park
Nov 11 at 3:38
add a comment |
For diagnose, you can login directly usingdocker
command todocker-registry.default.svc:5000
, refer Logging in to the Registry for more details. Because the deploy logs show the messages related with authentication about it.
– Daein Park
Nov 11 at 3:38
For diagnose, you can login directly using
docker
command to docker-registry.default.svc:5000
, refer Logging in to the Registry for more details. Because the deploy logs show the messages related with authentication about it.– Daein Park
Nov 11 at 3:38
For diagnose, you can login directly using
docker
command to docker-registry.default.svc:5000
, refer Logging in to the Registry for more details. Because the deploy logs show the messages related with authentication about it.– Daein Park
Nov 11 at 3:38
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53243527%2fopenshift-origin-failed-to-push-image-after-retrying-6-times-push-image-still%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
For diagnose, you can login directly using
docker
command todocker-registry.default.svc:5000
, refer Logging in to the Registry for more details. Because the deploy logs show the messages related with authentication about it.– Daein Park
Nov 11 at 3:38