Guest User

Untitled

a guest
Dec 4th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. from novaclient import client
  2. File "/usr/local/lib/python2.7/dist-packages/novaclient/__init__.py", line 15, in <module>
  3. import pbr.version
  4. ImportError: No module named version
  5.  
  6. loader = loading.get_plugin_loader('password')
  7. auth = loader.load_from_options(auth_url=auth_url, username=username, password=password, project_name=tenant_name)
  8. sess = session.Session(auth=auth)
  9. nova = client.Client('2', session=sess) #API version and session
Add Comment
Please, Sign In to add comment