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.










share|improve this question






















  • 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

















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.










share|improve this question






















  • 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















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.










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 21:21









Adam Nester

388




388












  • 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


















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



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma