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.
/etc/containers/registries.conf.d/rhel-shortnames.conf shipped in containers-common-1:1.2.2-1.module+el8.4.0+10073+30e5ea69 (subpackage of skopeo) has a wrong shortname for ubi8-minimal:
"ubi8-minimal" = "registry.access.redhat.com/repository/ubi8-minimal"
When I try to pull the image using the short name, it fails:
$ podman pull ubi8-minimal
Resolved "ubi8-minimal" as an alias (/etc/containers/registries.conf.d/rhel-shortnames.conf)
Trying to pull registry.access.redhat.com/repository/ubi8-minimal:latest...
name unknown: Repo not found
Error: Error initializing source docker://registry.access.redhat.com/repository/ubi8-minimal:latest: Error reading manifest latest in registry.access.redhat.com/repository/ubi8-minimal: name unknown: Repo not found
When I try to pull the image using the full name, it also fails:
$ podman pull registry.access.redhat.com/repository/ubi8-minimal
Trying to pull registry.access.redhat.com/repository/ubi8-minimal:latest...
name unknown: Repo not found
Error: Error initializing source docker://registry.access.redhat.com/repository/ubi8-minimal:latest: Error reading manifest latest in registry.access.redhat.com/repository/ubi8-minimal: name unknown: Repo not found
The official docs (https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8?gti-tabs=unauthenticated&container-tabs=gti) says that ubi8-minimal is available at the following address:
registry.access.redhat.com/ubi8/ubi-minimal
I tried `podman pull registry.access.redhat.com/ubi8/ubi-minimal` and it indeed worked.
Interestingly, Fedora uses `registry.access.redhat.com/ubi8-minimal` as a shortname and it also works.
Ondřej,
You should not need to do this, but as a test, can you change the entry in /etc/containers/registries.conf.d/rhel-shortnames.conf of:
"ubi8-minimal" = "registry.access.redhat.com/repository/ubi8-minimal"
to
"ubi8-minimal" = "registry.access.redhat.com/ubi8/ubi-minimal"
and see if you can pull with the short name?
Scott McCarty, can you please confirm that the "registry.access.redhat.com/ubi8/ubi-minimal" is the correct location we should have in the conf file for RHEL 8.4?
Assigning to Valentin for the moment, but this may be heading to Jindrich quickly.
Comment 6Valentin Rothberg
2021-02-24 10:39:27 UTC
Looking at https://github.com/containers/shortnames/blob/main/shortnames.conf, we have:
"ubi8-minimal" = "registry.access.redhat.com/ubi8-minimal"
"ubi8/ubi-minimal" = "registry.access.redhat.com/ubi8-minimal"
This must be resolved on the packaging side, so I am assigning it to Jindrich.
(In reply to Ondřej Budai from comment #14)
> The scratch build fixed the issue.
>
> $ podman pull ubi8-minimal
> Resolved "ubi8-minimal" as an alias
> (/etc/containers/registries.conf.d/rhel-shortnames.conf)
> Trying to pull registry.access.redhat.com/ubi8-minimal:latest...
> Getting image source signatures
> Checking if image destination supports signatures
> Copying blob 76b9354adec6 done
> Copying blob a591faa84ab0 done
> Copying config dc080723f5 done
> Writing manifest to image destination
> Storing signatures
> dc080723f596f2407300cca2c19a17accad89edcf39f7b8b33e6472dd41e30f1
Thanks Ondřej. Now I will allow PM to review rhel-shortnames.conf which is attached to this bug. Once confirmed I will commit and build.
Laurie, can you please confirm the attached rhel-shortnames.conf looks good?
I'm not Laurie, but I've perused through the rhel-shortnames.conf and tried pulling each of the ubi-minimal images and they all LGTM. Jindrich, do you by chance have a change log/diff between this file that you've attached and the one that you started with? Just to quadruple check.
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 (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:1796