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.
Description of problem:
On Atomic host, after making sure that all required subscriptions and entitlements are in place, command
# atomic install registry.access.redhat.com/jboss-eap-7-tech-preview/eap70
fails with
unknown: Not Found
At the same time, 'docker pull registry.access.redhat.com/jboss-eap-7-tech-preview/eap70' works without any issues. Other Tech Preview images do not have this problem.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Atomic Host release 7.3
Linux unused 3.10.0-514.16.1.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
atomic-1.16.5-1.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Install Atomic host
2. Subscribe and attach all entitlements required for Tech Preview images
3. Run 'atomic install registry.access.redhat.com/jboss-eap-7-tech-preview/eap70'
Actual results:
error:
unknown: Not Found
Expected results:
image successfully pulled from registry and installed
Additional info:
It seems to be failing on "GET https://registry.access.redhat.com/v2/jboss-eap-7-tech-preview/eap70/manifests/latest":
# /usr/bin/skopeo --debug --tls-verify=false inspect docker://registry.access.redhat.com/jboss-eap-7-tech-preview/eap70
WARN[0000] '--tls-verify' is deprecated, please set this on the specific subcommand
DEBU[0000] Using registries.d directory /etc/containers/registries.d for sigstore configuration
DEBU[0000] Using "default-docker" configuration
DEBU[0000] No signature storage configuration found for registry.access.redhat.com/jboss-eap-7-tech-preview/eap70:latest
DEBU[0000] GET https://registry.access.redhat.com/v2/
DEBU[0000] Ping https://registry.access.redhat.com/v2/ err <nil>
DEBU[0000] Ping https://registry.access.redhat.com/v2/ status 200
DEBU[0000] GET https://registry.access.redhat.com/v2/jboss-eap-7-tech-preview/eap70/manifests/latest
FATA[0001] unknown: Not Found
--
Kind Regards,
Igor Netkachev
Technical Support Engineer
Red Hat Global Support Services
Besides everything else (this is _not_ the core issue), the weird error message is caused by the server using the error reporting interface incorrectly:
> HTTP/1.1 404 NOT FOUND
> Connection: close
> Content-Length: 53
> Content-Type: application/json
> Date: Thu, 25 May 2017 14:44:16 GMT
> Server: Apache
>
> {"errors": [{"code": "404", "message": "Not Found"}]}
The "code" value is supposed to be one of specific registered strings (github.com/docker/distribution/registry/api/errcode.Register), in this case perhaps NAME_UNKNOWN or MANIFEST_UNKNOWN (really, it would be more user friendly not to pretend that the image does not exist but to explicitly say “authorization denied” or something like that, but that’s another separate issue). Using "code": "404" causes the error code decoder to fall back to that "unknown error" string.
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.
https://access.redhat.com/errata/RHBA-2017:2601