Statistics
| Branch: | Tag: | Revision:

root / qa / qa-sample.json @ 67bd83ae

History | View | Annotate | Download (7.2 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 f985ecbd Jose A. Lopes
    "cluster-instance-communication": true,
178 24fed61e René Nussbaumer
    "cluster-epo": true,
179 65a884ef Iustin Pop
    "cluster-redist-conf": true,
180 65a884ef Iustin Pop
    "cluster-repair-disk-sizes": true,
181 50ef6a41 Bernardo Dal Seno
    "cluster-exclusive-storage": true,
182 ab4832d1 Bernardo Dal Seno
    "cluster-instance-policy": true,
183 f985ecbd Jose A. Lopes
    "cluster-upgrade": true,
184 8c4a9a74 Michael Hanselmann
185 286b7335 Iustin Pop
    "haskell-confd": true,
186 52bebbdf Iustin Pop
    "htools": true,
187 286b7335 Iustin Pop
188 30131294 Adeodato Simo
    "group-list": true,
189 66787da5 Adeodato Simo
    "group-rwops": true,
190 02911a56 Petr Pudlak
    "group-custom-ssh-port": true,
191 30131294 Adeodato Simo
192 ea7693c1 Helga Velroyen
    "network": false,
193 ea7693c1 Helga Velroyen
194 288d6440 Michael Hanselmann
    "node-list": true,
195 8c4a9a74 Michael Hanselmann
    "node-info": true,
196 8c4a9a74 Michael Hanselmann
    "node-volumes": true,
197 8c4a9a74 Michael Hanselmann
    "node-readd": true,
198 8e1db003 Michael Hanselmann
    "node-storage": true,
199 d0cb68cb Michael Hanselmann
    "node-modify": true,
200 a1de4b18 René Nussbaumer
    "node-oob": true,
201 8c4a9a74 Michael Hanselmann
202 52e9bef0 Thomas Thrainer
    "# These tests need at least three nodes": null,
203 8c4a9a74 Michael Hanselmann
    "node-evacuate": false,
204 52e9bef0 Thomas Thrainer
    "node-migrate": false,
205 8c4a9a74 Michael Hanselmann
206 8c4a9a74 Michael Hanselmann
    "# This test needs at least two nodes": null,
207 8c4a9a74 Michael Hanselmann
    "node-failover": false,
208 8c4a9a74 Michael Hanselmann
209 8c4a9a74 Michael Hanselmann
    "instance-add-plain-disk": true,
210 6970c89c Klaus Aehlig
    "instance-add-file": true,
211 f9b76ed4 Helga Velroyen
    "instance-add-shared-file": true,
212 8c4a9a74 Michael Hanselmann
    "instance-add-drbd-disk": true,
213 59c75517 Michael Hanselmann
    "instance-add-diskless": true,
214 6f665bf7 Helga Velroyen
    "instance-add-restricted-by-disktemplates": true,
215 7f69aabb Iustin Pop
    "instance-convert-disk": true,
216 b498540e Iustin Pop
    "instance-plain-rapi-common-tests": true,
217 c7e54e1d Agata Murawska
    "instance-remove-drbd-offline": true,
218 8c4a9a74 Michael Hanselmann
219 18337ca9 Iustin Pop
    "instance-export": true,
220 8c4a9a74 Michael Hanselmann
    "instance-failover": true,
221 26a5056d Iustin Pop
    "instance-grow-disk": true,
222 18337ca9 Iustin Pop
    "instance-import": true,
223 8c4a9a74 Michael Hanselmann
    "instance-info": true,
224 18337ca9 Iustin Pop
    "instance-list": true,
225 938bde86 Michael Hanselmann
    "instance-migrate": true,
226 8c4a9a74 Michael Hanselmann
    "instance-modify": true,
227 d0a44ec0 Klaus Aehlig
    "instance-modify-primary": true,
228 8cd4f8cf Bernardo Dal Seno
    "instance-modify-disks": false,
229 8c4a9a74 Michael Hanselmann
    "instance-reboot": true,
230 18337ca9 Iustin Pop
    "instance-reinstall": true,
231 18337ca9 Iustin Pop
    "instance-rename": true,
232 8c4a9a74 Michael Hanselmann
    "instance-shutdown": true,
233 090128b6 Christos Stavrakakis
    "instance-device-names": true,
234 e61c0f24 Dimitris Aragiorgis
    "instance-device-hotplug": false,
235 24c530df Jose A. Lopes
    "instance-user-down": true,
236 8c4a9a74 Michael Hanselmann
237 09470dd8 Michael Hanselmann
    "job-list": true,
238 09470dd8 Michael Hanselmann
239 1010ec70 Michael Hanselmann
    "# cron/ganeti-watcher should be disabled for these tests": null,
240 1010ec70 Michael Hanselmann
    "instance-automatic-restart": false,
241 1010ec70 Michael Hanselmann
    "instance-consecutive-failures": false,
242 1010ec70 Michael Hanselmann
243 8e1db003 Michael Hanselmann
    "# This test might fail with certain hypervisor types, depending": null,
244 8e1db003 Michael Hanselmann
    "# on whether they support the `gnt-instance console' command.": null,
245 8c4a9a74 Michael Hanselmann
    "instance-console": false,
246 8c4a9a74 Michael Hanselmann
247 83180411 Bernardo Dal Seno
    "# Disabled by default because they take rather long": null,
248 8c4a9a74 Michael Hanselmann
    "instance-replace-disks": false,
249 83180411 Bernardo Dal Seno
    "instance-recreate-disks": false,
250 8c4a9a74 Michael Hanselmann
251 5d831182 Michael Hanselmann
    "# Whether to test the tools/move-instance utility": null,
252 5d831182 Michael Hanselmann
    "inter-cluster-instance-move": false,
253 5d831182 Michael Hanselmann
254 deadfa13 Bernardo Dal Seno
    "# Run instance tests with different cluster configurations": null,
255 deadfa13 Bernardo Dal Seno
    "default-instance-tests": true,
256 a5877534 Michele Tartara
    "exclusive-storage-instance-tests": false,
257 a5877534 Michele Tartara
258 a5877534 Michele Tartara
    "mon-collector": true
259 8c4a9a74 Michael Hanselmann
  },
260 8c4a9a74 Michael Hanselmann
261 8c4a9a74 Michael Hanselmann
  "options": {
262 8c4a9a74 Michael Hanselmann
    "burnin-instances": 2,
263 0b0a150a Iustin Pop
    "burnin-disk-template": "drbd",
264 0b0a150a Iustin Pop
    "burnin-in-parallel": false,
265 4dc76b24 Iustin Pop
    "burnin-check-instances": false,
266 58598264 Iustin Pop
    "burnin-rename": "xen-test-rename",
267 1d103c02 Iustin Pop
    "burnin-reboot": true,
268 e85be22a Bernardo Dal Seno
    "reboot-types": ["soft", "hard", "full"],
269 ec7b6d63 Petr Pudlak
    "use-iallocators": false,
270 ec7b6d63 Petr Pudlak
    "# Uncomment if you want to run the whole cluster on a different SSH port": null,
271 ec7b6d63 Petr Pudlak
    "# ssh-port": 222
272 0043d734 Michael Hanselmann
  },
273 0043d734 Michael Hanselmann
274 0043d734 Michael Hanselmann
  "# vim: set syntax=javascript :": null
275 8c4a9a74 Michael Hanselmann
}