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: when running atomic uninstall for container that is not based on image with :latest tag the images not removed and Traceback is thrown Version-Release number of selected component (if applicable):-bash-4.2# atomic host status TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC * 2015-05-07 19:00:48 7.1.2 203dd666d3 rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard 2015-02-19 20:26:26 7.1.0 5799825b36 rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard How reproducible: 100% Steps to Reproduce: 1.atomic install docker.tolik.com:5000/vdsmc:ovirt35 2.atomic uninstall vdsmc Actual results: -bash-4.2# atomic uninstall vdsmc Traceback (most recent call last): File "/usr/bin/atomic", line 581, in <module> sys.exit(args.func()) File "/usr/bin/atomic", line 387, in uninstall args = self._get_args("UNINSTALL") File "/usr/bin/atomic", line 245, in _get_args labels = self._get_labels() File "/usr/bin/atomic", line 190, in _get_labels return self._getconfig("Labels", []) File "/usr/bin/atomic", line 177, in _getconfig assert self.inspect is not None and images are present -bash-4.2# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE docker.tolik.com:5000/vdsmc ovirt35 5129b0a7de47 26 hours ago 969.7 MB Expected results: no Traceback and images removed Additional info: -bash-4.2# atomic install docker.tolik.com:5000/vdsmc:ovirt35 Trying to pull repository docker.tolik.com:5000/vdsmc ... 5129b0a7de47: Download complete 6941bfcbbfca: Download complete 41459f052977: Download complete fd44297e2ddb: Download complete 6fc909a1c259: Download complete 183a006c6e59: Download complete cc9e70b6c3d6: Download complete ec63c3ac8e5a: Download complete a721c8b37ac2: Download complete ea6984eeb905: Download complete 28d547c03a3f: Download complete 5516b416e218: Download complete 24e1c9e2166e: Download complete 4ca6b59599da: Download complete d00bd4f4bfa2: Download complete b64608dba6b9: Download complete 3c13b2882372: Download complete 4b0e89c5c6a4: Download complete 991575b64ab1: Download complete 70575e48567f: Download complete 7f43db400378: Download complete e7adea968758: Download complete aa3525d9ff69: Download complete 2f015758d802: Download complete Status: Downloaded newer image for docker.tolik.com:5000/vdsmc:ovirt35 docker run --rm --privileged -v /:/host -e HOST=/host -e CONFDIR=${CONFDIR} -e DATADIR=${DATADIR} -e IMAGE=docker.tolik.com:5000/vdsmc:ovirt35 -e NAME=vdsmc docker.tolik.com:5000/vdsmc:ovirt35 /container/atomic-install.sh; Creating container 007a22bdb1e050daa952b5d98b9641d0d49284152f4873896593dce741f5dad4 Install service ln -s '/etc/systemd/system/vdsmc.service' '/etc/systemd/system/multi-user.target.wants/vdsmc.service' -bash-4.2# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 007a22bdb1e0 docker.tolik.com:5000/vdsmc:ovirt35 "/usr/sbin/init" 24 seconds ago Up 18 seconds vdsmc -bash-4.2# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE docker.tolik.com:5000/vdsmc ovirt35 5129b0a7de47 25 hours ago 969.7 MB -bash-4.2# atomic uninstall vdsmc Traceback (most recent call last): File "/usr/bin/atomic", line 581, in <module> sys.exit(args.func()) File "/usr/bin/atomic", line 387, in uninstall args = self._get_args("UNINSTALL") File "/usr/bin/atomic", line 245, in _get_args labels = self._get_labels() File "/usr/bin/atomic", line 190, in _get_labels return self._getconfig("Labels", []) File "/usr/bin/atomic", line 177, in _getconfig assert self.inspect is not None AssertionError -bash-4.2# -bash-4.2# -bash-4.2# -bash-4.2# atomic host status TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC * 2015-05-07 19:00:48 7.1.2 203dd666d3 rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard 2015-02-19 20:26:26 7.1.0 5799825b36 rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard -bash-4.2# packet_write_wait: Connection to 192.168.100.251: Broken pipe tolikl in ~/workspace/ovirt/docker/rhelMachine -bash-4.2# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE docker.tolik.com:5000/vdsmc ovirt35 5129b0a7de47 26 hours ago 969.7 MB