10 Posts
0
1001
dellemc.powermax.info issue
Just starting off with Ansible against storage arrays and running into an issue with powermax collection just trying to gather info. The task is below, but returns this error, any thoughts?
FAILED! => {"changed": false, "msg": "Bad or unexpected response from the storage volume backend API: The GET request to URL https://********:8443/univmax/restapi/version failed with exception: Failed to parse: https://********:8443/univmax/restapi/version
- name: Get detailed list of Powermax entities | |
ignore_errors: yes | |
dellemc.powermax.info: | |
unispherehost: "{ { inventory_hostname }}:{ { storageport }}" | |
#universion: '91' | |
verifycert: "{ {verifycert}}" | |
user: "{ {username}}" | |
password: "{ {password}}" | |
environment: | |
no_proxy: '*' | |
register: array_info | |
delegate_to: localhost |
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
April 14th, 2022 04:00
Hi @travelerdb ,
From the error message, it looks like installed PyU4V SDK is incompatible with the Unisphere version. Could you please confirm the PyU4V SDK version installed? Could you please install PyU4V SDK version 9.1 for unisphere 9.1?
Thanks,
Jennifer
jennifer_john
1 Rookie
1 Rookie
•
79 Posts
0
April 12th, 2022 21:00
Hi @travelerdb ,
As per error message, browsing https:// k:8443/univmax/restapi/version seems to not return a valid json
From the playbook that you have shared, unispherehost has the storage port mentioned along with the host name "{ { inventory_hostname }}:{ { storageport }}". The value for unispherehost should just be the IP or FQDN of the Unisphere host. Could you please try with updated playbook values?
For more documentation and examples the ansible-doc dellemc.powermax.info command can be executed.
Please let me know of any further clarifications.
Thanks,
Jennifer
travelerdb
10 Posts
0
April 13th, 2022 05:00
Thanks @jennifer_john , that did get it a bit further to basically saying the version is unsupported, however, my understanding is that it supports 9.1 and 9.2, should it support 9.1?