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