No module named 'ansible.module_utils.openstack'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
High
|
Cédric Jeanneret |
Bug Description
Hello,
While doing node provisioning with metalsmith on my fresh master deploy, I hit the mentioned issue.
It comes from:
https:/
If we check the top of that file, we can see the actual import exception is "masked" - so I edited the file, removing the try/except in order to display the actual python error:
2022-03-31 04:41:33.480636 | 24420198-
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundE
2022-03-31 04:41:33.638778 | 24420198-
ogen/runner.py\", line 975, in _run\n self._run_
This happens in my lab, but I'm pretty sure CI will hit it sooner or later.
Here are the involved versions:
python3-
ansible-
ansible-
Weird thing is: packages are pretty old - minimum a week, and I'm using the tripleo-ci-testing line.
Just to clear off any doubts about "may be related to <strategy in use>":
[CentOS-9 - stack@undercloud ~]$ python module_ utils.openstack import openstack_ full_argument_ spec rror: No module named 'ansible. module_ utils.openstack '
Python 3.9.10 (main, Feb 9 2022, 00:00:00)
[GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ansible.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundE
>>>