From 5a925a09d6a851755750b4c54f28cfd3cc17d35c Mon Sep 17 00:00:00 2001 From: Maor Blaustein Date: Thu, 5 Sep 2024 15:57:04 +0300 Subject: [PATCH] Fix keepalived double restart Accidental double restart may cause race condition of service not up in time when listed by second restart call of reset_node_service. Resolves: OSPCIX-467 Change-Id: I941673a3cbb6c755254029b8c7b9eb4a456c2d48 --- whitebox_neutron_tempest_plugin/tests/scenario/test_vrrp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/test_vrrp.py b/whitebox_neutron_tempest_plugin/tests/scenario/test_vrrp.py index d8b1253..2f7cdab 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/test_vrrp.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/test_vrrp.py @@ -103,7 +103,6 @@ class VrrpTest(base.BaseTempestTestCaseAdvanced): 'echo "{0}" > /tmp/{1};' 'sudo mv -Z /tmp/{1} /etc/keepalived/'.format( config_text, config_file)) - ssh_client.exec_command("sudo systemctl restart keepalived") # restart and make sure keepalived is active self.reset_node_service('keepalived', ssh_client)