Merge "Add --user-domain when adding heat role admin"

This commit is contained in:
Jenkins 2016-08-14 13:57:04 +00:00 committed by Gerrit Code Review
commit 143adac58a

View File

@ -9,7 +9,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
if [[ "heat_user_domain" != "$CURRENT_HEAT_DOMAIN_NAME" ]]; then
openstack domain create heat_user_domain
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_user
fi