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:
Atomic mount can't recognize image ID of docker format, but atomic info works well, IMO, we should have a unified process of dealing with image ID.
Version-Release number of selected component (if applicable):
# rpm -q atomic docker python-docker-py
atomic-1.10.5-3.el7.x86_64
docker-1.10.3-40.el7.x86_64
python-docker-py-1.7.2-1.el7.noarch
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
How reproducible:
always
Steps to Reproduce:
1. docker images
2. atomic mount <image id> /mnt
Actual results:
# docker images registry.access.redhat.com/rhel7
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.access.redhat.com/rhel7 latest bf2034427837 5 weeks ago 203.4 MB
# atomic mount bf2034427837 /mnt
bf2034427837 did not match any image or container.
# atomic images | grep registry.access.redhat.com/rhel7
> registry.access.redhat.com/rhel7 latest sha256:bf203 2016-05-05 12:43 203.43 MB
# atomic mount sha256:bf203 /mnt
# df | grep mnt
/dev/dm-7 10474496 1063204 9411292 11% /var/lib/docker/devicemapper/mnt/b819aabce2ecd69cacec05b0cd10344a3251234b218a0783dea749d022bc9107
/dev/dm-8 10474496 228804 10245692 3% /mnt
# atomic umount /mnt
Expected results:
Additional info:
# atomic info bf2034427837
Image Name: registry.access.redhat.com/rhel7:latest
Vendor: Red Hat, Inc.
Name: rhel7/rhel
Build_Host: rcm-img03.build.eng.bos.redhat.com
Version: 7.2
Architecture: x86_64
Release: 61
BZComponent: rhel-server-docker
Authoritative_Registry: registry.access.redhat.com
# atomic info sha256:bf203
Image Name: sha256:bf203
Vendor: Red Hat, Inc.
Name: rhel7/rhel
Build_Host: rcm-img03.build.eng.bos.redhat.com
Version: 7.2
Architecture: x86_64
Release: 61
BZComponent: rhel-server-docker
Authoritative_Registry: registry.access.redhat.com
(In reply to Daniel Walsh from comment #6)
> So you are saying this is broken on atomic-1.11 but seems to be fixed in
> atomic-1.12-devel?
I mean it works on upstream master branch, the current commit id is 70c51001, I'm not sure if it's atomic-1.11 or atomic-1.12-devel, BTW, I can't find a atomic-1.11 in RHELAH or RHEL now, so I need to wait a new 1.11 build on RHELAH or RHEL.
(In reply to Daniel Walsh from comment #3)
> Works for me in Fedora.
>
> Fixed in atomic-1.11
Daniel, there is no atomic-1.11 RPM package in RHEL7, it works well in atomic-1.12.0-1.el7.x86_64.rpm, so it should be fix in atomic-1.12.
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://rhn.redhat.com/errata/RHBA-2016-2628.html
Description of problem: Atomic mount can't recognize image ID of docker format, but atomic info works well, IMO, we should have a unified process of dealing with image ID. Version-Release number of selected component (if applicable): # rpm -q atomic docker python-docker-py atomic-1.10.5-3.el7.x86_64 docker-1.10.3-40.el7.x86_64 python-docker-py-1.7.2-1.el7.noarch # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) How reproducible: always Steps to Reproduce: 1. docker images 2. atomic mount <image id> /mnt Actual results: # docker images registry.access.redhat.com/rhel7 REPOSITORY TAG IMAGE ID CREATED SIZE registry.access.redhat.com/rhel7 latest bf2034427837 5 weeks ago 203.4 MB # atomic mount bf2034427837 /mnt bf2034427837 did not match any image or container. # atomic images | grep registry.access.redhat.com/rhel7 > registry.access.redhat.com/rhel7 latest sha256:bf203 2016-05-05 12:43 203.43 MB # atomic mount sha256:bf203 /mnt # df | grep mnt /dev/dm-7 10474496 1063204 9411292 11% /var/lib/docker/devicemapper/mnt/b819aabce2ecd69cacec05b0cd10344a3251234b218a0783dea749d022bc9107 /dev/dm-8 10474496 228804 10245692 3% /mnt # atomic umount /mnt Expected results: Additional info: # atomic info bf2034427837 Image Name: registry.access.redhat.com/rhel7:latest Vendor: Red Hat, Inc. Name: rhel7/rhel Build_Host: rcm-img03.build.eng.bos.redhat.com Version: 7.2 Architecture: x86_64 Release: 61 BZComponent: rhel-server-docker Authoritative_Registry: registry.access.redhat.com # atomic info sha256:bf203 Image Name: sha256:bf203 Vendor: Red Hat, Inc. Name: rhel7/rhel Build_Host: rcm-img03.build.eng.bos.redhat.com Version: 7.2 Architecture: x86_64 Release: 61 BZComponent: rhel-server-docker Authoritative_Registry: registry.access.redhat.com