From a4f6f9ea066613fd4b907dcd50baa2c27f971cf4 Mon Sep 17 00:00:00 2001 From: Andrew Plunk Date: Thu, 25 Jul 2013 14:04:06 -0500 Subject: [PATCH] Change token name from context. Remove password auth from pyrax to conform with the changes going through the engine regarding not using a password. Previous commit was an incorrect branch with a bug. blueprint pyrax-token-auth Change-Id: I47cd00199133b88a2343b12c847635c726452629 --- heat/engine/resources/rackspace/rackspace_resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/resources/rackspace/rackspace_resource.py b/heat/engine/resources/rackspace/rackspace_resource.py index bc2e66d4..b3326fab 100644 --- a/heat/engine/resources/rackspace/rackspace_resource.py +++ b/heat/engine/resources/rackspace/rackspace_resource.py @@ -100,7 +100,7 @@ class RackspaceResource(resource.Resource): pyrax.set_setting("tenant_id", self.context.tenant) logger.info("Authenticating with username:%s" % self.context.username) - pyrax.auth_with_token(self.context.token, + pyrax.auth_with_token(self.context.auth_token, tenant_id=self.context.tenant_id, tenant_name=self.context.tenant) logger.info("User %s authenticated successfully." -- 2.45.2