diff --git a/docker/heat/heat-api/extend_start.sh b/docker/heat/heat-api/extend_start.sh index 5c310f6c06..5702922e86 100644 --- a/docker/heat/heat-api/extend_start.sh +++ b/docker/heat/heat-api/extend_start.sh @@ -6,7 +6,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then heat-manage db_sync CURRENT_HEAT_DOMAIN_NAME=$(openstack domain list | grep heat | awk '{print $4}') - if [[ "heat" != "$CURRENT_HEAT_DOMAIN_NAME" ]]; 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