Skip to content
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: build error: Failed to push image: API error (404): {"message":"open /etc/docker/certs.d/docker-registry.default.svc:5000/node-client-ca.crt: no such file or directory"} #68

Open
debianmaster opened this issue May 27, 2018 · 10 comments

Comments

@debianmaster
Copy link
Owner

error: build error: Failed to push image: API error (404): {"message":"open /etc/docker/certs.d/docker-registry.default.svc:5000/node-client-ca.crt: no such file or directory"}

@debianmaster
Copy link
Owner Author

Solution:

cp /etc/origin/master/client-ca-bundle.crt /etc/origin/node/client-ca.crt

@wenchma
Copy link

wenchma commented Jun 28, 2018

I also have the same error, but the file /etc/origin/node/client-ca.crt exists,

# ls -l /etc/docker/certs.d/docker-registry.default.svc\:5000/node-client-ca.crt 
lrwxrwxrwx. 1 root root 30 Jun 26 00:55 /etc/docker/certs.d/docker-registry.default.svc:5000/node-client-ca.crt -> /etc/origin/node/client-ca.crt

@debianmaster
Copy link
Owner Author

try restarting origin-controllers that may fix few issues

@wenchma
Copy link

wenchma commented Jul 3, 2018

@debianmaster thanks, this issue was fixed, 👍

@debianmaster
Copy link
Owner Author

what was the fix?

@sverma37
Copy link

@wenchma What was the fix ?

@carlocesar
Copy link

Not yet fixed?

@debianmaster
Copy link
Owner Author

@carlocesar what error do you see?

@ratheeshpc
Copy link

cp /etc/origin/master/client-ca-bundle.crt /etc/origin/node/client-ca.crt
Should be done in all Compute nodes I think, With that it solved my problem for same error

@shoaibjdev
Copy link

For v3.9 on all compute nodes:
rm -f /etc/docker/certs.d/docker-registry.default.svc:5000/node-client-ca.crt
ln -s /etc/origin/node/ca.crt /etc/docker/certs.d/docker-registry.default.svc:5000/node-client-ca.crt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants