periodic master container build fails ImportError: No module named queue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
This blocks the entire centos7 master promotion chain at [1] and [2] the container build fails with
2020-02-20 08:22:40 | Requirement already up-to-date: decorator in ./venv_
2020-02-20 08:22:44 | Traceback (most recent call last):
2020-02-20 08:22:44 | File "/home/
2020-02-20 08:22:44 | from kolla.cmd.build import main
2020-02-20 08:22:44 | File "/home/
2020-02-20 08:22:44 | from kolla.image import build # noqa
2020-02-20 08:22:44 | File "/home/
2020-02-20 08:22:44 | import queue
2020-02-20 08:22:44 | ImportError: No module named queue
NOT SURE IF RELATED: An earlier run failed on a slightly different error not sure if that is related or a different bug/transient... see [3] ("Could not find a version that satisfies the requirement python-
[1] https:/
[2] https:/
[3] https:/
that merged https:/ /review. opendev. org/#/c/ 691316/ is why so we have the import error on queue... in py3 this is now queue (previously Queue, I know right?!) - see [1]
We could pin kolla for now posted that https:/ /review. rdoproject. org/r/25083 but ideally it should be handled kolla side. Even more ideally we should be using python3...
**** rror: No module named 'Queue'
[1]
[m@192 ~]$ python2
Python 2.7.17 (default, Oct 20 2019, 00:00:00)
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import queue
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named queue
>>> import Queue
>>> exit()
[m@192 ~]$ python3
Python 3.7.6 (default, Jan 30 2020, 09:44:41)
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import queue
>>> import Queue
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundE
>>> exit()