Update testenv-worker for newer novaclient

When we updated the client code on the te-broker to support some
changes that required newer clients we broke the instance liveness
check thanks to a backwards incompatibility in novaclient.  Since
all future te-brokers will be using the newer novaclient this change
just updates the Client creation call to use the new syntax.

Change-Id: Ib3331ee21c533f028007acae355528d9c5edbf76
This commit is contained in:
Ben Nemec 2017-10-26 20:17:01 +00:00
parent 0867e5ae4f
commit 187d6bf225
1 changed files with 2 additions and 2 deletions

View File

@ -215,8 +215,8 @@ def _get_nova_client():
nclient = novaclient.Client(2,
auth_values['user'],
auth_values['password'],
auth_values['tenant'],
auth_values['auth_url']
project_name=auth_values['tenant'],
auth_url=auth_values['auth_url']
)
return nclient