Hey, This issue sounds quite familiar to me, but old as well. I think there was an issue like that in old version of os_user_role. But the module has been replaced with identity_role / role_assignment. And then it would also depend on openstacksdk version... On Sat, Feb 24, 2024, 04:36 Satish Patel <satish.txt@gmail.com> wrote:
fatal: [os-eng-ctrl-01]: FAILED! => { "action": "os_user_role", "changed": false, "extra_data": { "data": null, "details": "None", "response": "None" }, "invocation": { "module_args": { "api_timeout": null, "auth": { "auth_url": "https://openstack-eng.example.com:5000", "domain_name": "default", "password": "XXXXXXXXXXXXXXXXXXXXXXXXXXXX", "project_name": "admin", "user_domain_name": "default", "username": "admin" }, "auth_type": null, "ca_cert": "", "cacert": "", "client_cert": null, "client_key": null, "domain": "9fe7eaf3d3184dfd8a04a091dd3801be", "endpoint_type": "internal", "group": null, "interface": "internal", "project": null, "region_name": "eng", "role": "admin", "sdk_log_level": "INFO", "sdk_log_path": null, "state": "present", "system": null, "timeout": 180, "user": "magnum_trustee_domain_admin", "validate_certs": null, "wait": true } }, "msg": "Must specify either a user or a group" }
This is where the module failed. Why is it asking to specify a user or group?
On Fri, Feb 23, 2024 at 5:42 PM Satish Patel <satish.txt@gmail.com> wrote:
Folks,
I am deploying magnum using openstack release 2023.1 but getting this error. But I have a similar deployment running in another datacenter which didn't give any error. What could be the problem?
TASK [magnum : Creating Magnum trustee user] **************************************************************************************** ok: [os-eng-ctrl-01]
TASK [magnum : Creating Magnum trustee user role] *********************************************************************************** fatal: [os-eng-ctrl-01]: FAILED! => {"action": "os_user_role", "changed": false, "extra_data": {"data": null, "details": "None", "response": "None"}, "msg": "Must specify either a user or a group"}