The server was rebooted during VM creation and now I can`t destroy it
Please advice how to uninstall  this VM ?


[root@xenserver-2 ~]# xe vbd-list
vdi-uuid=afc680f9-3a49-4e02-8d71-004efffe2759
uuid ( RO)             : ed1bc66a-5961-fe7a-5e4c-6480bbcdd57e
          vm-uuid ( RO): 85c11607-11bb-48e2-983c-abcf6ec0b57f
    vm-name-label ( RO): Control domain on host: xenserver-2
         vdi-uuid ( RO): afc680f9-3a49-4e02-8d71-004efffe2759
            empty ( RO): false
           device ( RO):
sm/backend/cf294ed7-c6bf-d01c-3899-bb99bb56c0dc/afc680f9-3a49-4e02-8d71-004efffe2759

[root@xenserver-2 ~]# xe vm-destroy
uuid=85c11607-11bb-48e2-983c-abcf6ec0b57f
You attempted an operation on a VM that was not in an appropriate power
state at the time; for example, you attempted to start a VM that was
already running.  The parameters returned are the VM's handle, and the
expected and actual VM state at the time of the call.
vm: 85c11607-11bb-48e2-983c-abcf6ec0b57f (Control domain on host:
xenserver-2)
expected: halted, suspended
actual: running

[root@xenserver-2 ~]# xe vm-shutdown --force
uuid=85c11607-11bb-48e2-983c-abcf6ec0b57f
Error: No matching VMs found

[root@xenserver-2 ~]# xe vm-reset-powerstate --force
uuid=85c11607-11bb-48e2-983c-abcf6ec0b57f
Error: No matching VMs found

-- 
Best wishes.
Vladimir
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to