Remove radmin credentials from create_heat_client
auth_token is enough for authentication in creating a heatclient.Client instance. Currently both username/password and auth_token are passed as argument in create_heat_client Fixes: Bug 1251203 Change-Id: I3cce6b35fc40f4ff4cc45b04714067956fb1869d
This commit is contained in:
parent
ad4bbe19bc
commit
0eb28e89a5
|
@ -72,9 +72,7 @@ def cinder_client(context):
|
|||
|
||||
def heat_client(context):
|
||||
endpoint = "%s/%s/" % (HEAT_URL, context.tenant)
|
||||
client = HeatClient.Client(username=context.user,
|
||||
password="radmin",
|
||||
token=context.auth_token,
|
||||
client = HeatClient.Client(token=context.auth_token,
|
||||
os_no_client_auth=True,
|
||||
endpoint=endpoint)
|
||||
return client
|
||||
|
|
Loading…
Reference in New Issue