Skip to content

Commit

Permalink
B #6759: finalise the SG rules on sg rule error
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
atodorov-storpool authored Oct 22, 2024
1 parent d5b5a4d commit e18477a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vnm_mad/remotes/lib/sg_driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e18477a

Please sign in to comment.