]> git.proxmox.com Git - pve-ha-manager.git/blame - src/test/test-stale-maintenance-node/log.expect
manager: clear stale maintenance node caused by simultaneous cluster shutdown
[pve-ha-manager.git] / src / test / test-stale-maintenance-node / log.expect
CommitLineData
a1b9918d
FE
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 'vm:103' on node 'node1'
17info 20 node1/crm: service 'vm:103': state changed from 'request_start' to 'started' (node = node1)
18info 21 node1/lrm: got lock 'ha_agent_node1_lock'
19info 21 node1/lrm: status change wait_for_agent_lock => active
20info 21 node1/lrm: starting service vm:103
21info 21 node1/lrm: service status vm:103 started
22info 22 node2/crm: status change wait_for_quorum => slave
23info 24 node3/crm: status change wait_for_quorum => slave
24info 120 cmdlist: execute shutdown node1
25info 120 node1/lrm: got shutdown request with shutdown policy 'migrate'
26info 120 node1/lrm: shutdown LRM, doing maintenance, removing this node from active list
27info 120 cmdlist: execute shutdown node2
28info 120 node2/lrm: got shutdown request with shutdown policy 'migrate'
29info 120 node2/lrm: shutdown LRM, doing maintenance, removing this node from active list
30info 120 cmdlist: execute shutdown node3
31info 120 node3/lrm: got shutdown request with shutdown policy 'migrate'
32info 120 node3/lrm: shutdown LRM, doing maintenance, removing this node from active list
33info 120 node1/crm: node 'node1': state changed from 'online' => 'maintenance'
34info 120 node1/crm: node 'node2': state changed from 'online' => 'maintenance'
35info 120 node1/crm: node 'node3': state changed from 'online' => 'maintenance'
36info 121 node1/lrm: status change active => maintenance
37info 124 node2/lrm: exit (loop end)
38info 124 shutdown: execute crm node2 stop
39info 123 node2/crm: server received shutdown request
40info 126 node3/lrm: exit (loop end)
41info 126 shutdown: execute crm node3 stop
42info 125 node3/crm: server received shutdown request
43info 143 node2/crm: exit (loop end)
44info 143 shutdown: execute power node2 off
45info 144 node3/crm: exit (loop end)
46info 144 shutdown: execute power node3 off
47info 160 node1/crm: status change master => lost_manager_lock
48info 160 node1/crm: status change lost_manager_lock => wait_for_quorum
49info 161 node1/lrm: status change maintenance => lost_agent_lock
50err 161 node1/lrm: get shutdown request in state 'lost_agent_lock' - detected 1 running services
51err 181 node1/lrm: get shutdown request in state 'lost_agent_lock' - detected 1 running services
52err 201 node1/lrm: get shutdown request in state 'lost_agent_lock' - detected 1 running services
53info 202 watchdog: execute power node1 off
54info 201 node1/crm: killed by poweroff
55info 202 node1/lrm: killed by poweroff
56info 202 hardware: server 'node1' stopped by poweroff (watchdog)
57info 220 cmdlist: execute power node1 on
58info 220 node1/crm: status change startup => wait_for_quorum
59info 220 node1/lrm: status change startup => wait_for_agent_lock
60info 220 cmdlist: execute power node2 on
61info 220 node2/crm: status change startup => wait_for_quorum
62info 220 node2/lrm: status change startup => wait_for_agent_lock
63info 220 cmdlist: execute power node3 on
64info 220 node3/crm: status change startup => wait_for_quorum
65info 220 node3/lrm: status change startup => wait_for_agent_lock
66info 220 node1/crm: status change wait_for_quorum => master
67info 221 node1/lrm: status change wait_for_agent_lock => active
68info 221 node1/lrm: starting service vm:103
69info 221 node1/lrm: service status vm:103 started
70info 222 node2/crm: status change wait_for_quorum => slave
71info 224 node3/crm: status change wait_for_quorum => slave
72info 240 node1/crm: node 'node1': state changed from 'maintenance' => 'online'
73info 240 node1/crm: node 'node2': state changed from 'maintenance' => 'online'
74info 240 node1/crm: node 'node3': state changed from 'maintenance' => 'online'
17c6cbea 75info 240 node1/crm: service 'vm:103': clearing stale maintenance node 'node1' setting (is current node)
a1b9918d
FE
76info 320 cmdlist: execute service vm:103 migrate node3
77info 320 node1/crm: got crm command: migrate vm:103 node3
78info 320 node1/crm: migrate service 'vm:103' to node 'node3'
79info 320 node1/crm: service 'vm:103': state changed from 'started' to 'migrate' (node = node1, target = node3)
80info 321 node1/lrm: service vm:103 - start migrate to node 'node3'
81info 321 node1/lrm: service vm:103 - end migrate to node 'node3'
82info 340 node1/crm: service 'vm:103': state changed from 'migrate' to 'started' (node = node3)
a1b9918d
FE
83info 345 node3/lrm: got lock 'ha_agent_node3_lock'
84info 345 node3/lrm: status change wait_for_agent_lock => active
17c6cbea
FE
85info 345 node3/lrm: starting service vm:103
86info 345 node3/lrm: service status vm:103 started
a1b9918d 87info 920 hardware: exit simulation - done