Project

General

Profile

Actions

Bug #10804

closed

Docker tag published at information should not contain uppercase chars or not valid docker image name chars

Added by Partha Aji almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1230777
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
FATA0000 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

Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5296 added
  • Pull request deleted ()
Actions #2

Updated by David Davis almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF