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