[pve-devel] [PATCH ha-manager v3 0/6] fix migration related stuff and some small other fixes

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Feb 19 18:41:01 CET 2016


Sorry foir the big resend of this series but else, i think, we lose completely
sight what ought to be related.

First two are the same and are (1) output formatting fix and (2) a follow up
from 9da84a0d51dcc1e1b80e2a92127749de38851e5f no changes here to previous version.

The third (fix possible out of sync state on migrations) was fixed as it's
previous implementation was completely flawed.
I'll try to create a regression test for that one on monday.

Fourth has another log message, else it's the same.

Fifth and sixth are the same as previously.

cheers and wishing a nice weekend,
Thomas

Thomas Lamprecht (6):
  fix some log formatting
  fix 'uninitialized value' on online node usage computation
  fix possible out of sync state on migrations
  exec_resource_agent: process error state early
  fix infinite started <=> migrate cycle
  reduce frequency of useless error logging

 src/PVE/HA/LRM.pm                                  | 51 +++++++++++++++++-----
 src/PVE/HA/Manager.pm                              | 15 ++++---
 src/test/test-basic1/log.expect                    |  6 +--
 src/test/test-basic5/log.expect                    |  2 +-
 src/test/test-relocate-to-inactive-node/README     |  1 +
 src/test/test-relocate-to-inactive-node/cmdlist    |  4 ++
 .../test-relocate-to-inactive-node/hardware_status |  5 +++
 src/test/test-relocate-to-inactive-node/log.expect | 33 ++++++++++++++
 .../test-relocate-to-inactive-node/manager_status  |  1 +
 .../test-relocate-to-inactive-node/service_config  |  3 ++
 src/test/test-resource-failure1/log.expect         |  4 +-
 src/test/test-resource-failure2/log.expect         |  4 +-
 src/test/test-resource-failure4/log.expect         |  6 +--
 src/test/test-resource-failure5/log.expect         | 14 +++---
 src/test/test-restart-lrm/log.expect               |  4 +-
 src/test/test-service-command1/log.expect          |  4 +-
 src/test/test-shutdown1/log.expect                 |  2 +-
 src/test/test-shutdown2/log.expect                 |  2 +-
 src/test/test-shutdown3/log.expect                 |  2 +-
 src/test/test-shutdown4/log.expect                 |  2 +-
 20 files changed, 123 insertions(+), 42 deletions(-)
 create mode 100644 src/test/test-relocate-to-inactive-node/README
 create mode 100644 src/test/test-relocate-to-inactive-node/cmdlist
 create mode 100644 src/test/test-relocate-to-inactive-node/hardware_status
 create mode 100644 src/test/test-relocate-to-inactive-node/log.expect
 create mode 100644 src/test/test-relocate-to-inactive-node/manager_status
 create mode 100644 src/test/test-relocate-to-inactive-node/service_config

-- 
2.1.4





More information about the pve-devel mailing list