'NoneType' object is not iterable

Bug #1608322 reported by Liyingjun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
In Progress
High
Liyingjun

Bug Description

When there is image with no TAG exists, the deploy will failed with:

fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_HRm5s0/ansible_module_kolla_docker.py\", line 734, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_HRm5s0/ansible_module_kolla_docker.py\", line 552, in start_container\\n if not self.check_image():\\n File \"/tmp/ansible_HRm5s0/ansible_module_kolla_docker.py\", line 245, in check_image\\n for image_name in image[\\'RepoTags\\']:\\nTypeError: \\'NoneType\\' object is not iterable\\n'"}

No Tag image:

# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> 833587850fc8 2 days ago 463.3 MB

Liyingjun (liyingjun)
Changed in kolla:
assignee: nobody → Liyingjun (liyingjun)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/349315

Changed in kolla:
status: New → In Progress
Changed in kolla:
importance: Undecided → High
milestone: none → newton-3
Revision history for this message
Liyingjun (liyingjun) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Li Yingjun (<email address hidden>) on branch: master
Review: https://review.openstack.org/349315

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.