Statistics
| Branch: | Tag: | Revision:

root / qa / qa-sample.json @ 2129c5ff

History | View | Annotate | Download (7.1 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
  "nodes": [
109
    {
110
      "# Master node": null,
111
      "primary": "xen-test-0",
112
      "secondary": "192.0.2.1"
113
    },
114

    
115
    {
116
      "primary": "xen-test-1",
117
      "secondary": "192.0.2.2"
118
    }
119
  ],
120

    
121
  "instances": [
122
    {
123
      "name": "xen-test-inst1",
124

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

    
131
      "# Static MAC address": null,
132
      "#nic.mac/0": "AA:00:00:22:22:22"
133
    }
134
  ],
135

    
136
  "groups": {
137
    "group-with-nodes": "default",
138
    "inexistent-groups": [
139
      "group1",
140
      "group2",
141
      "group3"
142
    ]
143
  },
144

    
145
  "networks": {
146
    "inexistent-networks": [
147
      "network1",
148
      "network2",
149
      "network3"
150
    ]
151
  },
152

    
153
  "tests": {
154
    "# Whether tests are enabled or disabled by default": null,
155
    "default": true,
156

    
157
    "env": true,
158
    "os": true,
159
    "tags": true,
160
    "rapi": true,
161
    "test-jobqueue": true,
162
    "delay": true,
163

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

    
184
    "haskell-confd": true,
185
    "htools": true,
186

    
187
    "group-list": true,
188
    "group-rwops": true,
189
    "group-custom-ssh-port": true,
190

    
191
    "network": false,
192

    
193
    "node-list": true,
194
    "node-info": true,
195
    "node-volumes": true,
196
    "node-readd": true,
197
    "node-storage": true,
198
    "node-modify": true,
199
    "node-oob": true,
200

    
201
    "# These tests need at least three nodes": null,
202
    "node-evacuate": false,
203
    "node-migrate": false,
204

    
205
    "# This test needs at least two nodes": null,
206
    "node-failover": false,
207

    
208
    "instance-add-plain-disk": true,
209
    "instance-add-file": true,
210
    "instance-add-shared-file": true,
211
    "instance-add-drbd-disk": true,
212
    "instance-add-diskless": true,
213
    "instance-add-restricted-by-disktemplates": true,
214
    "instance-convert-disk": true,
215
    "instance-plain-rapi-common-tests": true,
216
    "instance-remove-drbd-offline": true,
217

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

    
236
    "job-list": true,
237

    
238
    "# cron/ganeti-watcher should be disabled for these tests": null,
239
    "instance-automatic-restart": false,
240
    "instance-consecutive-failures": false,
241

    
242
    "# This test might fail with certain hypervisor types, depending": null,
243
    "# on whether they support the `gnt-instance console' command.": null,
244
    "instance-console": false,
245

    
246
    "# Disabled by default because they take rather long": null,
247
    "instance-replace-disks": false,
248
    "instance-recreate-disks": false,
249

    
250
    "# Whether to test the tools/move-instance utility": null,
251
    "inter-cluster-instance-move": false,
252

    
253
    "# Run instance tests with different cluster configurations": null,
254
    "default-instance-tests": true,
255
    "exclusive-storage-instance-tests": false,
256

    
257
    "mon-collector": true
258
  },
259

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

    
273
  "# vim: set syntax=javascript :": null
274
}