-
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
TestNewAppRunBuilds fails with unexpected error: no match for "centos/mongodb-26-centos7" #8444
Comments
This is lower priority because this is calling our legacy |
If anyone sees this again please look for the debugging output I added in #8552 |
Debug output:
|
So this looks like some sort of race condition with the docker registry - we have a valid token, but then we get a 401 from the registry. I bet this is also happening on import. I think what we need to do is track when we have a token and the age on it - then retry if it's within a window. If it's a truly public image, and we get this error, we should retry a lot more times - there is no reason for a public image not to retry. Going to whip something up. |
Looks like a transient flake in the registry:
We import two, back to back, then fail on one. We succeed first, then fail second, which may be token propagation or possibly even that one of the Hub registry services has a clock skew and is rejecting newly minted tokens. |
I'm going to try to do a confined fix - where if we get a 401, we retry a few times - and if we've successfully pulled an image we replenish the retry. Or something complex like this. I assume this may also happen on the protected registry, and on docker trusted registries. |
I think I have a fix. Was able to consistently recreate it, it's around ~1/200 calls to the hub, and usually happens on the first request to the hub after getting an auth token. |
I'll need to have a separate bit of code for pkg/dockerregistry - debating whether it's even worth it since we only call the v2 code path in that one test. I may just switch the test to imagestreamimport and declare the old code path for pkg/dockerregistry dead. |
This latest is actually a different error:
|
https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5552/consoleFull
The text was updated successfully, but these errors were encountered: