[pve-devel] [PATCH pve-ha-manager] handle node deletion in the HA stack

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Sep 28 11:34:51 CEST 2015


When deleting a node from the cluster through pvecm delnode the dead node wasn't removed from the HAs manager status.
Even if it has no real affect to function of the HA stack, especially if no services run there before the deletion - which should be the case.
But for the user it is naturally confusing to see them in the interface.

This patch proposes an automated removal process, after an hour it vanished from the cluster member list it will get deleted.

An alternate approach would be an manual command through the ha-manager's binary.

This patch doesn't covers some side effects like the deletion of the node from defined groups.

Commit message has also some more details.

Thomas Lamprecht (1):
  delete node from HA stack when deleted from cluster

 src/PVE/HA/NodeStatus.pm | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

-- 
2.1.4





More information about the pve-devel mailing list