[pve-devel] applied: [PATCH v2 ha-manager 2/2] manager: clear stale maintenance node caused by simultaneous cluster shutdown

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jun 13 09:00:22 CEST 2023

Am 12/06/2023 um 17:27 schrieb Fiona Ebner:
> Currently, the maintenance node for a service is only cleared when the
> service is started on another node. In the edge case of a simultaneous
> cluster shutdown however, it might be that the service never was
> started anywhere else after the maintenance node was recorded, because
> the other nodes were already in the process of being shut down too.
> If a user ends up in this edge case, it would be rather surprising
> that the service would be automatically migrated back to the
> "maintenance node" which actually is not in maintenance mode anymore
> after a migration away from it.
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
> Changes in v2:
>     * Rebase on current master.
>     * Split out introducing the test into a dedicated patch.
>  src/PVE/HA/Manager.pm                          | 18 ++++++++++++++++++
>  .../test-stale-maintenance-node/log.expect     | 11 +++--------
>  2 files changed, 21 insertions(+), 8 deletions(-)

applied, thanks!

More information about the pve-devel mailing list