OSC always sets user_domain_id, which is not supported by all plugins

Bug #1418337 reported by Jamie Lennox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Triaged
High
Unassigned

Bug Description

Looking at https://github.com/openstack/python-openstackclient/blob/0cc3955f0aedab76313aa09edd3f31bb9d08b55d/openstackclient/common/clientmanager.py#L113-L119

If a user_domain_id or user_domain_name is not specified then OSC will add the default one for you. This parameter is only defined on the password plugin, when using the token plugin or kerberos plugin this will fail.

Also user_domain_X should only be required in conjunction with username - it'll be ignored for user_id

Revision history for this message
Steve Martinelli (stevemar) wrote :

we can do some better checking around that (i imagine auth_type is passed in) before setting the user's domain to the default_domain.

good point on the user_id bit too.

Changed in python-openstackclient:
status: New → Confirmed
status: Confirmed → Triaged
Changed in python-openstackclient:
milestone: none → m8
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.