Bug 1121239

Summary: docker pull from custom registry errors on Invalid Namespace Name
Product: Red Hat Enterprise Linux 7 Reporter: Devan Goodwin <dgoodwin>
Component: dockerAssignee: John Keck <jkeck>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.1CC: bsarathy, dwalsh, jpazdziora, lsu, mjenner, ppyy
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-18 20:46:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1109938, 1138364    

Description Devan Goodwin 2014-07-18 17:52:40 UTC
Description of problem:

Attempting to pull an image from a custom docker registry errors out with:

Error: Invalid namespace name (docker.usersys.redhat.com), only [a-z0-9_] are allowed, size between 4 and 30


Version-Release number of selected component (if applicable):

docker-1.0.0-11.el7.x86_64


Steps to Reproduce:

1. Install new docker rpm as referenced above from http://download.devel.redhat.com/brewroot/repos/extras-rhel-7.1-candidate/latest/

2. docker pull docker-registry.usersys.redhat.com/brew/rhel7:latest 

Actual results:

[root@dgoodwin-rhel7-dockerci hudson]# docker pull docker-registry.usersys.redhat.com/brew/rhel7:latest 
2014/07/18 13:50:44 Error: Invalid namespace name (docker-registry.usersys.redhat.com), only [a-z0-9_] are allowed, size between 4 and 30



Additional info:

Problem does not occur with docker-1.0.0-2.el7.x86_64, nor the version currently in Fedora 20.

Comment 2 Jan Pazdziora 2014-07-21 13:08:31 UTC
Bug is also present with docker-1.1.1-1.el7.x86_64.

Comment 3 Jan Pazdziora 2014-07-21 13:23:14 UTC
The last build without this bug is docker-1.0.0-8.el7, docker-1.0.0-9.el7 is the first one to fail.

Comment 4 Daniel Walsh 2014-07-22 16:55:16 UTC
Fixed in  docker-1.1.1-2.el7

Comment 5 Luwen Su 2014-08-05 09:58:02 UTC
# rpm -q docker
docker-1.1.2-6.el7.x86_64

# docker pull docker-registry.usersys.redhat.com/brew/rhel7:latest 
Pulling repository docker-registry.usersys.redhat.com/brew/rhel7
81ed26a5d836: Downloading [==>                                                ] 2.602 MB/51.92 MB 1m31s

Set Verified

Comment 6 errata-xmlrpc 2014-09-18 20:46:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1266.html