[pve-devel] [PATCH ha-manager 0/4] various HA fixes

Thomas Lamprecht t.lamprecht at proxmox.com
Tue May 3 10:03:13 CEST 2016


First patch fixes a leak in the manager_status and the lrm_status hashes.

Second one is a resend of the fix for allowing a LRM restart with
erroneous services.

Third is a regression test patch for the relocate policy of a service
with no node configured (no log.expect yet).

Fourth changes the default group from a service from the service node
only to all online nodes, results only in different behaviour if no
group is set and try_next is true.

Thomas Lamprecht (4):
  fix relocate/restart trial count leak on service deletion
  LRM: do not count erroneous service as active
  add relocate policy test on service without node
  selcet_service_node: include all online nodes in default group

 src/PVE/HA/LRM.pm                               |  6 ++++++
 src/PVE/HA/Manager.pm                           | 17 ++++++++++++++---
 src/test/test-resource-failure6/README          |  5 +++++
 src/test/test-resource-failure6/cmdlist         |  4 ++++
 src/test/test-resource-failure6/hardware_status |  5 +++++
 src/test/test-resource-failure6/manager_status  |  1 +
 src/test/test-resource-failure6/service_config  |  3 +++
 7 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 src/test/test-resource-failure6/README
 create mode 100644 src/test/test-resource-failure6/cmdlist
 create mode 100644 src/test/test-resource-failure6/hardware_status
 create mode 100644 src/test/test-resource-failure6/manager_status
 create mode 100644 src/test/test-resource-failure6/service_config

-- 
2.1.4





More information about the pve-devel mailing list