You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: image cache/mysql:pullthrough not found #8399
Error: image cache/mysql:pullthrough not found!!! Error in hack/../hack/../test/end-to-end/core.sh:129 'docker pull ${DOCKER_REGISTRY}/cache/mysql:pullthrough' exited with status 1Call stack: 1: hack/../hack/../test/end-to-end/core.sh:129 main(...)Exiting with status 1
After several investigations the problem I've managed to identify is this error:
Error getting ImageStreamTag "pullthrough": imagestreamtags "mysql:pullthrough" not found
The #8461 wrapped image-import and docker pull commands into os::cmd::expect_success, which should either fix the problem or give us some more info. I'm especially hoping to get stdout and stderr from the image-import command which might fail for some unknown reason leading to failing docker pull.
For now I'm advising to lower the priority of the bug, since it's not a permanent issue but rather a interminent problem.
@miminar good catch, now that we have the import output this is what we got: import failed: you may not have access to the Docker image "mysql:latest
We're currently being hit by this problem in two places:
at import time
at pull time
To nail the problem we'd have to log entire traffic between us and docker registry. It looks like docker registry is sometimes blocking us, requiring auth (?), because I can't seem to find any other reasonable explanation. Especially that the image we're trying to get is public, even more docker-provided. @smarterclayton@pweil-@miminar thoughts?
I think this is fixed in #8558, the docker hub occasionally returns 401 on import. Need to clean the fix up and make it even more targeted (discuss whether to preserve this for DTR, which I bet has this problem as well).
@smarterclayton after careful investigation the only two operations we do not retry are store.Open and io.CopyN from pullthroughBlobStore. The logs evidently shows the io.CopyN is the culprit in the output you've pointed me to, see:
time="2016-04-25T15:36:57.066474262Z" level=info msg="Copying 217 bytes of type \"application/octet-stream\" for \"sha256:7e224052b3b1fc91443295519f43edf302997496c13dd970c122f189485e0178\""
time="2016-04-25T15:36:57.090276777Z" level=error msg="Failed copying content from remote store \"sha256:7e224052b3b1fc91443295519f43edf302997496c13dd970c122f189485e0178\": unauthorized: authentication required"
The question is, should we retry, since apparently this is hitting the issue the great @liggitt identified, about hitting a clock-skewed server.
from pullthroughBlobStore. The logs evidently shows the io.CopyN is the
culprit in the output you've pointed me to, see:
time="2016-04-25T15:36:57.066474262Z" level=info msg="Copying 217
bytes of type "application/octet-stream" for
"sha256:7e224052b3b1fc91443295519f43edf302997496c13dd970c122f189485e0178""
time="2016-04-25T15:36:57.090276777Z" level=error msg="Failed copying
content from remote store
"sha256:7e224052b3b1fc91443295519f43edf302997496c13dd970c122f189485e0178":
unauthorized: authentication required"
Per this comment I'm proposing to wait a bit and see what happens and how fast their fix will be actually live. Additionally talking to @smarterclayton on IRC he's not too much comfortable with us retrying reading bytes.
I added retries to a few other places - I think this is fixed upstream, because I haven't seen retries in the logs when I've been looking at other issues.
Activity
soltysh commentedon Apr 7, 2016
@miminar any idea why docker registry is falling to v1 registry, this is what I see in the logs:
It's downloading the image just fine, but suddenly it reaches for v1 registry, any ideas?
soltysh commentedon Apr 7, 2016
I have the full docker registry log, if needed.
smarterclayton commentedon Apr 7, 2016
If this is a flake that will affect users in production it's p0 (until we prove otherwise).
soltysh commentedon Apr 12, 2016
After several investigations the problem I've managed to identify is this error:
The #8461 wrapped image-import and docker pull commands into
os::cmd::expect_success, which should either fix the problem or give us some more info. I'm especially hoping to get stdout and stderr from the image-import command which might fail for some unknown reason leading to failing docker pull.For now I'm advising to lower the priority of the bug, since it's not a permanent issue but rather a interminent problem.
liggitt commentedon Apr 13, 2016
seen in https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/41/console
soltysh commentedon Apr 13, 2016
This looks like a different error:
Looking into it.
miminar commentedon Apr 15, 2016
Here's another: https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5597/console (PR #8438)
soltysh commentedon Apr 18, 2016
@miminar good catch, now that we have the import output this is what we got:
import failed: you may not have access to the Docker image "mysql:latestWe're currently being hit by this problem in two places:
To nail the problem we'd have to log entire traffic between us and docker registry. It looks like docker registry is sometimes blocking us, requiring auth (?), because I can't seem to find any other reasonable explanation. Especially that the image we're trying to get is public, even more docker-provided. @smarterclayton @pweil- @miminar thoughts?
7 remaining items
smarterclayton commentedon Apr 19, 2016
I think this is fixed in #8558, the docker hub occasionally returns 401 on import. Need to clean the fix up and make it even more targeted (discuss whether to preserve this for DTR, which I bet has this problem as well).
soltysh commentedon Apr 27, 2016
I'm reopening for the time of debugging the failure in https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/301/consoleFull
soltysh commentedon Apr 27, 2016
@smarterclayton after careful investigation the only two operations we do not retry are store.Open and io.CopyN from
pullthroughBlobStore. The logs evidently shows theio.CopyNis the culprit in the output you've pointed me to, see:The question is, should we retry, since apparently this is hitting the issue the great @liggitt identified, about hitting a clock-skewed server.
smarterclayton commentedon Apr 27, 2016
What backs the input stream that is returned by open?
On Apr 27, 2016, at 6:14 AM, Maciej Szulik [email protected] wrote:
@smarterclayton https://github.com/smarterclayton after careful
investigation the only two operations we do not retry are store.Open
origin/pkg/dockerregistry/server/pullthroughblobstore.go
Line 118 in 6f6d94c
and io.CopyN
origin/pkg/dockerregistry/server/pullthroughblobstore.go
Line 127 in 6f6d94c
from pullthroughBlobStore. The logs evidently shows the io.CopyN is the
culprit in the output you've pointed me to, see:
time="2016-04-25T15:36:57.066474262Z" level=info msg="Copying 217
bytes of type "application/octet-stream" for
"sha256:7e224052b3b1fc91443295519f43edf302997496c13dd970c122f189485e0178""
time="2016-04-25T15:36:57.090276777Z" level=error msg="Failed copying
content from remote store
"sha256:7e224052b3b1fc91443295519f43edf302997496c13dd970c122f189485e0178":
unauthorized: authentication required"
The question is, should we retry, since apparently this is hitting the
issue the great @liggitt https://github.com/liggitt identified, about
hitting a clock-skewed server.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#8399 (comment)
soltysh commentedon Apr 27, 2016
Per this comment I'm proposing to wait a bit and see what happens and how fast their fix will be actually live. Additionally talking to @smarterclayton on IRC he's not too much comfortable with us retrying reading bytes.
soltysh commentedon Apr 28, 2016
The same problem
appeared in https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/450/ (the linked PR).
smarterclayton commentedon Jun 1, 2016
I think this is resolved.
soltysh commentedon Jun 1, 2016
I wouldn't be that sure, esp. that the issue is silent for past month... I'd love to be that way...
smarterclayton commentedon Jun 1, 2016
I added retries to a few other places - I think this is fixed upstream, because I haven't seen retries in the logs when I've been looking at other issues.
Since openshift#8399 was closed I'm reverting this change, hopefully …