Server will not migrate VMs to enter maintenance mode
-
Hi,
This means all VMs cannot be evacuated to another host because the other hosts cannot contains all the VMs in their own memory/RAM.
-
Could also be due to this -- https://github.com/xapi-project/xen-api/issues/4323
-
If HA is enabled, yes.
-
In any scenario, the error message isn't clear and doesn't help to address the issue. As @Danp pointed to the issue created by @olivierlambert should at least better define the root issue.
-
@olivierlambert said in Server will not migrate VMs to enter maintenance mode:
host
I have three hosts with 1.5 TB of Memory, I have 2 VMs running on the hosts using less then 10 GB of Ram, so memory is not the issue.I can manually migrate the VM and the host will go into maintenance mode.
The error is bogus, the issue may be more related to the XO VM running on the host and the host fails to suspend the VMS on the host.
-
The error is coming from XCP-ng (it's in all caps), not from XO.
-
Unsure why this detail wasn't included here, but his support ticket indicates that HA is enabled on the pool.
-
@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 -
Last test: cluster without HA.
-
@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.
-
@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 -
So it's clearly https://github.com/xapi-project/xen-api/issues/4323 as @Danp suggested.
-
I just sent a precision upstream with your report @pmcgrail