openshift-examples
openshift-examples copied to clipboard
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"}
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"}
Solution:
cp /etc/origin/master/client-ca-bundle.crt /etc/origin/node/client-ca.crt
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
try restarting origin-controllers
that may fix few issues
@debianmaster thanks, this issue was fixed, 👍
what was the fix?
@wenchma What was the fix ?
Not yet fixed?
@carlocesar what error do you see?
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
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