Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 1230777

Summary: Docker tag published at information should not contain uppercase chars or not valid docker image name chars
Product: Red Hat Satellite Reporter: Elyézer Rezende <erezende>
Component: WebUIAssignee: David Davis <daviddavis>
WebUI sub component: Foreman QA Contact: Elyézer Rezende <erezende>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: mmccune
Version: 6.1.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10804
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 14:02:08 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:
Attachments:
Description Flags
screen shot showing the wrong URL none

Description Elyézer Rezende 2015-06-11 14:16:34 UTC
Created attachment 1037721 [details]
screen shot showing the wrong URL

Description of problem:
Information provided by the tag listing is not accurate. Docker does not allow uppercase chars. Even though the information is not all lowercase the image is published at a lowercase only URL. This happens only when the docker image is published within a content view.

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

How reproducible:
Aways

Steps to Reproduce:
1. Create a Product, add a docker repository (with uppercase letter in the name) and sync it.
2. Create a Content View (with uppercase letters in the name), add the created docker repository and publish it
3. Go to the "Content > Docker Tags". Look for the image "Published at" column it will be displaying something like the attached screenshot.

Actual results:
The "Published at" information does not match the real published at URL.

Expected results:
The "Published at" information matches the real published at URL.

Additional info:

The information is not accurate because by manually turning all the URL to lowercase it works.

[root@ibm-x3250m4-06 ~]# docker pull ibm-x3250m4-06.example.com:5000/default_organization-library-Containers_CV-DockerProduct-RHEL:latest
FATA[0000] Invalid repository name (default_organization-library-Containers_CV-DockerProduct-RHEL), only [a-z0-9-_.] are allowed
[root@ibm-x3250m4-06 ~]# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
[root@ibm-x3250m4-06 ~]# docker pull ibm-x3250m4-06.example.com:5000/default_organization-library-containers_cv-dockerproduct-rhel:latest
Trying to pull repository ibm-x3250m4-06.example.com:5000/default_organization-library-containers_cv-dockerproduct-rhel ...
65de4a13fc7c: Download complete
Status: Downloaded newer image for ibm-x3250m4-06.example.com:5000/default_organization-library-containers_cv-dockerproduct-rhel:latest

Comment 2 Partha Aji 2015-06-12 18:41:33 UTC
Created redmine issue http://projects.theforeman.org/issues/10804 from this bug

Comment 3 Elyézer Rezende 2015-06-15 16:22:48 UTC
Verified on S8C2

Steps to verify:

1. Created a Product, added a docker repository (with uppercase letter in the name) and synced it.
2. Created a Content View (with uppercase letters in the name), added the created docker repository and published it
3. Go to the "Content > Docker Tags". Looked for the image "Published at" column, all URLs are normalized to lowercase characters.

Comment 4 Bryan Kearney 2015-08-11 13:36:52 UTC
This bug is slated to be released with Satellite 6.1.

Comment 5 Bryan Kearney 2015-08-12 14:02:08 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.