Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In [1]: import functest.utils.openstack_utils as osu
- In [2]: nc =osu.get_nova_client()
- ---------------------------------------------------------------------------
- TypeError Traceback (most recent call last)
- <ipython-input-2-b4778eb67b0c> in <module>()
- ----> 1 nc =osu.get_nova_client()
- /usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.pyc in get_nova_client$
- )
- 194
- 195 def get_nova_client():
- --> 196 sess = get_session()
- 197 return novaclient.Client(get_nova_client_version(), session=sess)
- 198
- /usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.pyc in get_session()
- 163
- 164 def get_session():
- --> 165 auth = get_session_auth()
- 166 return session.Session(auth=auth)
- 167
- /usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.pyc in get_session_auth()
- 151 loader = loading.get_plugin_loader('password')
- 152 creds = get_credentials()
- --> 153 auth = loader.load_from_options(**creds)
- 154 return auth
- 155
- /usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.pyc in load_from_options(self, **kwargs)
- 162 raise exceptions.MissingRequiredOptions(missing_required)
- 163
- --> 164 return self.create_plugin(**kwargs)
- 165
- 166 def load_from_options_getter(self, getter, **kwargs):
- /usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.pyc in create_plugin(self, **kwargs)
- 123 Added 2.9
- 124 """
- --> 125 return self.plugin_class(**kwargs)
- 126
- 127 @abc.abstractmethod
- /usr/local/lib/python2.7/dist-packages/positional/__init__.pyc in inner(wrapped, instance, args, kwargs)
- 99 warnings.warn(message, DeprecationWarning, stacklevel=2)
- 100
- --> 101 return wrapped(*args, **kwargs)
- 102
- 103 return inner(func)
- /usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/generic/password.pyc in __init__(self, auth_url, username, user_id, password, user_domain_id, user_domain_name, **kwargs)
- 33 def __init__(self, auth_url, username=None, user_id=None, password=None,
- 34 user_domain_id=None, user_domain_name=None, **kwargs):
- ---> 35 super(Password, self).__init__(auth_url=auth_url, **kwargs)
- 36
- 37 self._username = username
- TypeError: __init__() got an unexpected keyword argument 'endpoint_type'
Add Comment
Please, Sign In to add comment