Bug 1388110 - Untagged Images in Docker cache breaks Atomic command [NEEDINFO]
Summary: Untagged Images in Docker cache breaks Atomic command
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: atomic
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Brent Baude
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-24 13:33 UTC by thunt
Modified: 2020-12-15 07:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 07:48:27 UTC
Target Upstream Version:
bbaude: needinfo? (thunt)
bbaude: needinfo? (thunt)


Attachments (Terms of Use)

Description thunt 2016-10-24 13:33:06 UTC
Description of problem:
Instantiate an untagged Docker images as a container. Most atomic commands stop working and exit with "'NoneType' object is not iterablen"

Version-Release number of selected component (if applicable):

atomic-1.10.5-7.el7.x86_64

How reproducible:

Very

Steps to Reproduce:
1. Run any atomic command that looks at the Docker image cache - For example "atomic diff"
2. See below
3.

With untagged image:

[root@master ~]# docker images
REPOSITORY                                                       TAG                 IMAGE ID            CREATED             SIZE
registry.access.redhat.com/openshift3/ose-pod                    v3.2.1.17           2d461a3c1330        11 days ago         213.9 MB
registry.access.redhat.com/rhel7/openscap                        latest              fe6f007ba9df        6 weeks ago         362.8 MB
registry.access.redhat.com/openshift3/metrics-heapster           3.2.1               4ab10acec2e5        7 weeks ago         282.4 MB
172.30.0.2:5000/mydemo-1/ticket-monster                          <none>              3c4082b2f3ab        10 weeks ago        1.275 GB
registry.access.redhat.com/openshift3/ose-haproxy-router         v3.2.1.7            8f6c7a324335        3 months ago        498.6 MB
registry.access.redhat.com/openshift3/ose-docker-registry        v3.2.1.7            876af4879111        3 months ago        527.8 MB
registry.access.redhat.com/openshift3/metrics-hawkular-metrics   3.2.1               219e26f45297        4 months ago        1.463 GB
registry.access.redhat.com/openshift3/metrics-cassandra          3.2.1               afeae5fccd3f        4 months ago        836 MB

[root@master ~]# atomic diff registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17 registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17 -v
'NoneType' object is not iterablen[root@master ~]#

Without untagged image:

[root@master ~]# docker images
REPOSITORY                                                       TAG                 IMAGE ID            CREATED             SIZE
registry.access.redhat.com/openshift3/ose-pod                    v3.2.1.17           2d461a3c1330        11 days ago         213.9 MB
registry.access.redhat.com/rhel7/openscap                        latest              fe6f007ba9df        6 weeks ago         362.8 MB
registry.access.redhat.com/openshift3/metrics-heapster           3.2.1               4ab10acec2e5        7 weeks ago         282.4 MB
registry.access.redhat.com/openshift3/ose-haproxy-router         v3.2.1.7            8f6c7a324335        3 months ago        498.6 MB
registry.access.redhat.com/openshift3/ose-docker-registry        v3.2.1.7            876af4879111        3 months ago        527.8 MB
registry.access.redhat.com/openshift3/metrics-hawkular-metrics   3.2.1               219e26f45297        4 months ago        1.463 GB
registry.access.redhat.com/openshift3/metrics-cassandra          3.2.1               afeae5fccd3f        4 months ago        836 MB

[root@master ~]# atomic diff registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17 registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17 -v

There are no file differences between registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17 and registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17

Additional info:

Comment 2 Alex Jia 2017-03-10 08:43:39 UTC
It works in 7.3.3.


[root@atomic-host-test-986 cloud-user]# atomic diff registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17 registry.access.redhat.com/openshift3/ose-pod:v3.2.1.17 -v

Common files that are different: (reason)
     . (time)
     etc/mtab (time)
     etc/hostname (time)
     etc/hosts (time)
     dev/pts (time)
     dev (time)
     dev/shm (time)
     dev/console (time)
     .dockerenv (time)
     etc (time)
     etc/resolv.conf (time)

[root@atomic-host-test-986 cloud-user]# atomic host status
State: idle
Deployments:
● rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard
       Version: 7.3.3 (2017-02-21 19:19:03)
        Commit: 1113d4385d7edf7b13e48cc5c09c73ba03d293f1f73b948784a63a6beee95b46
        OSName: rhel-atomic-host

Comment 3 Brent Baude 2017-04-04 19:23:04 UTC
Are you still observing this problem?

Comment 5 RHEL Program Management 2020-12-15 07:48:27 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.