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

    reinstalled host, now its still in pool but cant remove it due to having a vm "on" it

    Scheduled Pinned Locked Moved Xen Orchestra
    4 Posts 1 Posters 1.9k 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.
    • H Offline
      hoberion
      last edited by

      trying to forget host

      Are you sure you want to forget nuc02-old from its pool? Be sure this host can't be back online, or use detach instead.
      HOST_HAS_RESIDENT_VMS(OpaqueRef:06517f51-0213-4fcd-823e-3d3394deb30d)

      ok, then ill delete the vm
      Are you sure you want to delete this VM? ALL VM DISKS WILL BE REMOVED
      HOST_OFFLINE(OpaqueRef:06517f51-0213-4fcd-823e-3d3394deb30d)

      now what 🙂

      1 Reply Last reply Reply Quote 0
      • H Offline
        hoberion
        last edited by

        I think I figured it out, the pool master has 2 ip's an old ip which is not in use anymore but its still in the config as main ip...

        ill try and delete the old ip or reconnect it and switch to the new ip address

        1 Reply Last reply Reply Quote 0
        • H Offline
          hoberion
          last edited by

          fixed it by changing master on cli

          xe pool-emergency-reset-master master-address=172.17.3.101

          1 Reply Last reply Reply Quote 1
          • H Offline
            hoberion
            last edited by

            ok, could remove the vm by using the command

            xe vm-reset-powerstate uuid=******* --force, then I could remove the host

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