Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create a hostset in primera y using hpe3par_hostset module #82

Open
baba-dudekula opened this issue Jan 17, 2025 · 0 comments

Comments

@baba-dudekula
Copy link

I'm getting the below error when executing an ansible playbook to create a hostset in Primera.
`- name: Primera_hostset | Create or Delete HostSet
when: 'hostset_action is defined and hostset_action in ["absent", "present"]'
block:
- name: Primera_hostset | Create or Delete HostSet
hpe3par_hostset:
storage_system_ip: "{{ storage_system_ip }}"
storage_system_username: "{{ storage_system_username }}"
storage_system_password: "{{ storage_system_password }}"
state: "{{ hostset_action }}"
hostset_name: "{{ storage_hostset_name }}"

setmembers: "{{ hostset_members | default(omit) }}"

  register: rg_hostset_action`

Error:
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"domain": null,
"hostset_name": "ms-host-catalogue",
"setmembers": null,
"state": "present",
"storage_system_ip": "****",
"storage_system_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"storage_system_username": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
}
},
"msg": "Hostset creation failed | Internal Server Error (HTTP 500) 1 - internal server error"
}

How ever i'm able to access the primera over api and login from successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant