qa-sample.json 7.19 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
  "# 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 52 53
  "# Additional arguments for initializing cluster": null,
  "cluster-init-args": [],

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

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

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

67
  "# Instance policy specs": null,
68 69 70 71 72 73 74
  "#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
75
  "ispec_disk_size_min": 512,
76 77 78 79 80 81 82
  "#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,
83

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

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

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

108 109 110 111
  "nodes": [
    {
      "# Master node": null,
      "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 122
    }
  ],

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

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

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

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

Helga Velroyen's avatar
Helga Velroyen committed
145 146 147 148 149 150 151 152
  "networks": {
    "inexistent-networks": [
      "network1",
      "network2",
      "network3"
    ]
  },

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

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

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

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

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

Helga Velroyen's avatar
Helga Velroyen committed
192 193
    "network": false,

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

Thomas Thrainer's avatar
Thomas Thrainer committed
202
    "# These tests need at least three nodes": null,
203
    "node-evacuate": false,
Thomas Thrainer's avatar
Thomas Thrainer committed
204
    "node-migrate": false,
205 206 207 208 209

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

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

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

237 238
    "job-list": true,

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

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

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

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

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

    "mon-collector": true
259 260 261 262
  },

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

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