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