Bug 1420657 - docker push to local Docker v1 Registry fails occasionally
Summary: docker push to local Docker v1 Registry fails occasionally
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker-registry
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-09 08:18 UTC by Marko Myllynen
Modified: 2019-04-10 12:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-10 12:50:38 UTC
Target Upstream Version:


Attachments (Terms of Use)
push-log.txt (42.41 KB, text/plain)
2017-02-09 08:18 UTC, Marko Myllynen
no flags Details

Description Marko Myllynen 2017-02-09 08:18:51 UTC
Created attachment 1248747 [details]
push-log.txt

Description of problem:
I've seen the below kind of error a few times, usually push works all ok:

The push refers to a repository [registry.example.com:5000/redhat-sso-7/sso70-openshift]
f69c4dd03a49: Waiting 
c57533510290: Waiting 
899e90251367: Waiting 
2f2c71ba7d1a: Pushing 195.8 MB/195.8 MB
a2de66622680: Image successfully pushed 
22426f366c51: Already exists 
94b2db70f747: Already exists 
Failed to upload layer: Put http://registry.example.com:5000/v1/images/05f89e41dbbca067e3d76a63cb66fc44e6aa6bf92fe0b4a8f87f983afd1628d2/layer: read tcp 192.168.122.1:42008->192.168.122.1:5000: read: connection reset by peer

Since v1 registries are rarely used I'm not sure how much effort is warranted here (I'm not eager to spend much time on this) but since I happened to capture the case when logging was set to debug I'm at least reporting this here.

I'm attaching the logs which contain all the information available.

Version-Release number of selected component (if applicable):
docker-registry-0.9.1-7.el7.x86_64

Comment 2 Lokesh Mandvekar 2019-04-10 12:50:38 UTC
docker-registry has been obsoleted by docker-distribution. Please file a bug against docker-distribution if this issue exists with it as well..


Note You need to log in before you can comment on or make changes to this bug.