The screen shot you sent was a bit blurry for me, but it appears you have the following errors:
: File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py, line 633, in _execute_module : File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py, line 165, in _configure_module : ImportError: No module named _init_
"msg": "Unexpected failure during execution"
Can you validate that you have the file /usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py installed in both setups?
I do not believe that module is installed by Dell Ansible Module for Isilon.
The instructions say to copy the __init__.py file from /Utils to the this directory: /usr/lib/ /site-packages/ansible/module_utils/storage/dell
(not the directory mentioned in the error)
Lets validate that it is located there as well.
Text from the installation instructions:
2. Copy the Ansible modules to the appropriate locations in the virtual machine. a. Copy dellemc_ansible_isilon_utils.py and __init__.py from the /utils directory to the following locations: /usr/lib/ /site-packages/ansible/module_utils/storage/del
FoolInTheRain
123 Posts
0
August 18th, 2020 10:00
Hi IsilonUser_VEC,
The screen shot you sent was a bit blurry for me, but it appears you have the following errors:
:
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py, line 633, in _execute_module
:
File "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py, line 165, in _configure_module
:
ImportError: No module named _init_
"msg": "Unexpected failure during execution"
Can you validate that you have the file /usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py
installed in both setups?
I do not believe that module is installed by Dell Ansible Module for Isilon.
IsilonUser_VEC
3 Posts
0
August 18th, 2020 10:00
Hi,
Thank you for your quick response.
I checked and we have those files available on this location.
FoolInTheRain
123 Posts
0
August 18th, 2020 11:00
The instructions say to copy the __init__.py file from /Utils to the this directory: /usr/lib/ /site-packages/ansible/module_utils/storage/dell
(not the directory mentioned in the error)
Lets validate that it is located there as well.
Text from the installation instructions:
2. Copy the Ansible modules to the appropriate locations in the virtual machine.
a. Copy dellemc_ansible_isilon_utils.py and __init__.py from the /utils directory to the following locations:
/usr/lib/ /site-packages/ansible/module_utils/storage/del
IsilonUser_VEC
3 Posts
0
August 19th, 2020 04:00
Hi ,
Thank you for your help.
We followed the documentation and copied those two files on the following location
Screenshot attached.
FoolInTheRain
123 Posts
0
August 19th, 2020 07:00
Hi,
Here is some info I've found that you my want to look into, it's regarding your sys.path:
https://stackoverflow.com/questions/16480898/receiving-import-error-no-module-named-but-has-init-py
And in addition to that, have you:
installed any other ansible modules on this system?
can you run your playbook with the -vvv switch to get verbose logs?