[pve-devel] [PATCH ha-manager v3 0/4] add 'stopped' state for resources

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 15 12:11:19 CET 2016


Changes:
* split patch 2 (implement 'stopped' state) in two parts, to split
  behavioral and non behavioral changes. This allows an eventual revert

for the rest see:
http://pve.proxmox.com/pipermail/pve-devel/2016-November/024039.html

Thomas Lamprecht (4):
  Resources: add 'stopped' state
  implement 'stopped' state
  skip transition to 'started' state if we won't stay in it
  add regression test for 'stopped' state

 src/PVE/HA/Manager.pm                              | 24 ++++++++++---
 src/PVE/HA/Resources.pm                            |  8 +++--
 src/PVE/HA/Sim/TestHardware.pm                     |  4 +--
 src/test/test-basic1/log.expect                    |  1 -
 .../test-relocate-policy-default-group/log.expect  |  1 -
 src/test/test-relocate-policy1/log.expect          |  1 -
 src/test/test-relocate-to-inactive-node/log.expect |  1 -
 src/test/test-resource-failure1/log.expect         |  1 -
 src/test/test-resource-failure2/log.expect         |  1 -
 src/test/test-resource-failure5/log.expect         |  1 -
 src/test/test-resource-failure6/log.expect         |  1 -
 src/test/test-service-stopped1/README              |  5 +++
 src/test/test-service-stopped1/cmdlist             |  3 ++
 src/test/test-service-stopped1/hardware_status     |  5 +++
 src/test/test-service-stopped1/log.expect          | 22 ++++++++++++
 src/test/test-service-stopped1/manager_status      |  1 +
 src/test/test-service-stopped1/service_config      |  3 ++
 src/test/test-service-stopped2/README              |  5 +++
 src/test/test-service-stopped2/cmdlist             |  5 +++
 src/test/test-service-stopped2/hardware_status     |  5 +++
 src/test/test-service-stopped2/log.expect          | 41 ++++++++++++++++++++++
 src/test/test-service-stopped2/manager_status      |  1 +
 src/test/test-service-stopped2/service_config      |  3 ++
 src/test/test-service-stopped3/README              |  6 ++++
 src/test/test-service-stopped3/cmdlist             |  4 +++
 src/test/test-service-stopped3/hardware_status     |  5 +++
 src/test/test-service-stopped3/log.expect          | 31 ++++++++++++++++
 src/test/test-service-stopped3/manager_status      |  1 +
 src/test/test-service-stopped3/service_config      |  3 ++
 29 files changed, 176 insertions(+), 17 deletions(-)
 create mode 100644 src/test/test-service-stopped1/README
 create mode 100644 src/test/test-service-stopped1/cmdlist
 create mode 100644 src/test/test-service-stopped1/hardware_status
 create mode 100644 src/test/test-service-stopped1/log.expect
 create mode 100644 src/test/test-service-stopped1/manager_status
 create mode 100644 src/test/test-service-stopped1/service_config
 create mode 100644 src/test/test-service-stopped2/README
 create mode 100644 src/test/test-service-stopped2/cmdlist
 create mode 100644 src/test/test-service-stopped2/hardware_status
 create mode 100644 src/test/test-service-stopped2/log.expect
 create mode 100644 src/test/test-service-stopped2/manager_status
 create mode 100644 src/test/test-service-stopped2/service_config
 create mode 100644 src/test/test-service-stopped3/README
 create mode 100644 src/test/test-service-stopped3/cmdlist
 create mode 100644 src/test/test-service-stopped3/hardware_status
 create mode 100644 src/test/test-service-stopped3/log.expect
 create mode 100644 src/test/test-service-stopped3/manager_status
 create mode 100644 src/test/test-service-stopped3/service_config

-- 
2.1.4





More information about the pve-devel mailing list