DescriptionPatrick C. F. Ernzer
2020-09-14 11:58:25 UTC
Description of problem:
I seem unable to use infrastructure-playbooks/purge-iscsi-gateways.yml on a containerised RHCS 4.1 install.
Version-Release number of selected component (if applicable):
ceph-ansible-4.0.25.2-1.el8cp.noarch
How reproducible:
always
Steps to Reproduce:
1. have a working Ceph cluster
2. add two [iscsigws]
3. deploy
4. decide against iSCSI
5. attempt to purge iSCSI gateways as per documentation
Actual results:
TASK [igw_purge | purging the gateway configuration] *****************************************************************************************************************************************************************************************
Monday 14 September 2020 10:42:10 +0200 (0:00:00.123) 0:00:10.707 ******
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'rados'
fatal: [f5-422-02.storage.pcfe.net]: FAILED! => changed=false
module_stderr: |-
Traceback (most recent call last):
File "<stdin>", line 114, in <module>
File "<stdin>", line 106, in _ansiballz_main
File "<stdin>", line 49, in invoke_module
File "/usr/lib64/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib64/python3.6/imp.py", line 170, in load_source
module = _exec(spec, sys.modules[name])
File "<frozen importlib._bootstrap>", line 618, in _exec
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/tmp/ansible_igw_purge_payload_sazj4vxu/__main__.py", line 40, in <module>
ModuleNotFoundError: No module named 'rados'
module_stdout: ''
msg: |-
MODULE FAILURE
See stdout/stderr for the exact error
rc: 1
Expected results:
If ceph-ansible handles my install and I use a containerized install type, I do expect all needed python modules present.
Additional info:
Description of problem: I seem unable to use infrastructure-playbooks/purge-iscsi-gateways.yml on a containerised RHCS 4.1 install. Version-Release number of selected component (if applicable): ceph-ansible-4.0.25.2-1.el8cp.noarch How reproducible: always Steps to Reproduce: 1. have a working Ceph cluster 2. add two [iscsigws] 3. deploy 4. decide against iSCSI 5. attempt to purge iSCSI gateways as per documentation Actual results: TASK [igw_purge | purging the gateway configuration] ***************************************************************************************************************************************************************************************** Monday 14 September 2020 10:42:10 +0200 (0:00:00.123) 0:00:10.707 ****** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'rados' fatal: [f5-422-02.storage.pcfe.net]: FAILED! => changed=false module_stderr: |- Traceback (most recent call last): File "<stdin>", line 114, in <module> File "<stdin>", line 106, in _ansiballz_main File "<stdin>", line 49, in invoke_module File "/usr/lib64/python3.6/imp.py", line 235, in load_module return load_source(name, filename, file) File "/usr/lib64/python3.6/imp.py", line 170, in load_source module = _exec(spec, sys.modules[name]) File "<frozen importlib._bootstrap>", line 618, in _exec File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/tmp/ansible_igw_purge_payload_sazj4vxu/__main__.py", line 40, in <module> ModuleNotFoundError: No module named 'rados' module_stdout: '' msg: |- MODULE FAILURE See stdout/stderr for the exact error rc: 1 Expected results: If ceph-ansible handles my install and I use a containerized install type, I do expect all needed python modules present. Additional info: