Guest User

error

a guest
Dec 15th, 2016
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. In [1]: import functest.utils.openstack_utils as osu
  2.  
  3. In [2]: nc =osu.get_nova_client()
  4. ---------------------------------------------------------------------------
  5. TypeError Traceback (most recent call last)
  6. <ipython-input-2-b4778eb67b0c> in <module>()
  7. ----> 1 nc =osu.get_nova_client()
  8.  
  9. /usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.pyc in get_nova_client$
  10. )
  11. 194
  12. 195 def get_nova_client():
  13. --> 196 sess = get_session()
  14. 197 return novaclient.Client(get_nova_client_version(), session=sess)
  15. 198
  16.  
  17. /usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.pyc in get_session()
  18. 163
  19. 164 def get_session():
  20. --> 165 auth = get_session_auth()
  21. 166 return session.Session(auth=auth)
  22. 167
  23.  
  24. /usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.pyc in get_session_auth()
  25. 151 loader = loading.get_plugin_loader('password')
  26. 152 creds = get_credentials()
  27. --> 153 auth = loader.load_from_options(**creds)
  28. 154 return auth
  29. 155
  30.  
  31. /usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.pyc in load_from_options(self, **kwargs)
  32. 162 raise exceptions.MissingRequiredOptions(missing_required)
  33. 163
  34. --> 164 return self.create_plugin(**kwargs)
  35. 165
  36. 166 def load_from_options_getter(self, getter, **kwargs):
  37.  
  38. /usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.pyc in create_plugin(self, **kwargs)
  39. 123 Added 2.9
  40. 124 """
  41. --> 125 return self.plugin_class(**kwargs)
  42. 126
  43. 127 @abc.abstractmethod
  44.  
  45. /usr/local/lib/python2.7/dist-packages/positional/__init__.pyc in inner(wrapped, instance, args, kwargs)
  46. 99 warnings.warn(message, DeprecationWarning, stacklevel=2)
  47. 100
  48. --> 101 return wrapped(*args, **kwargs)
  49. 102
  50. 103 return inner(func)
  51.  
  52. /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)
  53. 33 def __init__(self, auth_url, username=None, user_id=None, password=None,
  54. 34 user_domain_id=None, user_domain_name=None, **kwargs):
  55. ---> 35 super(Password, self).__init__(auth_url=auth_url, **kwargs)
  56. 36
  57. 37 self._username = username
  58.  
  59. TypeError: __init__() got an unexpected keyword argument 'endpoint_type'
Add Comment
Please, Sign In to add comment