1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Bug #3662: Add cleanup_resubmit state to cancel for delete --recreate

This commit is contained in:
Tino Vazquez 2015-03-19 13:51:28 +01:00
parent 0c8d595dba
commit 133c96fff6

View File

@ -700,7 +700,7 @@ class VCenterVm
case lcm_state
when "SHUTDOWN_POWEROFF", "SHUTDOWN_UNDEPLOY"
shutdown(deploy_id, hostname, lcm_state)
when "CANCEL", "LCM_INIT"
when "CANCEL", "LCM_INIT", "CLEANUP_RESUBMIT"
hid = VIClient::translate_hostname(hostname)
connection = VIClient.new(hid)
vm = connection.find_vm_template(deploy_id)