From c512885b78ba7bb2a7781ea09e0f3e55c0df43a9 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Mon, 3 Nov 2014 18:52:22 +0100 Subject: [PATCH] Feature #3175: Prevent deadlocks --- src/vnm_mad/remotes/security_groups/SecurityGroups.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vnm_mad/remotes/security_groups/SecurityGroups.rb b/src/vnm_mad/remotes/security_groups/SecurityGroups.rb index 6dff639da7..5fd38800a6 100644 --- a/src/vnm_mad/remotes/security_groups/SecurityGroups.rb +++ b/src/vnm_mad/remotes/security_groups/SecurityGroups.rb @@ -517,6 +517,7 @@ class OpenNebulaSG < OpenNebulaNetwork begin commands.run! rescue Exception => e + unlock raise OpenNebulaSGError.new(:bootstrap, e) end @@ -533,6 +534,7 @@ class OpenNebulaSG < OpenNebulaNetwork begin sg.run! rescue Exception => e + unlock raise OpenNebulaSGError.new(:security_groups, e) end end