]> git.proxmox.com Git - pve-ha-manager.git/commit
manager: service start: make EWRONG_NODE a non-fatal error
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 08:49:10 +0000 (09:49 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Mar 2023 10:09:01 +0000 (11:09 +0100)
commitb159176a9bd07fbd996bb68c6b3ad4a1397159b6
treea05a3d29897993defab2d5a9311000ee06d86ef9
parent49b0ccc7feb9335a9fee4b8b23f7bbadb233aca0
manager: service start: make EWRONG_NODE a non-fatal error

traverse the usual error counting mechanisms, as then the
select_service_node helper either picks up the right node and it
starts there or it can trigger fencing of that.

Note, in practice this normally can only happen if the admin
butchered around in the node cluster state, but as we only select the
safe nodes from the configured groups, we should be safe in any case.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Manager.pm