Bug 1229208
| Summary: | The atomic command fail to remove images. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Anatoly Litovsky <tlitovsk> |
| Component: | docker | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Luwen Su <lsu> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | ajia, fdeutsch, lsm5 |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-21 03:36:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I think it should be the same issue to https://bugzilla.redhat.com/show_bug.cgi?id=1228167, the docker-1.6.2-8.el7 has fixed it, but we need to build a new Atomic tree to use new docker-1.6.2-8.el7. [cloud-user@atomic1 ~]$ atomic host status TIMESTAMP (UTC) VERSION ID OSNAME REFSPEC * 2015-06-04 15:58:17 7.1.3 1be8ac8f66 rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard 2015-04-02 20:14:06 7.1.1-1 21bd99f9f3 rhel-atomic-host rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard [cloud-user@atomic1 ~]$ rpm -q docker docker-1.6.2-6.el7.x86_64 |
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