-
Notifications
You must be signed in to change notification settings - Fork 174
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
Docker pull on docker store fails #8138
Comments
I found the cause of this issue. We changed the default registry URL from registry-1.docker.io to registry.hub.docker.com as part of the content trust work. I didn't work on that and have no knowledge of it, and the people who made the changes do not remember why we made the change. In any case registry-1 is actually hardcoded in docker's code so I think we can just change it back and see if our ci build complains during the content trust tests. I've also fixed a bug in the fetcher pertaining to interpretation of unauthorized access. It was presenting an improper error message leading me down the wrong path during debugging. We should now return access denied, which the docker registry code also returns. |
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. ``` [full ci] [parallel jobs=4] ``` Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. ``` [full ci] [parallel jobs=4] ``` Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
We changed the default docker registry URL back when we were adding content trust. That URL is causing this failure. The URL has been changed back to the same value that is hardcoded in the docker distribution code. Also fixed an error interpretation in the fetcher code to match Docker's interpretation. We were returning image not found when the actual error was access denied. This led the debugging of this issue down the wrong path and will eventually lead us down the wrong path with future bugs. Fixes vmware#8138
@sflxn do we need to document this? |
Sorry about the accidental close! |
I think it's worth a release note, as it's something customers had reported as broken, but I don't think it needs to be mentioned in the user documentation. |
Added as a resolved issue in https://github.com/vmware/vic/releases/tag/v1.4.3 |
https://kb.vmware.com/s/article/56634 will also need to be updated once the fix is available. |
Docker pull on images on docker store fails. For instance,
Internal bug 2152747.
The text was updated successfully, but these errors were encountered: