Fill tempest.conf with Sahara-specific values
Initialize tempest.conf with the set of available plugins.
Change-Id: I1e963fe4110b94c1e4f18134e0a908ff309cd4e5
(cherry picked from commit cad6b79f9d
)
This commit is contained in:
parent
47579eec40
commit
5c775d2e84
|
@ -208,6 +208,14 @@ function start_sahara {
|
|||
fi
|
||||
}
|
||||
|
||||
# configure_tempest_for_sahara() - Tune Tempest configuration for Sahara
|
||||
function configure_tempest_for_sahara {
|
||||
if is_service_enabled tempest; then
|
||||
iniset $TEMPEST_CONFIG service_available sahara True
|
||||
iniset $TEMPEST_CONFIG data-processing-feature-enabled plugins $SAHARA_ENABLED_PLUGINS
|
||||
fi
|
||||
}
|
||||
|
||||
# stop_sahara() - Stop running processes
|
||||
function stop_sahara {
|
||||
# Kill the Sahara screen windows
|
||||
|
@ -242,6 +250,9 @@ if is_service_enabled sahara; then
|
|||
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
|
||||
echo_summary "Initializing sahara"
|
||||
start_sahara
|
||||
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
|
||||
echo_summary "Configuring tempest"
|
||||
configure_tempest_for_sahara
|
||||
fi
|
||||
|
||||
if [[ "$1" == "unstack" ]]; then
|
||||
|
|
Loading…
Reference in New Issue