dell / ansible-powerflex

Ansible Modules for Dell PowerFlex
Other
22 stars 15 forks source link

[QUESTION]: Failed to query PowerFlex token. on volumes operation. #39

Closed infrahvs closed 1 month ago

infrahvs commented 7 months ago

How can the Team help you today?

Details: ?

Hello, I am starting to use the 2.1.0 version of your playbooks.

My credentials seems good because I can get the infos from dellemc.powerflex.info

On all volume operation I get a "FAILED! => {"changed": false, "msg": "Failed to query PowerFlex token."}"

My user has the role "SuperUser" and is dedicated to ansible.

Powerflex Manager is at Version 4.5.1.1 (4)

Example :

- name: Get volume info
  register: output2
  dellemc.powerflex.volume:
    hostname: "{{ hostname }}"
    username: "{{username }}"
    password: "{ {password }}"
    validate_certs: "{{ validate_certs }}"
    vol_id: '21bcf85a00000000' # This volume exists.
    state: "present"
Jennifer-John commented 6 months ago

Hi @infrahvs

Could you please re-execute on the latest 2.2.0 version? The version includes changes to include error message displayed from the API instead of the generic "Failed to query PowerFlex token." Could you please share the updated error message listed from task?

Thanks, Jennifer.

anupamaloke commented 1 month ago

Closing this issue as it has been fixed in previous releases.