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:
Sushil Kumar 2013-11-14 11:52:14 +00:00 committed by Gerrit Code Review
parent ad4bbe19bc
commit 0eb28e89a5
1 changed files with 1 additions and 3 deletions

View File

@ -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