Set octavia available in tempest config

This patch updates the octavia devstack plugin to set the
"[service_available]" octavia = True.

Change-Id: Ia6d31e0ba1c569af7ab6d1ec39fe691c2a491ea8
This commit is contained in:
Michael Johnson 2019-02-25 08:37:42 -08:00
parent 6008859476
commit b6bf419885
1 changed files with 9 additions and 0 deletions

View File

@ -617,6 +617,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
@ -650,6 +654,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