root / qa / qa-sample.json @ 93f1e606
History | View | Annotate | Download (7.2 kB)
1 |
{ |
---|---|
2 |
"# Note:": null, |
3 |
"# This file is stored in the JSON format and does not support": null, |
4 |
"# comments. As a work-around, comments are keys starting with a hash": null, |
5 |
"# sign (#).": null, |
6 |
|
7 |
"name": "xen-test", |
8 |
|
9 |
"# Name used for renaming cluster": null, |
10 |
"rename": "xen-test-rename", |
11 |
|
12 |
"# Directory versions of the two installed versions of ganeti, for upgrade testing." : null, |
13 |
"# dir-version is the version installed at the beginning, and the majority of tests" : null, |
14 |
"# run in; the other-dir-version, which mus the adjacent, is the version a detour" : null, |
15 |
"# is made through." : null, |
16 |
"dir-version": "2.11", |
17 |
"other-dir-version": "2.10", |
18 |
"# instances of the following types are to remain over upgrades." : null, |
19 |
"upgrade-instances": ["drbd", "plain"], |
20 |
|
21 |
"# Virtual cluster": null, |
22 |
"#vcluster-master": "xen-vcluster", |
23 |
"#vcluster-basedir": "/srv/ganeti/vcluster", |
24 |
|
25 |
"enabled-hypervisors": "xen-pvm", |
26 |
"# Dict of hypervisor name and parameters (like on the cmd line)": null, |
27 |
"hypervisor-parameters": {},
|
28 |
"# Backend parameters (like on the cmd line)": null, |
29 |
"backend-parameters": "", |
30 |
"# Dict of OS name and parameters (like on the cmd line)": null, |
31 |
"os-parameters": {},
|
32 |
"# Dict of OS name and value dict of hypervisor parameters": null, |
33 |
"os-hvp": {},
|
34 |
"primary_ip_version": 4, |
35 |
"# Name of the LVM group for the cluster": null, |
36 |
"vg-name": "xenvg", |
37 |
"# Cluster-level value of the exclusive-storage flag": null, |
38 |
"exclusive-storage": null, |
39 |
|
40 |
"# Only enable disk templates that the QA machines can actually use.": null, |
41 |
"enabled-disk-templates": [
|
42 |
"plain",
|
43 |
"drbd",
|
44 |
"diskless"
|
45 |
], |
46 |
|
47 |
"# Default file storage directories": null, |
48 |
"default-file-storage-dir": "/srv/ganeti/file-storage", |
49 |
"default-shared-file-storage-dir": "/srv/ganeti/shared-file-storage", |
50 |
|
51 |
"# Additional arguments for initializing cluster": null, |
52 |
"cluster-init-args": [],
|
53 |
|
54 |
"# Network interface for master role": null, |
55 |
"#master-netdev": "xen-br0", |
56 |
|
57 |
"# Default network interface parameters": null, |
58 |
"#default-nicparams": {
|
59 |
"mode": "bridged", |
60 |
"link": "xen-br0" |
61 |
}, |
62 |
|
63 |
"os": "debian-etch", |
64 |
"maxmem": "1024M", |
65 |
"minmem": "512M", |
66 |
|
67 |
"# Instance policy specs": null, |
68 |
"#ispec_cpu_count_max": null, |
69 |
"#ispec_cpu_count_min": null, |
70 |
"#ispec_cpu_count_std": null, |
71 |
"#ispec_disk_count_max": null, |
72 |
"#ispec_disk_count_min": null, |
73 |
"#ispec_disk_count_std": null, |
74 |
"#ispec_disk_size_max": null, |
75 |
"ispec_disk_size_min": 512, |
76 |
"#ispec_disk_size_std": null, |
77 |
"ispec_mem_size_max": 1024, |
78 |
"#ispec_mem_size_min": null, |
79 |
"#ispec_mem_size_std": null, |
80 |
"#ispec_nic_count_max": null, |
81 |
"#ispec_nic_count_min": null, |
82 |
"#ispec_nic_count_std": null, |
83 |
|
84 |
"# Lists of disks": null, |
85 |
"disks": [
|
86 |
{ |
87 |
"size": "1G", |
88 |
"spindles": 2, |
89 |
"name": "disk0", |
90 |
"growth": "2G", |
91 |
"spindles-growth": 1 |
92 |
}, |
93 |
{ |
94 |
"size": "512M", |
95 |
"spindles": 1, |
96 |
"name": "disk1", |
97 |
"growth": "768M", |
98 |
"spindles-growth": 0 |
99 |
} |
100 |
], |
101 |
|
102 |
"# Script to check instance status": null, |
103 |
"instance-check": null, |
104 |
|
105 |
"# Regular expression to ignore existing tags": null, |
106 |
"ignore-tags-re": null, |
107 |
|
108 |
"nodes": [
|
109 |
{ |
110 |
"# Master node": null, |
111 |
"primary": "xen-test-0", |
112 |
"secondary": "192.0.2.1" |
113 |
}, |
114 |
|
115 |
{ |
116 |
"primary": "xen-test-1", |
117 |
"secondary": "192.0.2.2" |
118 |
} |
119 |
], |
120 |
|
121 |
"instances": [
|
122 |
{ |
123 |
"name": "xen-test-inst1", |
124 |
|
125 |
"# Static MAC address": null, |
126 |
"#nic.mac/0": "AA:00:00:11:11:11" |
127 |
}, |
128 |
{ |
129 |
"name": "xen-test-inst2", |
130 |
|
131 |
"# Static MAC address": null, |
132 |
"#nic.mac/0": "AA:00:00:22:22:22" |
133 |
} |
134 |
], |
135 |
|
136 |
"groups": {
|
137 |
"group-with-nodes": "default", |
138 |
"inexistent-groups": [
|
139 |
"group1",
|
140 |
"group2",
|
141 |
"group3"
|
142 |
] |
143 |
}, |
144 |
|
145 |
"networks": {
|
146 |
"inexistent-networks": [
|
147 |
"network1",
|
148 |
"network2",
|
149 |
"network3"
|
150 |
] |
151 |
}, |
152 |
|
153 |
"tests": {
|
154 |
"# Whether tests are enabled or disabled by default": null, |
155 |
"default": true, |
156 |
|
157 |
"env": true, |
158 |
"os": true, |
159 |
"tags": true, |
160 |
"rapi": true, |
161 |
"test-jobqueue": true, |
162 |
"delay": true, |
163 |
|
164 |
"create-cluster": true, |
165 |
"cluster-verify": true, |
166 |
"cluster-info": true, |
167 |
"cluster-burnin": true, |
168 |
"cluster-command": true, |
169 |
"cluster-copyfile": true, |
170 |
"cluster-master-failover": true, |
171 |
"cluster-renew-crypto": true, |
172 |
"cluster-destroy": true, |
173 |
"cluster-rename": true, |
174 |
"cluster-reserved-lvs": true, |
175 |
"cluster-modify": true, |
176 |
"cluster-oob": true, |
177 |
"cluster-instance-communication": true, |
178 |
"cluster-epo": true, |
179 |
"cluster-redist-conf": true, |
180 |
"cluster-repair-disk-sizes": true, |
181 |
"cluster-exclusive-storage": true, |
182 |
"cluster-instance-policy": true, |
183 |
"cluster-upgrade": true, |
184 |
|
185 |
"haskell-confd": true, |
186 |
"htools": true, |
187 |
|
188 |
"group-list": true, |
189 |
"group-rwops": true, |
190 |
"group-custom-ssh-port": true, |
191 |
|
192 |
"network": false, |
193 |
|
194 |
"node-list": true, |
195 |
"node-info": true, |
196 |
"node-volumes": true, |
197 |
"node-readd": true, |
198 |
"node-storage": true, |
199 |
"node-modify": true, |
200 |
"node-oob": true, |
201 |
|
202 |
"# These tests need at least three nodes": null, |
203 |
"node-evacuate": false, |
204 |
"node-migrate": false, |
205 |
|
206 |
"# This test needs at least two nodes": null, |
207 |
"node-failover": false, |
208 |
|
209 |
"instance-add-plain-disk": true, |
210 |
"instance-add-file": true, |
211 |
"instance-add-shared-file": true, |
212 |
"instance-add-drbd-disk": true, |
213 |
"instance-add-diskless": true, |
214 |
"instance-add-restricted-by-disktemplates": true, |
215 |
"instance-convert-disk": true, |
216 |
"instance-plain-rapi-common-tests": true, |
217 |
"instance-remove-drbd-offline": true, |
218 |
|
219 |
"instance-export": true, |
220 |
"instance-failover": true, |
221 |
"instance-grow-disk": true, |
222 |
"instance-import": true, |
223 |
"instance-info": true, |
224 |
"instance-list": true, |
225 |
"instance-migrate": true, |
226 |
"instance-modify": true, |
227 |
"instance-modify-primary": true, |
228 |
"instance-modify-disks": false, |
229 |
"instance-reboot": true, |
230 |
"instance-reinstall": true, |
231 |
"instance-rename": true, |
232 |
"instance-shutdown": true, |
233 |
"instance-device-names": true, |
234 |
"instance-device-hotplug": false, |
235 |
"instance-user-down": true, |
236 |
|
237 |
"job-list": true, |
238 |
|
239 |
"# cron/ganeti-watcher should be disabled for these tests": null, |
240 |
"instance-automatic-restart": false, |
241 |
"instance-consecutive-failures": false, |
242 |
|
243 |
"# This test might fail with certain hypervisor types, depending": null, |
244 |
"# on whether they support the `gnt-instance console' command.": null, |
245 |
"instance-console": false, |
246 |
|
247 |
"# Disabled by default because they take rather long": null, |
248 |
"instance-replace-disks": false, |
249 |
"instance-recreate-disks": false, |
250 |
|
251 |
"# Whether to test the tools/move-instance utility": null, |
252 |
"inter-cluster-instance-move": false, |
253 |
|
254 |
"# Run instance tests with different cluster configurations": null, |
255 |
"default-instance-tests": true, |
256 |
"exclusive-storage-instance-tests": false, |
257 |
|
258 |
"mon-collector": true |
259 |
}, |
260 |
|
261 |
"options": {
|
262 |
"burnin-instances": 2, |
263 |
"burnin-disk-template": "drbd", |
264 |
"burnin-in-parallel": false, |
265 |
"burnin-check-instances": false, |
266 |
"burnin-rename": "xen-test-rename", |
267 |
"burnin-reboot": true, |
268 |
"reboot-types": ["soft", "hard", "full"], |
269 |
"use-iallocators": false, |
270 |
"# Uncomment if you want to run the whole cluster on a different SSH port": null, |
271 |
"# ssh-port": 222 |
272 |
}, |
273 |
|
274 |
"# vim: set syntax=javascript :": null |
275 |
} |