Merge "Set Tempest's service_availability setting for Heat"
This commit is contained in:
commit
3b8a2bf913
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue