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

    Can't remove VM

    Scheduled Pinned Locked Moved Compute
    5 Posts 2 Posters 1.5k Views 1 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.
    • A Offline
      Ascar
      last edited by

      Hello, everyone.

      I have a VM in halted state and it does not provide an option to delete it in XCPNG Center. In XO I have an active button to delete it but I get a warning saying 'Removing the VM is a blocked operation. Would you like to remove it anyway?'

      Why is that happening? I don't have any snapshots of this machine. I don't remember whether I cloned any new VMs from it. Even if I did - is there a risk of breaking something by deleting this VM?

      Thanks

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        That's because your VM is "protected" (ie VM.remove is enabled to avoid accidental deletion).

        So it's happening because you enabled "Protect from accidental deletion" in the first place (XO/advanced VM view)

        1 Reply Last reply Reply Quote 0
        • A Offline
          Ascar
          last edited by

          @olivierlambert Thank you for this. Where do I clear this protection? In the VM properties, I guess... Let me look inside. If you have a minute to comment in the meantime, it will be much appreciated!

          1 Reply Last reply Reply Quote 0
          • A Offline
            Ascar
            last edited by

            @olivierlambert I found it. It is an option, again, available only through XO!

            eb3b5f78-1640-46d4-b941-95884e880987-image.png

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Yes, as it's the recommended tool to manage your VMs 🙂

              1 Reply Last reply Reply Quote 0
              • First post
                Last post