root / qa / qa-sample.json @ 1490a90c
History | View | Annotate | Download (7.1 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 | 8c4a9a74 | Michael Hanselmann | "nodes": [
|
109 | 8c4a9a74 | Michael Hanselmann | { |
110 | 8c4a9a74 | Michael Hanselmann | "# Master node": null, |
111 | 8c4a9a74 | Michael Hanselmann | "primary": "xen-test-0", |
112 | 926feaf1 | Manuel Franceschini | "secondary": "192.0.2.1" |
113 | 8c4a9a74 | Michael Hanselmann | }, |
114 | 8c4a9a74 | Michael Hanselmann | |
115 | 8c4a9a74 | Michael Hanselmann | { |
116 | 8c4a9a74 | Michael Hanselmann | "primary": "xen-test-1", |
117 | 926feaf1 | Manuel Franceschini | "secondary": "192.0.2.2" |
118 | 8c4a9a74 | Michael Hanselmann | } |
119 | 8c4a9a74 | Michael Hanselmann | ], |
120 | 8c4a9a74 | Michael Hanselmann | |
121 | 8c4a9a74 | Michael Hanselmann | "instances": [
|
122 | 8c4a9a74 | Michael Hanselmann | { |
123 | f346a7d9 | Michael Hanselmann | "name": "xen-test-inst1", |
124 | f346a7d9 | Michael Hanselmann | |
125 | f346a7d9 | Michael Hanselmann | "# Static MAC address": null, |
126 | f346a7d9 | Michael Hanselmann | "#nic.mac/0": "AA:00:00:11:11:11" |
127 | 8c4a9a74 | Michael Hanselmann | }, |
128 | 8c4a9a74 | Michael Hanselmann | { |
129 | f346a7d9 | Michael Hanselmann | "name": "xen-test-inst2", |
130 | f346a7d9 | Michael Hanselmann | |
131 | f346a7d9 | Michael Hanselmann | "# Static MAC address": null, |
132 | f346a7d9 | Michael Hanselmann | "#nic.mac/0": "AA:00:00:22:22:22" |
133 | 8c4a9a74 | Michael Hanselmann | } |
134 | 8c4a9a74 | Michael Hanselmann | ], |
135 | 8c4a9a74 | Michael Hanselmann | |
136 | 66787da5 | Adeodato Simo | "groups": {
|
137 | 66787da5 | Adeodato Simo | "group-with-nodes": "default", |
138 | 66787da5 | Adeodato Simo | "inexistent-groups": [
|
139 | 66787da5 | Adeodato Simo | "group1",
|
140 | 66787da5 | Adeodato Simo | "group2",
|
141 | 66787da5 | Adeodato Simo | "group3"
|
142 | 66787da5 | Adeodato Simo | ] |
143 | a1de4b18 | René Nussbaumer | }, |
144 | 66787da5 | Adeodato Simo | |
145 | ea7693c1 | Helga Velroyen | "networks": {
|
146 | ea7693c1 | Helga Velroyen | "inexistent-networks": [
|
147 | ea7693c1 | Helga Velroyen | "network1",
|
148 | ea7693c1 | Helga Velroyen | "network2",
|
149 | ea7693c1 | Helga Velroyen | "network3"
|
150 | ea7693c1 | Helga Velroyen | ] |
151 | ea7693c1 | Helga Velroyen | }, |
152 | ea7693c1 | Helga Velroyen | |
153 | 8c4a9a74 | Michael Hanselmann | "tests": {
|
154 | 59a8fe48 | Michael Hanselmann | "# Whether tests are enabled or disabled by default": null, |
155 | 59a8fe48 | Michael Hanselmann | "default": true, |
156 | 59a8fe48 | Michael Hanselmann | |
157 | 8c4a9a74 | Michael Hanselmann | "env": true, |
158 | 8c4a9a74 | Michael Hanselmann | "os": true, |
159 | 8c4a9a74 | Michael Hanselmann | "tags": true, |
160 | 8c4a9a74 | Michael Hanselmann | "rapi": true, |
161 | cd04f8c2 | Michael Hanselmann | "test-jobqueue": true, |
162 | 5a85b99e | Michael Hanselmann | "delay": true, |
163 | 8c4a9a74 | Michael Hanselmann | |
164 | a5b9d725 | Iustin Pop | "create-cluster": true, |
165 | 8c4a9a74 | Michael Hanselmann | "cluster-verify": true, |
166 | 8c4a9a74 | Michael Hanselmann | "cluster-info": true, |
167 | 8c4a9a74 | Michael Hanselmann | "cluster-burnin": true, |
168 | 8c4a9a74 | Michael Hanselmann | "cluster-command": true, |
169 | 8c4a9a74 | Michael Hanselmann | "cluster-copyfile": true, |
170 | 8c4a9a74 | Michael Hanselmann | "cluster-master-failover": true, |
171 | 6d4a1656 | Michael Hanselmann | "cluster-renew-crypto": true, |
172 | 8c4a9a74 | Michael Hanselmann | "cluster-destroy": true, |
173 | 8c4a9a74 | Michael Hanselmann | "cluster-rename": true, |
174 | 452913ed | Iustin Pop | "cluster-reserved-lvs": true, |
175 | 9738ca94 | Iustin Pop | "cluster-modify": true, |
176 | b9e478fe | Michael Hanselmann | "cluster-oob": true, |
177 | 24fed61e | René Nussbaumer | "cluster-epo": true, |
178 | 65a884ef | Iustin Pop | "cluster-redist-conf": true, |
179 | 65a884ef | Iustin Pop | "cluster-repair-disk-sizes": true, |
180 | 50ef6a41 | Bernardo Dal Seno | "cluster-exclusive-storage": true, |
181 | ab4832d1 | Bernardo Dal Seno | "cluster-instance-policy": true, |
182 | 94f06b98 | Klaus Aehlig | "cluster-upgrade" : true, |
183 | 8c4a9a74 | Michael Hanselmann | |
184 | 286b7335 | Iustin Pop | "haskell-confd": true, |
185 | 52bebbdf | Iustin Pop | "htools": true, |
186 | 286b7335 | Iustin Pop | |
187 | 30131294 | Adeodato Simo | "group-list": true, |
188 | 66787da5 | Adeodato Simo | "group-rwops": true, |
189 | 02911a56 | Petr Pudlak | "group-custom-ssh-port": true, |
190 | 30131294 | Adeodato Simo | |
191 | ea7693c1 | Helga Velroyen | "network": false, |
192 | ea7693c1 | Helga Velroyen | |
193 | 288d6440 | Michael Hanselmann | "node-list": true, |
194 | 8c4a9a74 | Michael Hanselmann | "node-info": true, |
195 | 8c4a9a74 | Michael Hanselmann | "node-volumes": true, |
196 | 8c4a9a74 | Michael Hanselmann | "node-readd": true, |
197 | 8e1db003 | Michael Hanselmann | "node-storage": true, |
198 | d0cb68cb | Michael Hanselmann | "node-modify": true, |
199 | a1de4b18 | René Nussbaumer | "node-oob": true, |
200 | 8c4a9a74 | Michael Hanselmann | |
201 | 52e9bef0 | Thomas Thrainer | "# These tests need at least three nodes": null, |
202 | 8c4a9a74 | Michael Hanselmann | "node-evacuate": false, |
203 | 52e9bef0 | Thomas Thrainer | "node-migrate": false, |
204 | 8c4a9a74 | Michael Hanselmann | |
205 | 8c4a9a74 | Michael Hanselmann | "# This test needs at least two nodes": null, |
206 | 8c4a9a74 | Michael Hanselmann | "node-failover": false, |
207 | 8c4a9a74 | Michael Hanselmann | |
208 | 8c4a9a74 | Michael Hanselmann | "instance-add-plain-disk": true, |
209 | 6970c89c | Klaus Aehlig | "instance-add-file": true, |
210 | f9b76ed4 | Helga Velroyen | "instance-add-shared-file": true, |
211 | 8c4a9a74 | Michael Hanselmann | "instance-add-drbd-disk": true, |
212 | 59c75517 | Michael Hanselmann | "instance-add-diskless": true, |
213 | 6f665bf7 | Helga Velroyen | "instance-add-restricted-by-disktemplates": true, |
214 | 7f69aabb | Iustin Pop | "instance-convert-disk": true, |
215 | b498540e | Iustin Pop | "instance-plain-rapi-common-tests": true, |
216 | c7e54e1d | Agata Murawska | "instance-remove-drbd-offline": true, |
217 | 8c4a9a74 | Michael Hanselmann | |
218 | 18337ca9 | Iustin Pop | "instance-export": true, |
219 | 8c4a9a74 | Michael Hanselmann | "instance-failover": true, |
220 | 26a5056d | Iustin Pop | "instance-grow-disk": true, |
221 | 18337ca9 | Iustin Pop | "instance-import": true, |
222 | 8c4a9a74 | Michael Hanselmann | "instance-info": true, |
223 | 18337ca9 | Iustin Pop | "instance-list": true, |
224 | 938bde86 | Michael Hanselmann | "instance-migrate": true, |
225 | 8c4a9a74 | Michael Hanselmann | "instance-modify": true, |
226 | d0a44ec0 | Klaus Aehlig | "instance-modify-primary": true, |
227 | 8cd4f8cf | Bernardo Dal Seno | "instance-modify-disks": false, |
228 | 8c4a9a74 | Michael Hanselmann | "instance-reboot": true, |
229 | 18337ca9 | Iustin Pop | "instance-reinstall": true, |
230 | 18337ca9 | Iustin Pop | "instance-rename": true, |
231 | 8c4a9a74 | Michael Hanselmann | "instance-shutdown": true, |
232 | 090128b6 | Christos Stavrakakis | "instance-device-names": true, |
233 | e61c0f24 | Dimitris Aragiorgis | "instance-device-hotplug": false, |
234 | 24c530df | Jose A. Lopes | "instance-user-down": true, |
235 | 8c4a9a74 | Michael Hanselmann | |
236 | 09470dd8 | Michael Hanselmann | "job-list": true, |
237 | 09470dd8 | Michael Hanselmann | |
238 | 1010ec70 | Michael Hanselmann | "# cron/ganeti-watcher should be disabled for these tests": null, |
239 | 1010ec70 | Michael Hanselmann | "instance-automatic-restart": false, |
240 | 1010ec70 | Michael Hanselmann | "instance-consecutive-failures": false, |
241 | 1010ec70 | Michael Hanselmann | |
242 | 8e1db003 | Michael Hanselmann | "# This test might fail with certain hypervisor types, depending": null, |
243 | 8e1db003 | Michael Hanselmann | "# on whether they support the `gnt-instance console' command.": null, |
244 | 8c4a9a74 | Michael Hanselmann | "instance-console": false, |
245 | 8c4a9a74 | Michael Hanselmann | |
246 | 83180411 | Bernardo Dal Seno | "# Disabled by default because they take rather long": null, |
247 | 8c4a9a74 | Michael Hanselmann | "instance-replace-disks": false, |
248 | 83180411 | Bernardo Dal Seno | "instance-recreate-disks": false, |
249 | 8c4a9a74 | Michael Hanselmann | |
250 | 5d831182 | Michael Hanselmann | "# Whether to test the tools/move-instance utility": null, |
251 | 5d831182 | Michael Hanselmann | "inter-cluster-instance-move": false, |
252 | 5d831182 | Michael Hanselmann | |
253 | deadfa13 | Bernardo Dal Seno | "# Run instance tests with different cluster configurations": null, |
254 | deadfa13 | Bernardo Dal Seno | "default-instance-tests": true, |
255 | a5877534 | Michele Tartara | "exclusive-storage-instance-tests": false, |
256 | a5877534 | Michele Tartara | |
257 | a5877534 | Michele Tartara | "mon-collector": true |
258 | 8c4a9a74 | Michael Hanselmann | }, |
259 | 8c4a9a74 | Michael Hanselmann | |
260 | 8c4a9a74 | Michael Hanselmann | "options": {
|
261 | 8c4a9a74 | Michael Hanselmann | "burnin-instances": 2, |
262 | 0b0a150a | Iustin Pop | "burnin-disk-template": "drbd", |
263 | 0b0a150a | Iustin Pop | "burnin-in-parallel": false, |
264 | 4dc76b24 | Iustin Pop | "burnin-check-instances": false, |
265 | 58598264 | Iustin Pop | "burnin-rename": "xen-test-rename", |
266 | 1d103c02 | Iustin Pop | "burnin-reboot": true, |
267 | e85be22a | Bernardo Dal Seno | "reboot-types": ["soft", "hard", "full"], |
268 | ec7b6d63 | Petr Pudlak | "use-iallocators": false, |
269 | ec7b6d63 | Petr Pudlak | "# Uncomment if you want to run the whole cluster on a different SSH port": null, |
270 | ec7b6d63 | Petr Pudlak | "# ssh-port": 222 |
271 | 0043d734 | Michael Hanselmann | }, |
272 | 0043d734 | Michael Hanselmann | |
273 | 0043d734 | Michael Hanselmann | "# vim: set syntax=javascript :": null |
274 | 8c4a9a74 | Michael Hanselmann | } |