# Resized VM won't power on - hotplug error from VMware

**URL:** <https://forum.opennebula.io/t/resized-vm-wont-power-on-hotplug-error-from-vmware/2256>\
**Category:** Product Support\
**Created:** [May 19, 2016, 12:46am UTC](https://forum.opennebula.io/t/resized-vm-wont-power-on-hotplug-error-from-vmware/2256 "2016-05-19T00:46:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuntkiwi](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@stuntkiwi](https://forum.opennebula.io/u/stuntkiwi)\
**Post date:** [May 19, 2016, 12:46am UTC](https://forum.opennebula.io/t/resized-vm-wont-power-on-hotplug-error-from-vmware/2256/1 "2016-05-19T00:46:46Z")

</div>

Hi there,

A customer has deployed a VM via OpenNebula, they powered down the VM after approx 1 month while building the VM to increase the memory.

They performed the resize, increasing the memory to 6GB while the VM was powered off, powering on fails with a hotplug error.

Wed May 18 17:14:05 2016 [Z0][VM][I]: New state is POWEROFF  
Wed May 18 17:14:05 2016 [Z0][VM][I]: New LCM state is LCM\_INIT  
– VM powered off, resize change made here –  
Wed May 18 17:14:18 2016 [Z0][VM][I]: New state is ACTIVE  
Wed May 18 17:14:18 2016 [Z0][VM][I]: New LCM state is BOOT\_POWEROFF  
Wed May 18 17:14:18 2016 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/144/deployment.10  
Wed May 18 17:14:18 2016 [Z0][VMM][I]: Successfully execute network driver operation: pre.  
Wed May 18 17:14:20 2016 [Z0][VMM][I]: Command execution fail: /var/lib/one/remotes/vmm/vcenter/deploy ‘/var/lib/one/vms/144/deployment.10’ ‘Non-Prod’ 144 Non-Prod  
Wed May 18 17:14:20 2016 [Z0][VMM][I]: Deploy of VM 144 on host Non-Prod with /var/lib/one/vms/144/deployment.10 failed due to "MemoryHotPlugNotSupported: Memory hot plug is not supported for this virtual machine."  
Wed May 18 17:14:20 2016 [Z0][VMM][I]: ExitCode: 255  
Wed May 18 17:14:20 2016 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.  
Wed May 18 17:14:20 2016 [Z0][VMM][E]: Error deploying virtual machine  
Wed May 18 17:14:20 2016 [Z0][VM][I]: New state is POWEROFF  
Wed May 18 17:14:20 2016 [Z0][VM][I]: New LCM state is LCM\_INIT  
– deploy failed, back to powered off –

By default hot plugging is disabled on VMs in VMware, strange how this is a hotplug task when the VM is powered off.

Does anyone have experience with this issue or suggest and areas to check?

I will be doing a screenshare to understand their steps and reproduce.

Thanks in advance,  
Derek

---

<div class="post-metadata">

**Author:** ![stuntkiwi](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@stuntkiwi](https://forum.opennebula.io/u/stuntkiwi)\
**Post date:** [May 27, 2016, 12:19am UTC](https://forum.opennebula.io/t/resized-vm-wont-power-on-hotplug-error-from-vmware/2256/2 "2016-05-27T00:19:56Z")

</div>

Just updating this to mention the issue was due the customers RedHat cluster configuration.

Something to do with their cluster vCenter fencing was booting the VM again, explaining the hotplug error - the VM was actually running again by the time the resize was occurring.
