From e18477a9690bfb77da46e0fac66292173af901d1 Mon Sep 17 00:00:00 2001 From: Anton Todorov Date: Tue, 22 Oct 2024 12:12:22 +0300 Subject: [PATCH] B #6759: finalise the SG rules on sg rule error instead of reseting the rules. Open Nebula will raise and log the rule error for further investigation, but the VM will not be left unprotected. --- src/vnm_mad/remotes/lib/sg_driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnm_mad/remotes/lib/sg_driver.rb b/src/vnm_mad/remotes/lib/sg_driver.rb index fe361c5dee8..62e3e3cd876 100644 --- a/src/vnm_mad/remotes/lib/sg_driver.rb +++ b/src/vnm_mad/remotes/lib/sg_driver.rb @@ -125,7 +125,7 @@ def activate(do_all = false) sg.run! rescue StandardError => e unlock - deactivate(do_all) + SGIPTables.nic_post(@vm, nic) raise e end end