Skip to content
Snippets Groups Projects
Commit c14636c6 authored by Dave Walker (Daviey)'s avatar Dave Walker (Daviey)
Browse files

Add --user-domain when adding heat role admin


The --user-domain parameter is required when adding the role for
Heat.  Without it, the command fails and the bootstrap
container exits early with the error message:

"No user with a name or ID of 'heat_domain_admin' exists."

Change-Id: I6f813edde3f437bca3ef521a43454146082bc5f5
Closes-bug: #1611768
Signed-off-by: default avatarDave Walker (Daviey) <email@daviey.com>
parent 54c745fc
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then ...@@ -9,7 +9,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
if [[ "heat_user_domain" != "$CURRENT_HEAT_DOMAIN_NAME" ]]; then if [[ "heat_user_domain" != "$CURRENT_HEAT_DOMAIN_NAME" ]]; then
openstack domain create heat_user_domain openstack domain create heat_user_domain
openstack user create --domain heat_user_domain heat_domain_admin --password ${HEAT_DOMAIN_ADMIN_PASSWORD} openstack user create --domain heat_user_domain heat_domain_admin --password ${HEAT_DOMAIN_ADMIN_PASSWORD}
openstack role add --domain heat_user_domain --user heat_domain_admin admin openstack role add --domain heat_user_domain --user-domain heat_user_domain --user heat_domain_admin admin
openstack role create heat_stack_owner openstack role create heat_stack_owner
openstack role create heat_stack_user openstack role create heat_stack_user
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment