You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [Refresh the overcloud node facts] ********************************************************************************************************************************************************************
task path: /root/.infrared/plugins/tripleo-overcloud/update_inventory.yml:24
<<>>
The full traceback is:
WARNING: The below traceback may not be related to the actual failure.
File "/tmp/ansible_os_server_facts_payload_j1SKHi/ansible_os_server_facts_payload.zip/ansible/module_utils/openstack.py", line 116, in openstack_cloud_from_module
sdk = importlib.import_module('openstack')
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module import(name)
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/init.py", line 16, in
import openstack.config
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/init.py", line 17, in
from openstack.config.loader import OpenStackConfig # noqa
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/loader.py", line 33, in
from openstack.config import cloud_region
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/cloud_region.py", line 44, in
from openstack import proxy
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/proxy.py", line 24, in
from openstack import resource
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/resource.py", line 49, in
from openstack import utils
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/utils.py", line 13, in
import queue
(.venv_infrared) [root@stack-apac-lab-04 ~]# /var/tmp/venv_shade/bin/python
Python 2.7.5 (default, Jun 11 2019, 14:33:56)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import importlib
sdk = importlib.import_module('openstack')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module import(name)
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/init.py", line 16, in
import openstack.config
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/init.py", line 17, in
from openstack.config.loader import OpenStackConfig # noqa
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/loader.py", line 33, in
from openstack.config import cloud_region
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/cloud_region.py", line 44, in
from openstack import proxy
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/proxy.py", line 24, in
from openstack import resource
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/resource.py", line 49, in
from openstack import utils
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/utils.py", line 13, in
import queue
ImportError: No module named queue
(venv_shade) [root@stack-apac-lab-04 ~]# python
Python 2.7.5 (default, Jun 11 2019, 14:33:56)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
TASK [Refresh the overcloud node facts] ********************************************************************************************************************************************************************
task path: /root/.infrared/plugins/tripleo-overcloud/update_inventory.yml:24
<<>>
The full traceback is:
WARNING: The below traceback may not be related to the actual failure.
File "/tmp/ansible_os_server_facts_payload_j1SKHi/ansible_os_server_facts_payload.zip/ansible/module_utils/openstack.py", line 116, in openstack_cloud_from_module
sdk = importlib.import_module('openstack')
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/init.py", line 16, in
import openstack.config
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/init.py", line 17, in
from openstack.config.loader import OpenStackConfig # noqa
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/loader.py", line 33, in
from openstack.config import cloud_region
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/config/cloud_region.py", line 44, in
from openstack import proxy
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/proxy.py", line 24, in
from openstack import resource
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/resource.py", line 49, in
from openstack import utils
File "/var/tmp/venv_shade/lib/python2.7/site-packages/openstack/utils.py", line 13, in
import queue
fatal: [undercloud-0 -> stack-apac-lab-04.lab.eng.rdu2.redhat.com]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"api_timeout": null,
"auth": null,
"auth_type": null,
"availability_zone": null,
"cacert": null,
"cert": null,
"cloud": "undercloud",
"detailed": null,
"interface": "public",
"key": null,
"region_name": null,
"server": null,
"timeout": 180,
"validate_certs": false,
"verify": false,
"wait": true
}
},
"msg": "openstacksdk is required for this module"
}
Then Ran following:
(.venv_infrared) [root@stack-apac-lab-04 ~]# /var/tmp/venv_shade/bin/python
Python 2.7.5 (default, Jun 11 2019, 14:33:56)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Looks like its missing queue module
(venv_shade) [root@stack-apac-lab-04
]# cp ./venv_infrared/lib/python2.7/site-packages/queue /var/tmp/venv_shade/lib/python2.7/site-packages/ -r(venv_shade) [root@stack-apac-lab-04 ~]# python
Python 2.7.5 (default, Jun 11 2019, 14:33:56)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: