[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Can`t uninstall VM



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@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.