Unsolved
1 Rookie
•
1 Message
0
117
September 13th, 2023 22:56
Ansible modules for Isilon - facing errors while using it to gather facts
Does anyone know why this issue occurred?
fatal: [localhost]: FAILED! = {"msg": "Could not find imported module support code for ansible.modules.dellemc_isilon_gatherfacts.
Looked for (['ansible.module_utils.storage.dell.dellemc_ansible_isilon_utils',, OperatingSystem: Other
TASK [Get nodes of the Isilon cluster] *************************************************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "Could not find imported module support code for ansible.modules.dellemc_isilon_gatherfacts.
Looked for (['ansible.module_utils.storage.dell.dellemc_ansible_isilon_utils', 'ansible.module_utils.storage.dell'])"}
The full traceback is:
Traceback (most recent call last):
File "/opt/pythonlibansible/ansible/executor/task_executor.py", line 158, in run
res = self._execute()
File "/opt/pythonlibansible/ansible/executor/task_executor.py", line 651, in _execute
result = self._handler.run(task_vars=vars_copy)
File "/opt/pythonlibansible/ansible/plugins/action/normal.py", line 47, in run
result = merge_hash(result, self._execute_module(task_vars=task_vars, wrap_async=wrap_async))
File "/opt/pythonlibansible/ansible/plugins/action/__init__.py", line 1047, in _execute_module
(module_style, shebang, module_data, module_path) = self._configure_module(module_name=module_name, module_args=module_args, task_vars=task_vars)
File "/opt/pythonlibansible/ansible/plugins/action/__init__.py", line 285, in _configure_module
(module_data, module_style, module_shebang) = modify_module(module_name, module_path, module_args, self._templar,
File "/opt/pythonlibansible/ansible/executor/module_common.py", line 1358, in modify_module
(b_module_data, module_style, shebang) = _find_module_utils(module_name, b_module_data, module_path, module_args, task_vars, templar, module_compression,
File "/opt/pythonlibansible/ansible/executor/module_common.py", line 1164, in _find_module_utils
recursive_finder(module_name, remote_module_fqn, b_module_data, zf)
File "/opt/pythonlibansible/ansible/executor/module_common.py", line 936, in recursive_finder
module_info = LegacyModuleUtilLocator(py_module_name, is_ambiguous=is_ambiguous,
File "/opt/pythonlibansible/ansible/executor/module_common.py", line 796, in __init__
self._locate(redirect_first=False) # let local stuff override redirects for legacy
File "/opt/pythonlibansible/ansible/executor/module_common.py", line 749, in _locate
if self._find_module(candidate_name_parts):
File "/opt/pythonlibansible/ansible/executor/module_common.py", line 813, in _find_module
if info is not None and os.path.splitext(info.origin)[1] in importlib.machinery.SOURCE_SUFFIXES:
File "/opt/rh/rh-python38/root/usr/lib64/python3.8/posixpath.py", line 118, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
fatal: [localhost]: FAILED! => {
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
I am facing below error while using the ansible modules for dell emc Isilon. The error is observed on ansible server while executing the ansible code.
Followed below documents to install the required collections with ansible-galaxy
https://github.com/dell/ansible-isilon/blob/1.1.0/README.md [github.com]
jennifer_john
1 Rookie
•
79 Posts
1
September 25th, 2023 13:09
Hi @Jose.Azofeifa
The ansible-isilon links are deprecated.
The latest ansible collection for PowerScale can be found in https://github.com/dell/ansible-powerscale
Updated links for galaxy and AH below:
https://galaxy.ansible.com/dellemc/powerscale
https://console.redhat.com/ansible/automation-hub/repo/published/dellemc/powerscale/