Unsolved
6 Posts
0
1683
Ansible modules for PowerMax require the PyU4V python library to be installed
Getting this error when running any playbook. PyU4V is installed and working fine. The playbooks work fine when ran against 'localhost', not when specifying the target host or inventory file, though they are the same node.
"msg": "Ansible modules for PowerMax require the PyU4V python library to be installed. Please install the library before using these modules."
}
FoolInTheRain
123 Posts
1
March 30th, 2021 07:00
Can you run again using the -vvv option so there is a more verbose message/info?
JoshPrice
6 Posts
0
March 30th, 2021 08:00
You convinced me to look though the complete error message again, which I had done dozens of times before, but not thoroughly enough. I resolved this with the ansible_python_interpreter host var for now. Thanks!
[WARNING]: Platform linux on host mysehost is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com /ansible/2.10/reference_appendices/interpreter_discovery.html for more information.
soc-storage
2 Posts
0
April 5th, 2021 12:00
bmcfeeters
1 Rookie
1 Rookie
•
72 Posts
2
April 5th, 2021 13:00
Hi soc-storage,
Best starting place would be to view the embedded examples in the docs by running
ansible-doc dellemc.powermax.dellemc_powermax_gatherfacts
Or viewing our samples and examples repo on github.
https://github.com/dell/ansible-storage-automation/tree/master/powermax
Here is a quick playbook which uses the gather facts module to show a list of masking views...
soc-storage
2 Posts
0
April 5th, 2021 20:00
Thank you much!. It worked as expected.
If possible could you please share the playbook for viewing the ansible documentation as well?
Thanks in advance
bmcfeeters
1 Rookie
1 Rookie
•
72 Posts
1
April 6th, 2021 06:00
To view the embedded examples in the documentation simply user the ansible-doc command followed by the module name like this.
ansible-doc dellemc.powermax.dellemc_powermax_gatherfacts