mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Feature #3175: Prevent deadlocks
This commit is contained in:
parent
86be6b2764
commit
c512885b78
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user