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

    Server will not migrate VMs to enter maintenance mode

    Scheduled Pinned Locked Moved Management
    18 Posts 5 Posters 550 Views 3 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.
    • DanpD Offline
      Danp Pro Support Team
      last edited by

      Unsure why this detail wasn't included here, but his support ticket indicates that HA is enabled on the pool.

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        pmcgrail @Danp
        last edited by

        @Danp OK, so here is the situation....

        Manual Migrations work manually regardless of the VM HA state...

        Auto-Migration fails if anything but Restart is selected for the HA Mode.

        Cluster in HA, VMs in best effort HA mode - Memory Error is thrown
        Cluster in HA, VMs in disabled HA mode - Memory Error is thrown

        Cluster in HA, VMs in restart HA mode - No Memory Error is thrown

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

          Last test: cluster without HA.

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            pmcgrail @olivierlambert
            last edited by

            @olivierlambert
            OK, so with both VMs set to Best Effort and HA disabled on the Pool the error does not occur.

            If the pool is set to HA the VMs need to be set to Restart the error occurs

            Only one setting works when the Pool in HA Mode, the VM Set to restart.

            If I disable the HA Pool setting the VMs migrate as needed and no errors occurs regardless of the VMs HA Settings.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              pmcgrail @pmcgrail
              last edited by

              @pmcgrail said in Server will not migrate VMs to enter maintenance mode:

              If the pool is set to HA the VMs need to be set to Restart the error occurs
              If the pool is set to HA the VMs need to be set to Restart or the error occurs

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

                So it's clearly https://github.com/xapi-project/xen-api/issues/4323 as @Danp suggested.

                olivierlambert created this issue in xapi-project/xen-api

                open Mysterious failure in HA with HOST_NOT_ENOUGH_FREE_MEMORY #4323

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

                  I just sent a precision upstream with your report @pmcgrail

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    idar21
                    last edited by

                    Apologies for jumping in, but what are the plans to resolve this issue. Any update will be appreciated.

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

                      Hi,

                      What's your issue functionally speaking?

                      I 1 Reply Last reply Reply Quote 0
                      • I Offline
                        idar21 @olivierlambert
                        last edited by

                        @olivierlambert - With the host not able to evacuate, i will have to manually move VMs around to other hosts in the pool and then perform maintenance on the host. Imagine you have to do this for few hundred VMs and multiple physical hosts.

                        Also, the issue is not just the evacuate, if the pool ha is enabled and you disable all the ha property for all VMs, it allows to put the host in maint fine. But when i tried to disable the maint mode, i got this:
                        "code": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN"

                        So, i disabled ha on the pool, then the disable maint on the host worked fine.

                        I think whole HA needs to be fully validated and every aspect needs to cross checked, otherwise i dont think its production ready.

                        For smaller environments, it might not be too much of a pain but even a medium environment this needs to be fixed.

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

                          Please open a support ticket, obviously for a large infrastructure that would be logical to be sure it's not behaving like that or to make sure XO disable things in the correct order before trying to evacuate a host 🙂

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