qa-sample.json 7.71 KB
Newer Older
1
{
2 3 4 5 6
  "# Note:": null,
  "# This file is stored in the JSON format and does not support": null,
  "# comments. As a work-around, comments are keys starting with a hash": null,
  "# sign (#).": null,

7
  "name": "xen-test",
8 9

  "# Name used for renaming cluster": null,
10
  "rename": "xen-test-rename",
11

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

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

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

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

47 48 49 50 51 52 53
  "# Only test the following disk template conversions": null,
  "convert-disk-templates": [
    "plain",
    "drbd",
    "diskless"
  ],

54
  "# Default file storage directories": null,
55
  "default-file-storage-dir": "/srv/ganeti/file-storage",
56
  "default-shared-file-storage-dir": "/srv/ganeti/shared-file-storage",
57
  "default-gluster-storage-dir": "/srv/ganeti/gluster-file-storage",
58

59 60 61
  "# Additional arguments for initializing cluster": null,
  "cluster-init-args": [],

62 63 64 65 66 67
  "# Network interface for master role": null,
  "#master-netdev": "xen-br0",

  "# Default network interface parameters": null,
  "#default-nicparams": {
    "mode": "bridged",
68
    "link": "xen-br0"
69 70
  },

71
  "os": "debian-etch",
72 73
  "maxmem": "1024M",
  "minmem": "512M",
74

75
  "# Instance policy specs": null,
76 77 78 79 80 81 82
  "#ispec_cpu_count_max": null,
  "#ispec_cpu_count_min": null,
  "#ispec_cpu_count_std": null,
  "#ispec_disk_count_max": null,
  "#ispec_disk_count_min": null,
  "#ispec_disk_count_std": null,
  "#ispec_disk_size_max": null,
René Nussbaumer's avatar
René Nussbaumer committed
83
  "ispec_disk_size_min": 512,
84 85 86 87 88 89 90
  "#ispec_disk_size_std": null,
  "ispec_mem_size_max": 1024,
  "#ispec_mem_size_min": null,
  "#ispec_mem_size_std": null,
  "#ispec_nic_count_max": null,
  "#ispec_nic_count_min": null,
  "#ispec_nic_count_std": null,
91

92 93 94 95
  "# Lists of disks": null,
  "disks": [
    {
      "size": "1G",
96
      "spindles": 2,
97
      "name": "disk0",
98 99
      "growth": "2G",
      "spindles-growth": 1
100 101 102
    },
    {
      "size": "512M",
103
      "spindles": 1,
104
      "name": "disk1",
105 106
      "growth": "768M",
      "spindles-growth": 0
107 108
    }
  ],
109

110 111 112
  "# Script to check instance status": null,
  "instance-check": null,

113 114 115
  "# Regular expression to ignore existing tags": null,
  "ignore-tags-re": null,

116 117 118
  "# Repository containing additional files for the QA": null,
  "# qa-storage": "http://example.com",

119 120
  "modify_ssh_setup": true,

121 122 123 124
  "nodes": [
    {
      "# Master node": null,
      "primary": "xen-test-0",
125
      "secondary": "192.0.2.1"
126 127 128 129
    },

    {
      "primary": "xen-test-1",
130
      "secondary": "192.0.2.2"
131 132 133 134 135
    }
  ],

  "instances": [
    {
136 137 138 139
      "name": "xen-test-inst1",

      "# Static MAC address": null,
      "#nic.mac/0": "AA:00:00:11:11:11"
140 141
    },
    {
142 143 144 145
      "name": "xen-test-inst2",

      "# Static MAC address": null,
      "#nic.mac/0": "AA:00:00:22:22:22"
146 147 148
    }
  ],

149 150 151 152 153 154 155
  "groups": {
    "group-with-nodes": "default",
    "inexistent-groups": [
      "group1",
      "group2",
      "group3"
    ]
156
  },
157

Helga Velroyen's avatar
Helga Velroyen committed
158 159 160 161 162 163 164 165
  "networks": {
    "inexistent-networks": [
      "network1",
      "network2",
      "network3"
    ]
  },

166
  "tests": {
167 168 169
    "# Whether tests are enabled or disabled by default": null,
    "default": true,

170 171 172 173
    "env": true,
    "os": true,
    "tags": true,
    "rapi": true,
174
    "performance": true,
175
    "test-jobqueue": true,
176
    "delay": true,
177

178
    "create-cluster": true,
179 180 181 182 183 184
    "cluster-verify": true,
    "cluster-info": true,
    "cluster-burnin": true,
    "cluster-command": true,
    "cluster-copyfile": true,
    "cluster-master-failover": true,
185
    "cluster-renew-crypto": true,
186 187
    "cluster-destroy": true,
    "cluster-rename": true,
188
    "cluster-reserved-lvs": true,
189
    "cluster-modify": true,
190
    "cluster-oob": true,
191
    "cluster-instance-communication": true,
192
    "cluster-epo": true,
193 194
    "cluster-redist-conf": true,
    "cluster-repair-disk-sizes": true,
195
    "cluster-exclusive-storage": true,
196
    "cluster-instance-policy": true,
197
    "cluster-upgrade": true,
198

199
    "haskell-confd": true,
200
    "htools": true,
201

202
    "group-list": true,
203
    "group-rwops": true,
204
    "group-custom-ssh-port": true,
205

Helga Velroyen's avatar
Helga Velroyen committed
206 207
    "network": false,

208
    "node-list": true,
209 210 211
    "node-info": true,
    "node-volumes": true,
    "node-readd": true,
212
    "node-storage": true,
213
    "node-modify": true,
214
    "node-oob": true,
215

Thomas Thrainer's avatar
Thomas Thrainer committed
216
    "# These tests need at least three nodes": null,
217
    "node-evacuate": false,
Thomas Thrainer's avatar
Thomas Thrainer committed
218
    "node-migrate": false,
219 220 221 222 223

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

    "instance-add-plain-disk": true,
224
    "instance-add-file": true,
225
    "instance-add-shared-file": true,
226
    "instance-add-drbd-disk": true,
227
    "instance-add-diskless": true,
228 229
    "instance-add-rbd": true,
    "instance-add-gluster": true,
230
    "instance-add-restricted-by-disktemplates": true,
231
    "instance-convert-disk": true,
232
    "instance-plain-rapi-common-tests": true,
233
    "instance-remove-drbd-offline": true,
234

235
    "instance-export": true,
236
    "instance-failover": true,
Iustin Pop's avatar
Iustin Pop committed
237
    "instance-grow-disk": true,
238
    "instance-import": true,
239
    "instance-info": true,
240
    "instance-list": true,
241
    "instance-migrate": true,
242
    "instance-modify": true,
243
    "instance-modify-primary": true,
244
    "instance-modify-disks": false,
245
    "instance-reboot": true,
246 247
    "instance-reinstall": true,
    "instance-rename": true,
248
    "instance-shutdown": true,
249
    "instance-device-names": true,
250
    "instance-device-hotplug": false,
251
    "instance-user-down": true,
252
    "instance-communication": true,
253

254 255
    "job-list": true,

256 257 258
    "jobqueue-performance": true,
    "parallel-performance": true,

259 260 261 262
    "# cron/ganeti-watcher should be disabled for these tests": null,
    "instance-automatic-restart": false,
    "instance-consecutive-failures": false,

263 264
    "# This test might fail with certain hypervisor types, depending": null,
    "# on whether they support the `gnt-instance console' command.": null,
265 266
    "instance-console": false,

267
    "# Disabled by default because they take rather long": null,
268
    "instance-replace-disks": false,
269
    "instance-recreate-disks": false,
270

271 272 273
    "# Whether to test the tools/move-instance utility": null,
    "inter-cluster-instance-move": false,

274 275
    "# Run instance tests with different cluster configurations": null,
    "default-instance-tests": true,
276 277 278
    "exclusive-storage-instance-tests": false,

    "mon-collector": true
279 280 281 282
  },

  "options": {
    "burnin-instances": 2,
283 284
    "burnin-disk-template": "drbd",
    "burnin-in-parallel": false,
Iustin Pop's avatar
Iustin Pop committed
285
    "burnin-check-instances": false,
286
    "burnin-rename": "xen-test-rename",
287
    "burnin-reboot": true,
288
    "reboot-types": ["soft", "hard", "full"],
289 290 291
    "use-iallocators": false,
    "# Uncomment if you want to run the whole cluster on a different SSH port": null,
    "# ssh-port": 222
292 293 294
  },

  "# vim: set syntax=javascript :": null
295
}