Revision ed74dde5
b/Makefile.am | ||
---|---|---|
1084 | 1084 |
test/data/htools/rapi/info.json \ |
1085 | 1085 |
test/data/htools/rapi/instances.json \ |
1086 | 1086 |
test/data/htools/rapi/nodes.json \ |
1087 |
test/data/htools/hroller-full.data \ |
|
1087 | 1088 |
test/data/htools/hroller-nodegroups.data \ |
1088 | 1089 |
test/data/htools/hroller-nonredundant.data \ |
1089 | 1090 |
test/data/htools/hroller-online.data \ |
b/test/data/htools/hroller-full.data | ||
---|---|---|
1 |
group-01|fake-uuid-01|preferred| |
|
2 |
|
|
3 |
node-00|91552|0|91424|3102|1052|16|N|fake-uuid-01|1 |
|
4 |
node-01|91552|0|91424|3102|1052|16|N|fake-uuid-01|1 |
|
5 |
node-10|91552|0|91424|3102|1052|16|N|fake-uuid-01|1 |
|
6 |
node-11|91552|0|91424|3102|1052|16|N|fake-uuid-01|1 |
|
7 |
node-20|91552|0|91424|3102|1052|16|N|fake-uuid-01|1 |
|
8 |
node-21|91552|0|91424|3102|1052|16|N|fake-uuid-01|1 |
|
9 |
node-30|91553|0|91424|3102|1053|16|N|fake-uuid-01|1 |
|
10 |
node-31|91553|0|91424|3102|1053|16|M|fake-uuid-01|1 |
|
11 |
|
|
12 |
inst-00|128|1024|1|running|Y|node-00|node-01|drbd||1 |
|
13 |
inst-00|128|1024|1|running|Y|node-01|node-00|drbd||1 |
|
14 |
inst-10|128|1024|1|running|Y|node-10|node-11|drbd||1 |
|
15 |
inst-11|128|1024|1|running|Y|node-11|node-10|drbd||1 |
|
16 |
inst-20|128|1024|1|running|Y|node-20|node-21|drbd||1 |
|
17 |
inst-21|128|1024|1|running|Y|node-21|node-20|drbd||1 |
|
18 |
inst-30|128|1024|1|running|Y|node-30|node-31|drbd||1 |
|
19 |
inst-31|128|1024|1|running|Y|node-31|node-30|drbd||1 |
|
20 |
|
|
21 |
|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0 |
|
22 |
group-01|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0 |
b/test/hs/shelltests/htools-hroller.test | ||
---|---|---|
66 | 66 |
node-01-00. |
67 | 67 |
node-01-00.,node-02-000$/ |
68 | 68 |
>>>= 0 |
69 |
|
|
70 |
./test/hs/hroller --no-headers -t $TESTDATA_DIR/hroller-full.data |
|
71 |
>>>/^node-..,node-..,node-..,node-.. |
|
72 |
node-..,node-..,node-..,node-31$/ |
|
73 |
>>>= 0 |
|
74 |
|
|
75 |
./test/hs/hroller --no-headers --full-evacuation -t $TESTDATA_DIR/hroller-full.data |
|
76 |
>>>/^node-..,node-.. |
|
77 |
node-..,node-.. |
|
78 |
node-..,node-.. |
|
79 |
node-..,node-31$/ |
|
80 |
>>>= 0 |
|
81 |
|
|
82 |
./test/hs/hroller --no-headers --full-evacuation --one-step-only --print-moves -t $TESTDATA_DIR/hroller-full.data |
|
83 |
>>>/^node-.. |
|
84 |
node-.. |
|
85 |
inst-.. node-.. node-.. |
|
86 |
inst-.. node-.. node-.. |
|
87 |
inst-.. node-.. node-.. |
|
88 |
inst-.. node-.. node-..$/ |
|
89 |
>>>= 0 |
|
90 |
|
|
91 |
./test/hs/hroller --full-evacuation -t $TESTDATA_DIR/unique-reboot-order.data |
|
92 |
>>>2 |
|
93 |
Error: Not enough capacity to move secondaries |
|
94 |
>>>=1 |
Also available in: Unified diff