From 0eb28e89a5c5453a8337e031dd71a5019d828aab Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Thu, 14 Nov 2013 11:52:14 +0000 Subject: [PATCH] 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 --- trove/common/remote.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/trove/common/remote.py b/trove/common/remote.py index f6b91d75bb..9682cb1075 100644 --- a/trove/common/remote.py +++ b/trove/common/remote.py @@ -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