summaryrefslogtreecommitdiff
path: root/bin/heat-keystone-setup-domain
diff options
context:
space:
mode:
Diffstat (limited to 'bin/heat-keystone-setup-domain')
-rwxr-xr-xbin/heat-keystone-setup-domain3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/heat-keystone-setup-domain b/bin/heat-keystone-setup-domain
index 4d6ac7ad3..5210a635a 100755
--- a/bin/heat-keystone-setup-domain
+++ b/bin/heat-keystone-setup-domain
@@ -137,7 +137,8 @@ def main():
description="Heat domain admin")
except kc_exception.Conflict:
logger.warning("User %s already exists" % HEAT_DOMAIN_ADMIN)
- domain_admin = c.users.list(name=HEAT_DOMAIN_ADMIN)[0]
+ domain_admin = c.users.list(name=HEAT_DOMAIN_ADMIN,
+ domain=heat_domain)[0]
# Make the user a domain admin
roles_list = c.roles.list()