]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
test shutdown policy: add stopped service to ensure maintained node is not fenced
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Dec 2019 09:37:18 +0000 (10:37 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Dec 2019 09:37:40 +0000 (10:37 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/test/test-shutdown-policy4/log.expect
src/test/test-shutdown-policy4/service_config

index 54868de76fc9ae651ebf0d1b576ef84d869bca55..304fb18eac30d16f1660a0a9115945719733bffc 100644 (file)
@@ -14,6 +14,7 @@ info     20    node1/crm: node 'node1': state changed from 'unknown' => 'online'
 info     20    node1/crm: node 'node2': state changed from 'unknown' => 'online'
 info     20    node1/crm: node 'node3': state changed from 'unknown' => 'online'
 info     20    node1/crm: adding new service 'ct:102' on node 'node3'
+info     20    node1/crm: adding new service 'ct:105' on node 'node3'
 info     20    node1/crm: adding new service 'vm:103' on node 'node3'
 info     22    node2/crm: status change wait_for_quorum => slave
 info     24    node3/crm: status change wait_for_quorum => slave
@@ -23,6 +24,7 @@ info     25    node3/lrm: starting service ct:102
 info     25    node3/lrm: service status ct:102 started
 info     25    node3/lrm: starting service vm:103
 info     25    node3/lrm: service status vm:103 started
+info     40    node1/crm: service 'ct:105': state changed from 'request_stop' to 'stopped'
 info    120      cmdlist: execute shutdown node3
 info    120    node3/lrm: got shutdown request with shutdown policy 'migrate'
 info    120    node3/lrm: shutdown LRM, doing maintenance, removing this node from active list
index 8ee94b5ed3c46d109056cc88360901a6b1cd331a..60dbcda524c0a573ca1afe57e2d19a859d6b1a88 100644 (file)
@@ -1,4 +1,5 @@
 {
     "vm:103": { "node": "node3", "state": "enabled" },
-    "ct:102": { "node": "node3", "state": "enabled" }
+    "ct:102": { "node": "node3", "state": "enabled" },
+    "ct:105": { "node": "node3", "state": "stopped" }
 }