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