Always include credentials for heat stack create.
Change-Id: I32cdfd5811dc03fe5cd441df46173e5739f1adc3
diff --git a/tempest/services/orchestration/json/orchestration_client.py b/tempest/services/orchestration/json/orchestration_client.py
index 6b0e7e3..e2d1f2b 100644
--- a/tempest/services/orchestration/json/orchestration_client.py
+++ b/tempest/services/orchestration/json/orchestration_client.py
@@ -59,7 +59,14 @@
post_body['template_url'] = template_url
body = json.dumps(post_body)
uri = 'stacks'
- resp, body = self.post(uri, headers=self.headers, body=body)
+
+ # Password must be provided on stack create so that heat
+ # can perform future operations on behalf of the user
+ headers = dict(self.headers)
+ headers['X-Auth-Key'] = self.password
+ headers['X-Auth-User'] = self.user
+
+ resp, body = self.post(uri, headers=headers, body=body)
return resp, body
def get_stack(self, stack_identifier):