mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Feature #2109: Recover for failed shutdowns now retries to delete VMs
This commit is contained in:
1 parent
177bdc46ee
commit
4ac5a902fe
1 file changed
+6
@@ -227,6 +227,12 @@ module OpenNebula
|
||||
self.set_state(Service::STATE['SCALING'])
|
||||
|
||||
elsif self.state == Service::STATE['FAILED_UNDEPLOYING']
|
||||
@roles.each do |name, role|
|
||||
if role.state == Role::STATE['FAILED_UNDEPLOYING']
|
||||
role.set_state(Role::STATE['RUNNING'])
|
||||
end
|
||||
end
|
||||
|
||||
self.set_state(Service::STATE['UNDEPLOYING'])
|
||||
|
||||
elsif self.state == Service::STATE['COOLDOWN']
|
||||
|
||||
Reference in new issue
Block a user