diff --git a/src/tm_mad/vcenter/resize b/src/tm_mad/vcenter/resize index 2ad239a5e3..576d49946a 100755 --- a/src/tm_mad/vcenter/resize +++ b/src/tm_mad/vcenter/resize @@ -55,11 +55,6 @@ one_vm = VCenterDriver::VIHelper.one_item(OpenNebula::VirtualMachine, vmid) vm_ref = one_vm['DEPLOY_ID'] begin - # This action is only possible when VM in ACTIVE / DISK_RESIZE_POWEROFF - if one_vm['LCM_STATE'].to_i != 63 - raise "'disk-resize' operation not supported for vCenter running VMs." - end - vi_client = VCenterDriver::VIClient.new_from_host(host_id) vm = VCenterDriver::VirtualMachine.new(vi_client, vm_ref, vmid) diff --git a/src/vmm_mad/exec/one_vmm_sh b/src/vmm_mad/exec/one_vmm_sh index 05762711f6..2085e698f1 100755 --- a/src/vmm_mad/exec/one_vmm_sh +++ b/src/vmm_mad/exec/one_vmm_sh @@ -27,6 +27,6 @@ LOCAL_ACTIONS="${LOCAL_ACTIONS},post,clean" LOCAL_ACTIONS="${LOCAL_ACTIONS},snapshotcreate,snapshotrevert,snapshotdelete" LOCAL_ACTIONS="${LOCAL_ACTIONS},attach_nic,detach_nic,reset" LOCAL_ACTIONS="${LOCAL_ACTIONS},prereconfigure,reconfigure" -LOCAL_ACTIONS="${LOCAL_ACTIONS},attach_disk,detach_disk" +LOCAL_ACTIONS="${LOCAL_ACTIONS},attach_disk,detach_disk,resize_disk" exec $MAD_LOCATION/one_vmm_exec -l $LOCAL_ACTIONS $* diff --git a/src/vmm_mad/remotes/vcenter/resize_disk b/src/vmm_mad/remotes/vcenter/resize_disk index 9c454e8cd4..300563f2ad 120000 --- a/src/vmm_mad/remotes/vcenter/resize_disk +++ b/src/vmm_mad/remotes/vcenter/resize_disk @@ -1 +1 @@ -../common/not_supported.sh \ No newline at end of file +../common/dummy.sh \ No newline at end of file