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 [Get VM network info] *******************************************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'ipaddr'
fatal: [hypervisor]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "", line 102, in \n File "", line 94, in _ansiballz_main\n File "", line 40, in invoke_module\n File "/usr/lib64/python3.6/runpy.py", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_virt_util_payload_qtmepmo9/ansible_virt_util_payload.zip/ansible/modules/virt_util.py", line 21, in \nModuleNotFoundError: No module named 'ipaddr'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
NO MORE HOSTS LEFT ***************************************************************************************************************************************************************************************************************************
Releases
SO (Hypervisor-ansible-executor): Red Hat Enterprise Linux release 8.3 (Ootpa)
$ ansible --version
ansible 2.9.19
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /root/infrared/.venv/lib/python3.6/site-packages/ansible
executable location = /root/infrared/.venv/bin/ansible
python version = 3.6.8 (default, Aug 18 2020, 08:33:21) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
Command
$ infrared virsh -o delete.yml --remove-nodes undercloud-0 --host-address localhost --host-key ~/.ssh/id_rsa
Output
...
TASK [Get VM network info] *******************************************************************************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'ipaddr'
fatal: [hypervisor]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "", line 102, in \n File "", line 94, in _ansiballz_main\n File "", line 40, in invoke_module\n File "/usr/lib64/python3.6/runpy.py", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_virt_util_payload_qtmepmo9/ansible_virt_util_payload.zip/ansible/modules/virt_util.py", line 21, in \nModuleNotFoundError: No module named 'ipaddr'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
NO MORE HOSTS LEFT ***************************************************************************************************************************************************************************************************************************
PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
hypervisor : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
ERROR Playbook "/root/.infrared/plugins/virsh/main.yml" failed!
The text was updated successfully, but these errors were encountered: