Merge "Set Tempest's service_availability setting for Heat"

This commit is contained in:
Zuul 2019-02-01 11:16:27 +00:00 committed by Gerrit Code Review
commit 3b8a2bf913
2 changed files with 13 additions and 0 deletions

View File

@ -442,6 +442,15 @@ function create_heat_accounts {
fi
}
# configure_tempest_for_heat()
# NOTE (gmann): Configure all the Tempest setting for Heat service in
# this function.
function configure_tempest_for_heat {
if is_service_enabled tempest; then
iniset $TEMPEST_CONFIG service_available heat True
fi
}
# Restore xtrace
$_XTRACE_HEAT

View File

@ -35,6 +35,10 @@ if is_heat_enabled; then
# Start the heat API and heat taskmgr components
echo_summary "Starting heat"
start_heat
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
echo_summary "Configuring Tempest for Heat"
configure_tempest_for_heat
fi
if [[ "$1" == "unstack" ]]; then