FlashArray-Collection
FlashArray-Collection copied to clipboard
'Client' object has no attribute 'get_hosts_tags'
Describe the bug
purefa_info in generate_host_dict refers to a function that is not defined.
To Reproduce
purefa_info:
fa_url: "{{ url}}"
api_token: "{{ token }}"
gather_subset:
- volumes
- hosts
register: fa_info
no_log: no
# run
fatal: [array]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3.11"}, "changed": false, "msg": "Task failed: Module failed: 'Client' object has no attribute 'get_hosts_tags'"}
Versions
# python --version
Python 3.11.11
# pip freeze | grep -iE "pure|ansible"
py-pure-client==1.77.1
ansible==12.2.0
ansible-core==2.19.4
# ansible-galaxy collection list | grep pure
purestorage.flasharray 1.40.0
# array
purity version 6.5.8
# latest available api version returned by the array at /api/api_version is 2.26
{
[
...
"2.26"
]
}