]> git.proxmox.com Git - pve-ha-manager.git/blob - src/test/test-shutdown-policy4/log.expect
manager: set new request_start state for services freshly added to HA
[pve-ha-manager.git] / src / test / test-shutdown-policy4 / log.expect
1 info 0 hardware: starting simulation
2 info 20 cmdlist: execute power node1 on
3 info 20 node1/crm: status change startup => wait_for_quorum
4 info 20 node1/lrm: status change startup => wait_for_agent_lock
5 info 20 cmdlist: execute power node2 on
6 info 20 node2/crm: status change startup => wait_for_quorum
7 info 20 node2/lrm: status change startup => wait_for_agent_lock
8 info 20 cmdlist: execute power node3 on
9 info 20 node3/crm: status change startup => wait_for_quorum
10 info 20 node3/lrm: status change startup => wait_for_agent_lock
11 info 20 node1/crm: got lock 'ha_manager_lock'
12 info 20 node1/crm: status change wait_for_quorum => master
13 info 20 node1/crm: node 'node1': state changed from 'unknown' => 'online'
14 info 20 node1/crm: node 'node2': state changed from 'unknown' => 'online'
15 info 20 node1/crm: node 'node3': state changed from 'unknown' => 'online'
16 info 20 node1/crm: adding new service 'ct:102' on node 'node3'
17 info 20 node1/crm: adding new service 'ct:105' on node 'node3'
18 info 20 node1/crm: adding new service 'vm:103' on node 'node3'
19 info 20 node1/crm: service 'ct:102': state changed from 'request_start' to 'started' (node = node3)
20 info 20 node1/crm: service 'vm:103': state changed from 'request_start' to 'started' (node = node3)
21 info 22 node2/crm: status change wait_for_quorum => slave
22 info 24 node3/crm: status change wait_for_quorum => slave
23 info 25 node3/lrm: got lock 'ha_agent_node3_lock'
24 info 25 node3/lrm: status change wait_for_agent_lock => active
25 info 25 node3/lrm: starting service ct:102
26 info 25 node3/lrm: service status ct:102 started
27 info 25 node3/lrm: starting service vm:103
28 info 25 node3/lrm: service status vm:103 started
29 info 40 node1/crm: service 'ct:105': state changed from 'request_stop' to 'stopped'
30 info 120 cmdlist: execute shutdown node3
31 info 120 node3/lrm: got shutdown request with shutdown policy 'migrate'
32 info 120 node3/lrm: shutdown LRM, doing maintenance, removing this node from active list
33 info 120 node1/crm: node 'node3': state changed from 'online' => 'maintenance'
34 info 120 node1/crm: relocate service 'ct:102' to node 'node1'
35 info 120 node1/crm: service 'ct:102': state changed from 'started' to 'relocate' (node = node3, target = node1)
36 info 120 node1/crm: migrate service 'vm:103' to node 'node2' (running)
37 info 120 node1/crm: service 'vm:103': state changed from 'started' to 'migrate' (node = node3, target = node2)
38 info 125 node3/lrm: status change active => maintenance
39 info 125 node3/lrm: service ct:102 - start relocate to node 'node1'
40 info 125 node3/lrm: stopping service ct:102 (relocate)
41 info 125 node3/lrm: service status ct:102 stopped
42 info 125 node3/lrm: service ct:102 - end relocate to node 'node1'
43 info 125 node3/lrm: service vm:103 - start migrate to node 'node2'
44 info 125 node3/lrm: service vm:103 - end migrate to node 'node2'
45 info 140 node1/crm: service 'ct:102': state changed from 'relocate' to 'started' (node = node1)
46 info 140 node1/crm: service 'vm:103': state changed from 'migrate' to 'started' (node = node2)
47 info 141 node1/lrm: got lock 'ha_agent_node1_lock'
48 info 141 node1/lrm: status change wait_for_agent_lock => active
49 info 141 node1/lrm: starting service ct:102
50 info 141 node1/lrm: service status ct:102 started
51 info 143 node2/lrm: got lock 'ha_agent_node2_lock'
52 info 143 node2/lrm: status change wait_for_agent_lock => active
53 info 143 node2/lrm: starting service vm:103
54 info 143 node2/lrm: service status vm:103 started
55 info 146 node3/lrm: exit (loop end)
56 info 146 shutdown: execute crm node3 stop
57 info 145 node3/crm: server received shutdown request
58 info 165 node3/crm: exit (loop end)
59 info 165 shutdown: execute power node3 off
60 info 220 cmdlist: execute service ct:105 started
61 info 220 node1/crm: service 'ct:105': state changed from 'stopped' to 'request_start' (node = node3)
62 info 220 node1/crm: service 'ct:105': state changed from 'request_start' to 'started' (node = node3)
63 info 220 node1/crm: service 'ct:105': state changed from 'started' to 'fence'
64 info 220 node1/crm: relocate service 'ct:105' to node 'node1'
65 info 220 node1/crm: service 'ct:105': state changed from 'fence' to 'relocate' (node = node3, target = node1)
66 info 220 node1/crm: service 'ct:105': state changed from 'relocate' to 'fence'
67 info 220 node1/crm: node 'node3': state changed from 'maintenance' => 'fence'
68 emai 220 node1/crm: FENCE: Try to fence node 'node3'
69 info 220 node1/crm: got lock 'ha_agent_node3_lock'
70 info 220 node1/crm: fencing: acknowledged - got agent lock for node 'node3'
71 info 220 node1/crm: node 'node3': state changed from 'fence' => 'unknown'
72 emai 220 node1/crm: SUCCEED: fencing: acknowledged - got agent lock for node 'node3'
73 info 220 node1/crm: service 'ct:105': state changed from 'fence' to 'recovery'
74 info 220 node1/crm: recover service 'ct:105' from fenced node 'node3' to node 'node1'
75 info 220 node1/crm: service 'ct:105': state changed from 'recovery' to 'started' (node = node1)
76 info 221 node1/lrm: starting service ct:105
77 info 221 node1/lrm: service status ct:105 started
78 info 820 hardware: exit simulation - done