40 Posts
0
1596
December 2nd, 2022 02:00
PowerFlex Ansible Modules error
ansible-playbook dellemc_powerflex_info_demo.yml
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Found variable using reserved name: port
PLAY [Gatherfacts Module Operations on PowerFlex] ***************************************************************************************************************************************************************
TASK [Gathering Facts] ******************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Get detailed list of PowerFlex Entities] ******************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Please install the required python packages python-dateutil, PyPowerFlex V 1.5.0 or above to use this module. "}
PLAY RECAP ******************************************************************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
python --version
Python 3.6.8
pip list
Package Version
------------------ ---------
certifi 2022.9.24
charset-normalizer 2.0.12
idna 3.4
packaging 20.4
pip 21.3.1
pyparsing 3.0.9
PyPowerFlex 1.5.0 <<
python-dateutil 2.8.2
requests 2.27.1
setuptools 39.2.0
six 1.16.0
urllib3 1.26.13
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
December 11th, 2022 07:00
Hi @PowerFlex Mark
Thank you for sharing the detailed output, I have replied with my observations over email.
Thanks,
Jennifer.
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
December 4th, 2022 08:00
Hi @PowerFlex Mark
Could you please share the output of ansible --version ?
Could you also execute the playbook in verbose mode as below and share the output?
ansible-playbook dellemc_powerflex_info_demo.yml -vvv
Thanks,
Jennifer
PowerFlex Mark
40 Posts
0
December 7th, 2022 06:00
Hi @jennifer_john
# ansible --version
ansible 2.9.27
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Jun 28 2022, 15:30:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
PowerFlex Mark
40 Posts
0
December 7th, 2022 07:00
Hi @jennifer_john is there an email address I can reach you at, in order to send on the playbook output?
Thanks
Mark
PowerFlex Mark
40 Posts
0
December 7th, 2022 07:00
Hi @jennifer_john
I have the playbook, but for some reason it won't let me add it here. There must be a character limitation.
Thanks for your help.