We have a script that initiates a Start-VM after building the VM from template. However the Start-VM task hangs and I can see in console the Power On Virtual Machine task is stuck at 100%. This has happened twice now and we have to wait a long time for the task to time out.
When I look at Events log I can see the following sequence:
Virtual machine is starting
info
6/12/2013 2:16:26 PM
Power On virtual machine
NEW-VM
Completed the relocation of the virtual machine
info
6/12/2013 2:16:26 PM
Power On virtual machine
VM-DATASTORE
Domain\User
Relocating from VMHost1, VM-DATASTORE to VMHost2, VM-DATASTORE
info
6/12/2013 2:16:23 PM
Power On virtual machine
VM-DATASTORE
Domain\User
Task: Power On virtual machine
info
6/12/2013 2:16:22 PM
Power On virtual machine
NEW-VM
Domain\User
Reconfigured virtual machine
info
6/12/2013 2:16:05 PM
Reconfigure virtual machine
NEW-VM
Domain\User
Task: Reconfigure virtual machine
info
6/12/2013 2:16:01 PM
Reconfigure virtual machine
NEW-VM
Domain\User
It appears to be trying to vMotion the VM and power it on in the same event. This happened on both occasions.
Thanks