Set kuryr_daemon_enabled in tempest.conf correctly

In tempest.conf kuryr_daemon_enabled option defaults to True. This means
that we should set it to False when kuryr-daemon is disabled. The code
was doing it other way around and this code fixes it.

It's minor and only related to test development so I'm not filing a bug.

Change-Id: I5690cb13d774bc1e437ece77d195a9a27b36b18b
This commit is contained in:
Michał Dulko 2018-12-05 11:45:38 +01:00
parent 4f71019c94
commit 0d4cbacdb3
1 changed files with 2 additions and 2 deletions

View File

@ -852,8 +852,8 @@ function update_tempest_conf_file {
if [[ "$KURYR_ENABLED_HANDLERS" =~ .*policy.* ]]; then
iniset $TEMPEST_CONFIG kuryr_kubernetes network_policy_enabled True
fi
if is_service_enabled kuryr-daemon; then
iniset $TEMPEST_CONFIG kuryr_kubernetes kuryr_daemon_enabled True
if ! is_service_enabled kuryr-daemon; then
iniset $TEMPEST_CONFIG kuryr_kubernetes kuryr_daemon_enabled False
fi
# NOTE(yboaron): Services with protocol UDP are supported in Kuryr
# starting from Stein release and only for Octavia