Hi,

I just recently upgraded one of my OpenStack clusters that is joined to an AD to Bobcat and had no issues. But I’m going to install one cluster from scratch today. Fingers crossed.

Cheers,
Oliver

Von meinem iPhone gesendet

Am 24.02.2024 um 05:25 schrieb ‪‪‪Franck.vedel@univ-grenoble-alpes.fr‬‬‬ <Franck.vedel@univ-grenoble-alpes.fr>:


Hi
I had the same problem with an openstack with 2 domains
If only one domain (default) no error
Franck 


-------- Message original --------
De : Satish Patel <satish.txt@gmail.com>
Date : sam. 24 févr. 2024 à 08:53
À : Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
Cc : OpenStack Discuss <openstack-discuss@lists.openstack.org>
Objet : Re: [kolla][magnum] Creating Magnum trustee user role
Hmm! 

I have two identical sets of openstack with the same version of ansible/kolla-ansible version. one environment passed without any error and the second environment stuck here. That is what makes me anxious. Here is the task [1]


On Fri, Feb 23, 2024 at 10:46 PM Dmitriy Rabotyagov <noonedeadpunk@gmail.com> wrote:
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"}