Cannot authenticate on-demand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Expired
|
Undecided
|
Unassigned |
Bug Description
I'm trying to set up a nova client and ensure that there are no authentication errors on client creation. My attempt is below:
from novaclient import client
from keystoneauth1 import session
from keystoneauth1.
def setup_nova(creds):
"""
Creates a nova instance with which we can leverage the OpenStack virtualization
platform.
:param creds: A dictionary containing the authorization url, username,
:type creds: dict
"""
password = v3.PasswordMeth
auth = v3.Auth(
sess = session.
nova = client.
nova.
return nova
However, the `nova.authentic
Perhaps I'm missing something, but if there isn't a way to do this, there's either a bug in python-novaclient or in keystoneauth.
Hi ,
Could you please let share what is your end objective and why you want to do this ?
a) Are you trying to build a new feature ?
b) Or you want to do some kind of sanity check before launching any instance ?
Please share !!