osc commands fail when using admin_token plugin in keystoneauth1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystoneauth |
New
|
Undecided
|
Unassigned | ||
os-client-config |
New
|
Undecided
|
Unassigned | ||
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
Whith following env:
export OS_IMAGE_
export OS_IDENTITY_
export OS_TOKEN=
export OS_URL=http://
Using following command returns error:
[root@packstack1 ~]# openstack domain list --quiet
__init__() got an unexpected keyword argument 'project_domain_id'
With debug enabled:
command: domain list -> openstackclient
__init__() got an unexpected keyword argument 'project_domain_id'
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return super(OpenStack
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
auth_plugin = loader.
File "/usr/lib/
return self.create_
File "/usr/lib/
return self.plugin_
TypeError: __init__() got an unexpected keyword argument 'project_domain_id'
clean_up ListDomain: __init__() got an unexpected keyword argument 'project_domain_id'
Traceback (most recent call last):
File "/usr/lib/
ret_val = super(OpenStack
File "/usr/lib/
result = self.run_
File "/usr/lib/
ret_value = super(OpenStack
File "/usr/lib/
self.
File "/usr/lib/
return super(OpenStack
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
auth_plugin = loader.
File "/usr/lib/
return self.create_
File "/usr/lib/
return self.plugin_
TypeError: __init__() got an unexpected keyword argument 'project_domain_id'
END return value: 1
This worked until 1.22.
Note that this is breaking all projects using puppet to deploy, tripleo, packstack, etc...
Problem has been introduced by https:/ /github. com/openstack/ os-client- config/ commit/ b5d65b74f60ce74 3b03b49a6c17670 0d658cfe98. Reverting it, it works as expected.