Cannot resume an imported image
-
Hi, Everyone.
Hope you can help me with my dilemma. Here is the scenario.
I have a Windows 10 machine that came from Vmware Workstation. Before booting it, I have enabled Windows Update in the ADvance settings in XO. It was able to boot and I was successfully login, it rebooted twice and I was able to login (it just rebooted on its own without me triggering it). On the 3rd reboot it got stuck so I manually click the reboot option in XO for this VMGuest. Instead of rebooting it just stop and the only option in XO for this VMGuest is Resume and Snapshot. So I went into terminal for xcp-ng and try the following:
[22:12 home-hypervisor ~]# xe vm-start uuid=60fe04d2-de81-3e26-ed05-fcdee68c305e 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: 60fe04d2-de81-3e26-ed05-fcdee68c305e (Network simulators) expected: halted `` [22:21 home-hypervisor ~]# xe vm-reboot force=true vm=60fe04d2-de81-3e26-ed05-fcdee68c305e The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem. message: unspecified domain type[22:13 home-hypervisor ~]# xe vm-shutdown uuid=60fe04d2-de81-3e26-ed05-fcdee68c305e 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: 60fe04d2-de81-3e26-ed05-fcdee68c305e (Network simulators) expected: running actual: paused [22:20 home-hypervisor ~]# xe vm-destroy uuid=60fe04d2-de81-3e26-ed05-fcdee68c305e 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: 60fe04d2-de81-3e26-ed05-fcdee68c305e (Network simulators) expected: halted, suspended actual: pausedMy question is how
- Is it still possible to run this image again?
- If not how can I remove it?
-
I think
xe vm-reset-powerstateshould work to force XAPI to reevaluate the state of the VM. -
Thanks for the big help that fixed the issue.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login