kolla-build tool failes to create rhel based containers - TypeError: argument of type 'NoneType' is not iterable

Bug #1790579 reported by Shyam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Shyam

Bug Description

Latest kolla-build tool from master repository[https://github.com/openstack/kolla] fails when user tries to build containers with --base rhel. Without base option it works well.

Here is stack trace:
[root@rhosp13-shyam-dev trilio-horizon-plugin]# python /home/stack/kolla/tools/build.py --base rhel horizon
INFO:kolla.common.utils:Found the docker image folder at /home/stack/kolla/docker
Traceback (most recent call last):
  File "/home/stack/kolla/tools/build.py", line 40, in <module>
    sys.exit(main())
  File "/home/stack/kolla/tools/build.py", line 30, in main
    statuses = build.run_build()
  File "/home/stack/kolla/kolla/image/build.py", line 1292, in run_build
    queue = kolla.build_queue(push_queue)
  File "/home/stack/kolla/kolla/image/build.py", line 1223, in build_queue
    self.filter_images()
  File "/home/stack/kolla/kolla/image/build.py", line 985, in filter_images
    if image.name in skipped_images:
TypeError: argument of type 'NoneType' is not iterable

[root@rhosp13-shyam-dev trilio-horizon-plugin]# cd /home/stack/kolla
[root@rhosp13-shyam-dev kolla]# git remote -v
origin https://github.com/openstack/kolla (fetch)
origin https://github.com/openstack/kolla (push)
[root@rhosp13-shyam-dev kolla]# git branch
* master

Revision history for this message
Martin André (mandre) wrote :
Revision history for this message
Shyam (shyam.biradar) wrote :

After pulling this commit: https://review.openstack.org/#/c/588518/, issue got solved.

Revision history for this message
Shyam (shyam.biradar) wrote :

Fix was already committed. After getting latest pull, issue got solved. commit: https://review.openstack.org/#/c/588518/

Changed in kolla:
status: New → Fix Released
assignee: nobody → Shyam (shyam.biradar)
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.