XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Old VM:s shows up

    Scheduled Pinned Locked Moved Management
    2 Posts 2 Posters 42 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kassebasse
      last edited by

      Hi!
      I've had this pool setup at home for quite a while now, more than 3-4 years, and had made a few upgrades and adjustments to host machines. For some reason though, some old virtual machines still shows up in the xsconsole, even though they are not present in the XOA nor in the servers own management interface. How can I delete these from showing up and clean it up a bit? Screenshot_20260511_134238.png

      Not present VM:s:
      Before Ubuntu Update
      Blank Windows 11
      Kali Linux

      The rest is still present on the system. How do I fix this?

      poddingueP 1 Reply Last reply Reply Quote 0
      • poddingueP Offline
        poddingue Vates 🪐 @kassebasse
        last edited by

        Hi!
        I think what you're seeing may be stale entries in the XAPI database, ghost records that can survive upgrades or host reconfigurations. 🤔
        From what I've read, xe vm-destroy uuid=<vm-uuid> removes the record without touching any storage, which seems like what you need here; the xe CLI reference confirms storage is left intact.
        I think you can get the UUID first with xe vm-list name-label="Before Ubuntu Update" (replacing the name with whichever one you're after).
        I'm not entirely sure why xsconsole would show them but XO wouldn't, so if the VMs don't turn up in xe vm-list, it might be worth a mention to Team-XAPI-Network, they'll know the right way to dig into XAPI state.

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post