Remove running host
-
Hi!
I've gotten myself into a bit of a mess I guess and I need help to resolve it. I changed storage on one of my host, and that meant that I did not power down the host correctly. But now, when I try to forget the host, a running VM does not let me remove the host.The problem:
- The host is "running" even though it is not connected.
- It has a "running" ghost VM
- The VM has a GPU attached
- Trying to shut the VM down results in the host offline error message.
How can I resolve this issue?
-
@kassebasse said in Remove running host:
Hi!
I've gotten myself into a bit of a mess I guess and I need help to resolve it. I changed storage on one of my host, and that meant that I did not power down the host correctly. But now, when I try to forget the host, a running VM does not let me remove the host.The problem:
The host is "running" even though it is not connected.
It has a "running" ghost VM
The VM has a GPU attached
Trying to shut the VM down results in the host offline error message.How can I resolve this issue?
@kassebasse , please clarify a few things:
- When you sat that the host is "running", do you mean that the host is powered on?
- Is there an SR on the host?
- Is there any data on the host that you want to keep?
- What are you trying to accomplish by forgetting the host?
-
-
I mean that Xen Orchestra sees the host as running. Even though it should show offline. The host has been reinstalled, due to upgrading the storage (local disks only)
-
There is only a local SR on the host that has been totally wiped (meaning that the operating system of the host is no longer existing and the disks are removed long ago)
-
All the important VM:s has already been migrated to another host. This host does no longer exist, therefore I wonder why Xen Orchestra shows it running and powered on.
-
I am just trying to remove the host, because it is no longer exists. The host has been completely wiped, and rejoined again as another host (because of a fresh reinstallation)
-
-
@kassebasse said in Remove running host:
I am just trying to remove the host, because it is no longer exists
In that case, try
xe host-declare-deadYou will need the prior UUID of the host, that is, the UUID assigned to the host before you reinstalled xcp-ng.
xe host-listwill provide that.Read the warnings about host-declare-dead carefully.
-
Thank you, this solved my issue.
-
O olivierlambert marked this topic as a question on
-
O olivierlambert has marked this topic as solved on
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