Unsolved
1 Rookie
•
2 Posts
0
35
June 2nd, 2025 09:57
Ansible for PowerScale: error getting information on several modules
We are doing some testing with Ansible modules for PowerScale and we are getting errors on some modules when trying to get configuration info.
info module:
tasks:
- name: Get attributes, access_zones and nodes of the PowerScale cluster
onefs_host: "{{onefs_host}}"
port_no: "{{powerscaleport}}"
verify_ssl: "{{verify_ssl}}"
api_user: "{{api_user}}"
api_password: "{{api_password}}"
access_zone: "{{access_zone}}"
gather_subset:
- attributes
- access_zones
- nodes
TASK [Get attributes, access_zones and nodes of the PowerScale cluster] *************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Get Nodes List for PowerScale cluster: xxx.xxx.xxx.xxx failed witherror: Invalid value for `internal_ip_address`, must be a follow pattern or equal to `/^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\\\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])){3}$/`"}
networkpool module:
We get the same pattern error with the 'high' field.
it seems that it is not parsing properly the value for some fields. Is there any known issue and resolution for this?
These are the version of all the componentes:
ansible-powerscale 3.8
OneFS 9.7.1.3
Ansible 2.16
Python 3.12
Isilon SDK 0.5.0