Skip to content

Instantly share code, notes, and snippets.

@michaelrice
Created November 29, 2017 03:10
Show Gist options
  • Save michaelrice/3c1531eba7edfad8f57c212e1dc70181 to your computer and use it in GitHub Desktop.
Save michaelrice/3c1531eba7edfad8f57c212e1dc70181 to your computer and use it in GitHub Desktop.
Deferring keystone exception: __init__() takes exactly 7 arguments (6 given)
command: token issue -> openstackclient.identity.v3.token.IssueToken
__init__() takes exactly 7 arguments (6 given)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 380, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", line 196, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 429, in prepare_to_run_command
self.client_manager.setup_auth()
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 78, in setup_auth
self._cli_options.config,
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/client_config.py", line 196, in load_auth_plugin
auth_plugin = loader.load_from_options(**config['auth'])
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/identity.py", line 100, in load_from_options
return super(BaseV3Loader, self).load_from_options(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 164, in load_from_options
return self.create_plugin(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 125, in create_plugin
return self.plugin_class(**kwargs)
TypeError: __init__() takes exactly 7 arguments (6 given)
clean_up IssueToken: __init__() takes exactly 7 arguments (6 given)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 267, in run
result = self.run_subcommand(remainder)
File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 180, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 380, in run_subcommand
self.prepare_to_run_command(cmd)
File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", line 196, in prepare_to_run_command
return super(OpenStackShell, self).prepare_to_run_command(cmd)
File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 429, in prepare_to_run_command
self.client_manager.setup_auth()
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 78, in setup_auth
self._cli_options.config,
File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/client_config.py", line 196, in load_auth_plugin
auth_plugin = loader.load_from_options(**config['auth'])
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/identity.py", line 100, in load_from_options
return super(BaseV3Loader, self).load_from_options(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 164, in load_from_options
return self.create_plugin(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 125, in create_plugin
return self.plugin_class(**kwargs)
TypeError: __init__() takes exactly 7 arguments (6 given)
END return value: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment