Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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 (Red Hat) 2014-07-21 13:08:31 UTC
Bug is also present with docker-1.1.1-1.el7.x86_64.

Comment 3 Jan Pazdziora (Red Hat) 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