Merge "Set octavia available in tempest config"
This commit is contained in:
commit
c6eb595796
@ -635,6 +635,10 @@ function octavia_init {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function _configure_tempest {
|
||||||
|
iniset $TEMPEST_CONFIG service_available octavia "True"
|
||||||
|
}
|
||||||
|
|
||||||
# check for service enabled
|
# check for service enabled
|
||||||
if is_service_enabled $OCTAVIA; then
|
if is_service_enabled $OCTAVIA; then
|
||||||
if [ $OCTAVIA_NODE == 'main' ] || [ $OCTAVIA_NODE == 'standalone' ] ; then # main-ha node stuff only
|
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"
|
echo_summary "Starting Octavia"
|
||||||
octavia_start
|
octavia_start
|
||||||
|
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
|
||||||
|
if is_service_enabled tempest; then
|
||||||
|
# Configure Tempest for Congress
|
||||||
|
_configure_tempest
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user