mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Feature #2911: Fix cancel race condition
This commit is contained in:
parent
5dccdb7e23
commit
7f1b1d32b4
@ -440,7 +440,7 @@ class VCenterVm
|
||||
case lcm_state
|
||||
when "SHUTDOWN_POWEROFF", "SHUTDOWN_UNDEPLOY"
|
||||
shutdown(deploy_id, hostname, lcm_state)
|
||||
when "CANCEL"
|
||||
when "CANCEL", "LCM_INIT"
|
||||
hid = VIClient::translate_hostname(hostname)
|
||||
connection = VIClient.new(hid)
|
||||
vm = connection.find_vm_template(deploy_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user