Just to clarify the bug description - the problem is not that heat_user_domain exists, it is that the heat domain exists.
Relevant code in kolla, docker/heat/heat-api/extend_start.sh:
#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
heat-manage db_sync
CURRENT_HEAT_DOMAIN_NAME=$(openstack domain list | grep heat | awk '{print $4}')
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-domain heat_user_domain --user heat_domain_admin admin
fi
exit 0
fi
Alternatively we could make the above match more strict, to match on heat_user_domain exactly.
Just to clarify the bug description - the problem is not that heat_user_domain exists, it is that the heat domain exists.
Relevant code in kolla, docker/ heat/heat- api/extend_ start.sh:
#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases BOOTSTRAP[ @]}" ]]; then HEAT_DOMAIN_ NAME=$( openstack domain list | grep heat | awk '{print $4}')
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_
heat-manage db_sync
CURRENT_
if [[ "heat_user_domain" != "$CURRENT_ HEAT_DOMAIN_ NAME" ]]; then DOMAIN_ ADMIN_PASSWORD}
openstack domain create heat_user_domain
openstack user create --domain heat_user_domain heat_domain_admin --password ${HEAT_
openstack role add --domain heat_user_domain --user-domain heat_user_domain --user heat_domain_admin admin
fi
exit 0
fi
Alternatively we could make the above match more strict, to match on heat_user_domain exactly.