HA Operation Would Break Failover Plan
-
I got my environment back up and running. Reloaded all 3 hosts, wiped the drives, rebuilt the XOSTOR, and enabled HA. I built a simple Debian 12 VM on one of the hosts using the XOSTOR. But when I try to enable HA in the advance options tab, I get the output I've posted below. What am I doing wrong now?
vm.set { "high_availability": "restart", "id": "62dde87b-5dbf-119f-07aa-94434ca348b3" } { "code": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN", "params": [], "call": { "method": "VM.set_ha_restart_priority", "params": [ "OpaqueRef:207f8ee7-3b24-405f-a021-0a7a35b3a7d5", "restart" ] }, "message": "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN()", "name": "XapiError", "stack": "XapiError: HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN() at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12) at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/transports/json-rpc.mjs:35:21 at runNextTicks (node:internal/process/task_queues:60:5) at processImmediate (node:internal/timers:447:9) at process.callbackTrampoline (node:internal/async_hooks:130:17)" }
-
So you have HA enabled on the pool, right? How did you enabled in the first place? (the command used)
-
-
Can you do a
xe pool-ha-compute-max-host-failures-to-tolerate
please? -
@olivierlambert 3 good Sir.
-
Hmm that's probably the issue
Can you do
xe pool-param-set ha-host-failures-to-tolerate=2 uuid=pool-uuid
and then retry to enable HA on your VM? -
It's been a long week. I have wasted your time. I never installed the guest tools.../facepalm
EDIT
I realized it right after I ran that command. HA is now enabled. -
So the error message was not great. It worked a soon you got tools installed in the VM?
-
@olivierlambert Correct Sir. I apologize for wasting your time.
-
Don't worry. The error message was not great. Time to enjoy the week-end
-
-
-
Hi,
I'm getting same error - HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN() - when I try to put host in maintenance mode.
I have 3 nodes in pool and I set xe pool-ha-compute-max-host-failures-to-tolerate to 1.
In error log I'm not able to find why causes this error.
Any ideas? Tools are installed on all VMs. -
@arc1 What does
xe pool-ha-compute-max-host-failures-to-tolerate
return? -
@Danp said in HA Operation Would Break Failover Plan:
xe pool-ha-compute-max-host-failures-to-tolerate
It returns 1.:
[13:34 log]# xe pool-ha-compute-max-host-failures-to-tolerate
1