2016-11-18 13:45:17 |
Steve Martinelli |
description |
OSC version 3.3.0
This command fails:
OS_IDENTITY_API_VERSION=3 openstack token issue --os-auth-type=token_endpoint --os-url=http://localhost:5000/v3/ --os-token=$token2
With this traceback:
Traceback (most recent call last):
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/osc_lib/shell.py", line 429, in prepare_to_run_command
self.client_manager.setup_auth()
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/openstackclient/common/clientmanager.py", line 78, in setup_auth
self._cli_options.config,
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/openstackclient/common/client_config.py", line 195, in load_auth_plugin
auth_plugin = loader.load_from_options(**config['auth'])
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 164, in load_from_options
return self.create_plugin(**kwargs)
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 125, in create_plugin
return self.plugin_class(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'project_domain_id'
Full log with --debug flag: http://paste.openstack.org/show/589463/ |
The following commit: https://github.com/openstack/os-client-config/commit/b5d65b74f60ce743b03b49a6c176700d658cfe98 introduced a regression for OSC.
Using the --admin_endpoint did not work on older versions of OSC either, but now that OCC maps token_endpoint to admin_endpoint the problem is exposed.
OSC version 3.3.0
This command fails:
OS_IDENTITY_API_VERSION=3 openstack token issue --os-auth-type=token_endpoint --os-url=http://localhost:5000/v3/ --os-token=$token2
With this traceback:
Traceback (most recent call last):
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/cliff/app.py", line 393, in run_subcommand
self.prepare_to_run_command(cmd)
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/openstackclient/shell.py", line 198, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/osc_lib/shell.py", line 429, in prepare_to_run_command
self.client_manager.setup_auth()
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/openstackclient/common/clientmanager.py", line 78, in setup_auth
self._cli_options.config,
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/openstackclient/common/client_config.py", line 195, in load_auth_plugin
auth_plugin = loader.load_from_options(**config['auth'])
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 164, in load_from_options
return self.create_plugin(**kwargs)
File "/home/breton/.virtualenvs/keystone/local/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 125, in create_plugin
return self.plugin_class(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'project_domain_id'
Full log with --debug flag: http://paste.openstack.org/show/589463/ |
|