-
Notifications
You must be signed in to change notification settings - Fork 877
Registry freezes regularly whilst fetching image from S3 #866
Comments
By the way, I wanted to report the docker registry version, but I cannot tell which version it is. I'm running image ID 985e98f8266b from the official docker registry which was pulled about 3 days ago. |
Here is a description of what and how to obtain a bunch of useful information: https://github.com/docker/docker-registry/blob/master/DEBUGGING.md#basics (the "basics" and "Your private registry" sections) These infos will help a lot figuring out what's happening. From a quick glance at your stacktrace, it looks like your communication with your S3 bucket is not working well. |
Another thing to mention is that I've reproduced the issue on two separate EC2 instances. |
I don't think "the basics" section matter since the issue is reproducible just with cURL and without docker in the way. Result from the _ping endpoint with DEBUG:
Starting with:
|
Authentication is done via IAM instance role, hence why AWS_SECRET etc aren't supplied, it "just works" with boto. (Side note: I'm concerned this might be broken with the NG registry, is it worth bringing this up in its own issue now, or should I wait?). |
@pwaller about this not being supported by next-generation, yes by all means go ahead and open a new issue (cc @BrianBland @AndreyKostov ) About your v1 issue, can you try without AWS_ENCRYPT and AWS_SECURE? |
I've added support for IAM instance role authentication in next-generation in the upcoming s3 driver refactor pr |
@pwaller any news on trying without AWS_ENCRYPT and AWS_SECURE? |
We haven't done much over the holiday period. Glad to hear IAM authentication is in the rewrite. Please re-ping if you come across this issue in greater than 10 days from now, since I should continue to experience it and be frustrated enough to do the AWS_ENCRYPT experiment if it is still a problem. |
Tidying up my personal issues list, so closing this. Please create a new issue if you're still interested in tracking it. |
I believe this was fixed by #961 |
Regularly docker pull fails by either hanging or crashing out.
I've narrowed the problem down, I can reproduce it reliably with a curl to
http://.../v1/images/.../layer
(which is ~100MiB) with no proxies in the way. The frequency seems to vary. Sometimes it is 1 in 15, sometimes it is 1 in 2.The problem has a similar feel to #815.
Docker client output looks like this:
The text was updated successfully, but these errors were encountered: