From 0d4cbacdb389564ad35c7aab072550bb74bf43a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulko?= Date: Wed, 5 Dec 2018 11:45:38 +0100 Subject: [PATCH] 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 --- devstack/plugin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index ddaee3356..b948769d8 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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