]> git.proxmox.com Git - pve-ha-manager.git/blob - src/test/test-shutdown-policy3/log.expect
manager: set new request_start state for services freshly added to HA
[pve-ha-manager.git] / src / test / test-shutdown-policy3 / 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 'vm:103' on node 'node3'
18 info 20 node1/crm: service 'ct:102': state changed from 'request_start' to 'started' (node = node3)
19 info 20 node1/crm: service 'vm:103': state changed from 'request_start' to 'started' (node = node3)
20 info 22 node2/crm: status change wait_for_quorum => slave
21 info 24 node3/crm: status change wait_for_quorum => slave
22 info 25 node3/lrm: got lock 'ha_agent_node3_lock'
23 info 25 node3/lrm: status change wait_for_agent_lock => active
24 info 25 node3/lrm: starting service ct:102
25 info 25 node3/lrm: service status ct:102 started
26 info 25 node3/lrm: starting service vm:103
27 info 25 node3/lrm: service status vm:103 started
28 info 120 cmdlist: execute reboot node3
29 info 120 node3/lrm: got shutdown request with shutdown policy 'migrate'
30 info 120 node3/lrm: reboot LRM, doing maintenance, removing this node from active list
31 info 120 node1/crm: node 'node3': state changed from 'online' => 'maintenance'
32 info 120 node1/crm: relocate service 'ct:102' to node 'node1'
33 info 120 node1/crm: service 'ct:102': state changed from 'started' to 'relocate' (node = node3, target = node1)
34 info 120 node1/crm: migrate service 'vm:103' to node 'node2' (running)
35 info 120 node1/crm: service 'vm:103': state changed from 'started' to 'migrate' (node = node3, target = node2)
36 info 125 node3/lrm: status change active => maintenance
37 info 125 node3/lrm: service ct:102 - start relocate to node 'node1'
38 info 125 node3/lrm: stopping service ct:102 (relocate)
39 info 125 node3/lrm: service status ct:102 stopped
40 info 125 node3/lrm: service ct:102 - end relocate to node 'node1'
41 info 125 node3/lrm: service vm:103 - start migrate to node 'node2'
42 info 125 node3/lrm: service vm:103 - end migrate to node 'node2'
43 info 140 node1/crm: service 'ct:102': state changed from 'relocate' to 'started' (node = node1)
44 info 140 node1/crm: service 'vm:103': state changed from 'migrate' to 'started' (node = node2)
45 info 141 node1/lrm: got lock 'ha_agent_node1_lock'
46 info 141 node1/lrm: status change wait_for_agent_lock => active
47 info 141 node1/lrm: starting service ct:102
48 info 141 node1/lrm: service status ct:102 started
49 info 143 node2/lrm: got lock 'ha_agent_node2_lock'
50 info 143 node2/lrm: status change wait_for_agent_lock => active
51 info 143 node2/lrm: starting service vm:103
52 info 143 node2/lrm: service status vm:103 started
53 info 146 node3/lrm: exit (loop end)
54 info 146 reboot: execute crm node3 stop
55 info 145 node3/crm: server received shutdown request
56 info 165 node3/crm: exit (loop end)
57 info 165 reboot: execute power node3 off
58 info 165 reboot: execute power node3 on
59 info 165 node3/crm: status change startup => wait_for_quorum
60 info 160 node3/lrm: status change startup => wait_for_agent_lock
61 info 180 node1/crm: node 'node3': state changed from 'maintenance' => 'online'
62 info 180 node1/crm: moving service 'ct:102' back to 'node3', node came back from maintenance.
63 info 180 node1/crm: relocate service 'ct:102' to node 'node3'
64 info 180 node1/crm: service 'ct:102': state changed from 'started' to 'relocate' (node = node1, target = node3)
65 info 180 node1/crm: moving service 'vm:103' back to 'node3', node came back from maintenance.
66 info 180 node1/crm: migrate service 'vm:103' to node 'node3' (running)
67 info 180 node1/crm: service 'vm:103': state changed from 'started' to 'migrate' (node = node2, target = node3)
68 info 181 node1/lrm: service ct:102 - start relocate to node 'node3'
69 info 181 node1/lrm: stopping service ct:102 (relocate)
70 info 181 node1/lrm: service status ct:102 stopped
71 info 181 node1/lrm: service ct:102 - end relocate to node 'node3'
72 info 183 node2/lrm: service vm:103 - start migrate to node 'node3'
73 info 183 node2/lrm: service vm:103 - end migrate to node 'node3'
74 info 184 node3/crm: status change wait_for_quorum => slave
75 info 200 node1/crm: service 'ct:102': state changed from 'relocate' to 'started' (node = node3)
76 info 200 node1/crm: service 'vm:103': state changed from 'migrate' to 'started' (node = node3)
77 info 205 node3/lrm: got lock 'ha_agent_node3_lock'
78 info 205 node3/lrm: status change wait_for_agent_lock => active
79 info 205 node3/lrm: starting service ct:102
80 info 205 node3/lrm: service status ct:102 started
81 info 205 node3/lrm: starting service vm:103
82 info 205 node3/lrm: service status vm:103 started
83 info 720 hardware: exit simulation - done