-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Status 503 trying to push repository #12863
Comments
@legionus it looks like perhaps the ip address here is pointing to the router and that the route is either not created or not responding properly although the reproduction steps show the login was successful which is strange. @Bahadyr if you have set up a route for the registry service can you paste the route definition? Thanks! |
Thanks @pweil- Here is the route YAML.
|
@Bahadyr You use a proxy? |
@Bahadyr looks like it is possibly that the route is not a passthrough route (see the termination type) |
@legionus no. @pweil- I just set it in YAML. Tried to push image, and getting 503 now.
|
@Bahadyr just for completeness can you delete and recreate the route as passthrough rather than editing it? Then ensure that the route is accepted (via the status conditions) before trying a login and push? A 503 usually means that the router got the request but didn't have the route to serve. If that doesn't work we can debug more. |
@pweil-
|
Could be related to https://bugzilla.redhat.com/show_bug.cgi?id=1311452 |
It looks like the issue in idle state. Reopen if the problem is still relevant. |
I realize this is closed, but I have the same issue now. anybody know how to resolve it? |
@kb7791: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
same issue here pushing an image received unexpected HTTP status: 503 Service Unavailable |
I've created a docker image containing my app, and I want to push it to remote docker-registry on OpenShift.
Version
oc v1.4.1+3f9807a
kubernetes v1.4.0+776c994
features: Basic-Auth
Server https://openshift.abcdefg.co:8443
openshift v1.4.1+3f9807a
kubernetes v1.4.0+776c994
Preconditions
https://openshift.abcdefg.co:8443
Default
project is created and contains docker-registry pod, service and routeaaaaa/bbbbb:latest
docker tag aaaaa/bbbbb:latest docker-registry-default.<ip-address>.xip.io/bbbbb
docker-registry-default.<ip-address>.xip.io/bbbbb
to docker's insecure registries listSteps To Reproduce
$ login
oc login https://openshift.abcdefg.co:8443
$ oc whoami -t
LOAfJAT4gf7CeR-o_1-LVoud_ABCD-8vtO1B0kNFPs0
$ docker login -u admin -p LOAfJAT4gf7CeR-o_1-LVoud_ABCD-8vtO1B0kNFPs0 docker-registry-default..xip.io
Login Succeeded
$ docker push docker-registry-default..xip.io/bbbbb
Current Result
Expected Result
Image should be pushed successfully.
The text was updated successfully, but these errors were encountered: