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

This commit is contained in:
Tino Vazquez committed 2015-03-19 13:51:28 +01:00
1 parent 0c8d595dba
commit 133c96fff6
1 file changed
+1 -1
@@ -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)