Statistics
| Branch: | Tag: | Revision:

root / qa / qa-sample.json @ c061d046

History | View | Annotate | Download (7.3 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
  "# Directory versions of the two installed versions of ganeti, for upgrade testing." : null,
13
  "# dir-version is the version installed at the beginning, and the majority of tests" : null,
14
  "# run in; the other-dir-version, which mus the adjacent, is the version a detour" : null,
15
  "# is made through." : null,
16
  "dir-version": "2.11",
17
  "other-dir-version": "2.10",
18
  "# instances of the following types are to remain over upgrades." : null,
19
  "upgrade-instances": ["drbd", "plain"],
20

    
21
  "# Virtual cluster": null,
22
  "#vcluster-master": "xen-vcluster",
23
  "#vcluster-basedir": "/srv/ganeti/vcluster",
24

    
25
  "enabled-hypervisors": "xen-pvm",
26
  "# Dict of hypervisor name and parameters (like on the cmd line)": null,
27
  "hypervisor-parameters": {},
28
  "# Backend parameters (like on the cmd line)": null,
29
  "backend-parameters": "",
30
  "# Dict of OS name and parameters (like on the cmd line)": null,
31
  "os-parameters": {},
32
  "# Dict of OS name and value dict of hypervisor  parameters": null,
33
  "os-hvp": {},
34
  "primary_ip_version": 4,
35
  "# Name of the LVM group for the cluster": null,
36
  "vg-name": "xenvg",
37
  "# Cluster-level value of the exclusive-storage flag": null,
38
  "exclusive-storage": null,
39

    
40
  "# Only enable disk templates that the QA machines can actually use.": null,
41
  "enabled-disk-templates": [
42
    "plain",
43
    "drbd",
44
    "diskless"
45
  ],
46

    
47
  "# Default file storage directories": null,
48
  "default-file-storage-dir": "/srv/ganeti/file-storage",
49
  "default-shared-file-storage-dir": "/srv/ganeti/shared-file-storage",
50

    
51
  "# Additional arguments for initializing cluster": null,
52
  "cluster-init-args": [],
53

    
54
  "# Network interface for master role": null,
55
  "#master-netdev": "xen-br0",
56

    
57
  "# Default network interface parameters": null,
58
  "#default-nicparams": {
59
    "mode": "bridged",
60
    "link": "xen-br0"
61
  },
62

    
63
  "os": "debian-etch",
64
  "maxmem": "1024M",
65
  "minmem": "512M",
66

    
67
  "# Instance policy specs": null,
68
  "#ispec_cpu_count_max": null,
69
  "#ispec_cpu_count_min": null,
70
  "#ispec_cpu_count_std": null,
71
  "#ispec_disk_count_max": null,
72
  "#ispec_disk_count_min": null,
73
  "#ispec_disk_count_std": null,
74
  "#ispec_disk_size_max": null,
75
  "ispec_disk_size_min": 512,
76
  "#ispec_disk_size_std": null,
77
  "ispec_mem_size_max": 1024,
78
  "#ispec_mem_size_min": null,
79
  "#ispec_mem_size_std": null,
80
  "#ispec_nic_count_max": null,
81
  "#ispec_nic_count_min": null,
82
  "#ispec_nic_count_std": null,
83

    
84
  "# Lists of disks": null,
85
  "disks": [
86
    {
87
      "size": "1G",
88
      "spindles": 2,
89
      "name": "disk0",
90
      "growth": "2G",
91
      "spindles-growth": 1
92
    },
93
    {
94
      "size": "512M",
95
      "spindles": 1,
96
      "name": "disk1",
97
      "growth": "768M",
98
      "spindles-growth": 0
99
    }
100
  ],
101

    
102
  "# Script to check instance status": null,
103
  "instance-check": null,
104

    
105
  "# Regular expression to ignore existing tags": null,
106
  "ignore-tags-re": null,
107

    
108
  "# Repository containing additional files for the QA": null,
109
  "# qa-storage": "http://example.com",
110

    
111
  "nodes": [
112
    {
113
      "# Master node": null,
114
      "primary": "xen-test-0",
115
      "secondary": "192.0.2.1"
116
    },
117

    
118
    {
119
      "primary": "xen-test-1",
120
      "secondary": "192.0.2.2"
121
    }
122
  ],
123

    
124
  "instances": [
125
    {
126
      "name": "xen-test-inst1",
127

    
128
      "# Static MAC address": null,
129
      "#nic.mac/0": "AA:00:00:11:11:11"
130
    },
131
    {
132
      "name": "xen-test-inst2",
133

    
134
      "# Static MAC address": null,
135
      "#nic.mac/0": "AA:00:00:22:22:22"
136
    }
137
  ],
138

    
139
  "groups": {
140
    "group-with-nodes": "default",
141
    "inexistent-groups": [
142
      "group1",
143
      "group2",
144
      "group3"
145
    ]
146
  },
147

    
148
  "networks": {
149
    "inexistent-networks": [
150
      "network1",
151
      "network2",
152
      "network3"
153
    ]
154
  },
155

    
156
  "tests": {
157
    "# Whether tests are enabled or disabled by default": null,
158
    "default": true,
159

    
160
    "env": true,
161
    "os": true,
162
    "tags": true,
163
    "rapi": true,
164
    "test-jobqueue": true,
165
    "delay": true,
166

    
167
    "create-cluster": true,
168
    "cluster-verify": true,
169
    "cluster-info": true,
170
    "cluster-burnin": true,
171
    "cluster-command": true,
172
    "cluster-copyfile": true,
173
    "cluster-master-failover": true,
174
    "cluster-renew-crypto": true,
175
    "cluster-destroy": true,
176
    "cluster-rename": true,
177
    "cluster-reserved-lvs": true,
178
    "cluster-modify": true,
179
    "cluster-oob": true,
180
    "cluster-instance-communication": true,
181
    "cluster-epo": true,
182
    "cluster-redist-conf": true,
183
    "cluster-repair-disk-sizes": true,
184
    "cluster-exclusive-storage": true,
185
    "cluster-instance-policy": true,
186
    "cluster-upgrade": true,
187

    
188
    "haskell-confd": true,
189
    "htools": true,
190

    
191
    "group-list": true,
192
    "group-rwops": true,
193
    "group-custom-ssh-port": true,
194

    
195
    "network": false,
196

    
197
    "node-list": true,
198
    "node-info": true,
199
    "node-volumes": true,
200
    "node-readd": true,
201
    "node-storage": true,
202
    "node-modify": true,
203
    "node-oob": true,
204

    
205
    "# These tests need at least three nodes": null,
206
    "node-evacuate": false,
207
    "node-migrate": false,
208

    
209
    "# This test needs at least two nodes": null,
210
    "node-failover": false,
211

    
212
    "instance-add-plain-disk": true,
213
    "instance-add-file": true,
214
    "instance-add-shared-file": true,
215
    "instance-add-drbd-disk": true,
216
    "instance-add-diskless": true,
217
    "instance-add-restricted-by-disktemplates": true,
218
    "instance-convert-disk": true,
219
    "instance-plain-rapi-common-tests": true,
220
    "instance-remove-drbd-offline": true,
221

    
222
    "instance-export": true,
223
    "instance-failover": true,
224
    "instance-grow-disk": true,
225
    "instance-import": true,
226
    "instance-info": true,
227
    "instance-list": true,
228
    "instance-migrate": true,
229
    "instance-modify": true,
230
    "instance-modify-primary": true,
231
    "instance-modify-disks": false,
232
    "instance-reboot": true,
233
    "instance-reinstall": true,
234
    "instance-rename": true,
235
    "instance-shutdown": true,
236
    "instance-device-names": true,
237
    "instance-device-hotplug": false,
238
    "instance-user-down": true,
239
    "instance-communication": true,
240

    
241
    "job-list": true,
242

    
243
    "# cron/ganeti-watcher should be disabled for these tests": null,
244
    "instance-automatic-restart": false,
245
    "instance-consecutive-failures": false,
246

    
247
    "# This test might fail with certain hypervisor types, depending": null,
248
    "# on whether they support the `gnt-instance console' command.": null,
249
    "instance-console": false,
250

    
251
    "# Disabled by default because they take rather long": null,
252
    "instance-replace-disks": false,
253
    "instance-recreate-disks": false,
254

    
255
    "# Whether to test the tools/move-instance utility": null,
256
    "inter-cluster-instance-move": false,
257

    
258
    "# Run instance tests with different cluster configurations": null,
259
    "default-instance-tests": true,
260
    "exclusive-storage-instance-tests": false,
261

    
262
    "mon-collector": true
263
  },
264

    
265
  "options": {
266
    "burnin-instances": 2,
267
    "burnin-disk-template": "drbd",
268
    "burnin-in-parallel": false,
269
    "burnin-check-instances": false,
270
    "burnin-rename": "xen-test-rename",
271
    "burnin-reboot": true,
272
    "reboot-types": ["soft", "hard", "full"],
273
    "use-iallocators": false,
274
    "# Uncomment if you want to run the whole cluster on a different SSH port": null,
275
    "# ssh-port": 222
276
  },
277

    
278
  "# vim: set syntax=javascript :": null
279
}