Merge "Set octavia available in tempest config"

This commit is contained in:
Zuul 2019-03-12 12:37:36 +00:00 committed by Gerrit Code Review
commit c6eb595796
1 changed files with 9 additions and 0 deletions

View File

@ -635,6 +635,10 @@ function octavia_init {
fi
}
function _configure_tempest {
iniset $TEMPEST_CONFIG service_available octavia "True"
}
# check for service enabled
if is_service_enabled $OCTAVIA; then
if [ $OCTAVIA_NODE == 'main' ] || [ $OCTAVIA_NODE == 'standalone' ] ; then # main-ha node stuff only
@ -669,6 +673,11 @@ if is_service_enabled $OCTAVIA; then
echo_summary "Starting Octavia"
octavia_start
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
if is_service_enabled tempest; then
# Configure Tempest for Congress
_configure_tempest
fi
fi
fi