Change heat domain to heat_user_domain

heat_user_domain is what is in the docs, but more importantly it is
what we have in Liberty and will be a requirement to doing upgrades
properly.

Change-Id: I9cf53d43b4faaa5d1b0156cc50192722d2739602
Closes-Bug: #1553565
This commit is contained in:
SamYaple 2016-03-24 15:07:04 +00:00
parent 1c177f3827
commit 5b18913f36

View File

@ -7,9 +7,9 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
CURRENT_HEAT_DOMAIN_NAME=$(openstack domain list | grep heat | awk '{print $4}')
if [[ "heat" != "$CURRENT_HEAT_DOMAIN_NAME" ]]; then
openstack domain create heat
openstack user create --domain heat heat_domain_admin --password ${HEAT_DOMAIN_ADMIN_PASSWORD}
openstack role add --domain heat --user heat_domain_admin admin
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 create heat_stack_owner
openstack role create heat_stack_user
fi