[pve-devel] [PATCH pve-ha-manager 0/4] implement recovery policies and various fixes

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Sep 16 11:25:14 CEST 2015


This should be the final version of this patch series and is mostly a rebase to fix conflict with the updated master.

As previous, the most important stuff happens in the first patch, its commit message explain how it's working.

What changed since RFC v2:
* rebase to upstream
* relocate_tries get only reset after an successful service start (details in the commit message)
* added 4th patch which fixes some includes in the lrm/crm daemons


Notice to readers: Testing the HA stuff in - somewhat - production similar conditions would be great as I/we have only limited setup configurations and time.

Thomas Lamprecht (4):
  implement recovery policy for services
  adjust log level on failed start and error to warning
  fixing typos, also whitespace cleanup in PVE2 env class
  fix includes from services

 README                        |  6 ++---
 src/PVE/HA/Env.pm             |  4 +--
 src/PVE/HA/Env/PVE2.pm        | 57 +++++++++++++++++++++----------------------
 src/PVE/HA/LRM.pm             | 43 ++++++++++++++++++++++++++++++++
 src/PVE/HA/Manager.pm         | 30 ++++++++++++++++++++---
 src/PVE/HA/Resources.pm       | 20 +++++++++++++++
 src/PVE/HA/Sim/Hardware.pm    |  2 +-
 src/PVE/HA/Tools.pm           |  2 +-
 src/PVE/Service/pve_ha_crm.pm |  1 -
 src/PVE/Service/pve_ha_lrm.pm |  1 -
 src/pve-ha-crm                |  1 +
 src/pve-ha-lrm                |  1 +
 12 files changed, 127 insertions(+), 41 deletions(-)

-- 
2.1.4



More information about the pve-devel mailing list