[pve-devel] [PATCH ha-manager v3 0/3] start failure policy patches

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jun 17 17:11:13 CEST 2016


v3 from the start failure/relocate policy patches

Addressed issues mentioned by Dietmar.
Added a new patch which cleans up the manager status when a CRM becomes manager,
more info in the commit message.


Thomas Lamprecht (3):
  cleanup manager status on start
  Manager: record tried node on relocation policy
  relocate policy: try to avoid already failed nodes

 src/PVE/HA/Manager.pm                              | 81 +++++++++++++++++-----
 src/test/test-relocate-policy-default-group/README |  7 ++
 .../test-relocate-policy-default-group/cmdlist     |  4 ++
 .../hardware_status                                |  5 ++
 .../test-relocate-policy-default-group/log.expect  | 53 ++++++++++++++
 .../manager_status                                 |  1 +
 .../service_config                                 |  3 +
 src/test/test-relocate-policy1/README              |  4 ++
 src/test/test-relocate-policy1/cmdlist             |  4 ++
 src/test/test-relocate-policy1/hardware_status     |  5 ++
 src/test/test-relocate-policy1/log.expect          | 68 ++++++++++++++++++
 src/test/test-relocate-policy1/manager_status      | 42 +++++++++++
 src/test/test-relocate-policy1/service_config      |  9 +++
 src/test/test-resource-failure2/log.expect         |  1 +
 src/test/test-resource-failure5/log.expect         |  2 +-
 src/test/test-resource-failure6/log.expect         | 59 ++++++++++++++++
 16 files changed, 331 insertions(+), 17 deletions(-)
 create mode 100644 src/test/test-relocate-policy-default-group/README
 create mode 100644 src/test/test-relocate-policy-default-group/cmdlist
 create mode 100644 src/test/test-relocate-policy-default-group/hardware_status
 create mode 100644 src/test/test-relocate-policy-default-group/log.expect
 create mode 100644 src/test/test-relocate-policy-default-group/manager_status
 create mode 100644 src/test/test-relocate-policy-default-group/service_config
 create mode 100644 src/test/test-relocate-policy1/README
 create mode 100644 src/test/test-relocate-policy1/cmdlist
 create mode 100644 src/test/test-relocate-policy1/hardware_status
 create mode 100644 src/test/test-relocate-policy1/log.expect
 create mode 100644 src/test/test-relocate-policy1/manager_status
 create mode 100644 src/test/test-relocate-policy1/service_config
 create mode 100644 src/test/test-resource-failure6/log.expect

-- 
2.1.4




More information about the pve-devel mailing list