Description of problem:
To try to delete all of images, we will hit error like this
"local variable 'img_obj' referenced before assignment".
Version-Release number of selected component (if applicable):
[root@atomic-host-test-986 ~]# atomic host status
Version: 7.3.2 (2017-01-13 22:00:41)
[root@atomic-host-test-986 ~]# rpm -q atomic docker skopeo
[root@atomic-host-test-986 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Atomic Host release 7.3
Steps to Reproduce:
1. atomic pull <images>
2. atomic images delete -a
$ atomic images delete -a
Do you wish to delete the following images?
Confirm (y/N) y
local variable 'img_obj' referenced before assignment
I submitted a PR to fix this: https://github.com/projectatomic/atomic/pull/827
I think this was already fixed upstream.
Alex, are we good?
Brent if it is fixed in atomic-1.15.4-2.el7 then move this to Modified, if it is in atomic-1.16.2 we should move it to fixed there but put it in POST.
(In reply to Brent Baude from comment #3)
> Alex, are we good?
Yes, it works well for me.
Alex which version?
It also works well in latest atomic-1.17.1-1.gitf304570.el7.x86_64 w/ skopeo-0.1.18-1.el7.x86_64 and docker-1.12.6-18.git29d6f69.el7.x86_64.
It also works in atomic-1.17.2-2.git2760e30.el7.x86_64.
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.