Improve novaclient initialisation
Following advice from the folk in #openstack-nova, we should make some small changes to how we use novaclient to prevent a breakage in the future. Change-Id: I71795b4267edc76bb8b6c0914521f913b6c643a9
This commit is contained in:
parent
e51e30c5fa
commit
0a8094d2fb
@ -470,9 +470,9 @@ def novaclient(request_auth_params):
|
||||
auth_url=auth_url,
|
||||
insecure=INSECURE,
|
||||
cacert=CACERT,
|
||||
http_log_debug=settings.DEBUG)
|
||||
c.client.auth_token = token_id
|
||||
c.client.management_url = nova_url
|
||||
http_log_debug=settings.DEBUG,
|
||||
auth_token=token_id,
|
||||
bypass_url=nova_url)
|
||||
return c
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user