Statistics
| Branch: | Tag: | Revision:

root / htest / data / hail-alloc-drbd.json @ 4c49b965

History | View | Annotate | Download (10.5 kB)

1
{
2
  "cluster_tags": [
3
    "htools:iextags:test",
4
    "htools:iextags:service-group"
5
  ],
6
  "nodegroups": {
7
    "uuid-group-1": {
8
      "ipolicy": {
9
        "std": {
10
          "nic-count": 1,
11
          "disk-size": 1024,
12
          "disk-count": 1,
13
          "memory-size": 128,
14
          "cpu-count": 1,
15
          "spindle-use": 1
16
        },
17
        "min": {
18
          "nic-count": 1,
19
          "disk-size": 128,
20
          "disk-count": 1,
21
          "memory-size": 128,
22
          "cpu-count": 1,
23
          "spindle-use": 1
24
        },
25
        "max": {
26
          "nic-count": 8,
27
          "disk-size": 1048576,
28
          "disk-count": 16,
29
          "memory-size": 32768,
30
          "cpu-count": 8,
31
          "spindle-use": 8
32
        },
33
        "vcpu-ratio": 4.0,
34
        "disk-templates": [
35
          "sharedfile",
36
          "diskless",
37
          "plain",
38
          "blockdev",
39
          "drbd",
40
          "file",
41
          "rbd"
42
        ],
43
        "spindle-ratio": 32.0
44
      },
45
      "alloc_policy": "preferred",
46
      "tags": [],
47
      "name": "default"
48
    }
49
  },
50
  "ipolicy": {
51
    "std": {
52
      "nic-count": 1,
53
      "disk-size": 1024,
54
      "memory-size": 128,
55
      "cpu-count": 1,
56
      "disk-count": 1,
57
      "spindle-use": 1
58
    },
59
    "min": {
60
      "nic-count": 1,
61
      "disk-size": 1024,
62
      "memory-size": 128,
63
      "cpu-count": 1,
64
      "disk-count": 1,
65
      "spindle-use": 1
66
    },
67
    "max": {
68
      "nic-count": 8,
69
      "disk-size": 1048576,
70
      "memory-size": 32768,
71
      "cpu-count": 8,
72
      "disk-count": 16,
73
      "spindle-use": 8
74
    },
75
    "vcpu-ratio": 4.0,
76
    "disk-templates": [
77
      "sharedfile",
78
      "diskless",
79
      "plain",
80
      "blockdev",
81
      "drbd",
82
      "file",
83
      "rbd"
84
    ],
85
    "spindle-ratio": 32.0
86
  },
87
  "enabled_hypervisors": [
88
    "xen-pvm",
89
    "xen-hvm"
90
  ],
91
  "cluster_name": "cluster",
92
  "instances": {
93
    "instance14": {
94
      "disks": [
95
        {
96
          "mode": "rw",
97
          "size": 128
98
        }
99
      ],
100
      "disk_space_total": 256,
101
      "hypervisor": "xen-pvm",
102
      "tags": [],
103
      "nics": [
104
        {
105
          "ip": null,
106
          "mac": "aa:00:00:eb:0b:a5",
107
          "link": "xen-br0",
108
          "mode": "bridged",
109
          "bridge": "xen-br0"
110
        }
111
      ],
112
      "vcpus": 1,
113
      "admin_state": "down",
114
      "disk_template": "drbd",
115
      "spindle_use": 1,
116
      "memory": 128,
117
      "nodes": [
118
        "node3",
119
        "node4"
120
      ],
121
      "os": "debian-image"
122
    },
123
    "instance13": {
124
      "disks": [
125
        {
126
          "mode": "rw",
127
          "size": 512
128
        }
129
      ],
130
      "disk_space_total": 512,
131
      "hypervisor": "xen-pvm",
132
      "tags": [],
133
      "nics": [
134
        {
135
          "ip": null,
136
          "mac": "aa:00:00:7f:8c:9c",
137
          "link": "xen-br1",
138
          "mode": "bridged",
139
          "bridge": "xen-br1"
140
        }
141
      ],
142
      "vcpus": 1,
143
      "spindle_use": 1,
144
      "admin_state": "down",
145
      "disk_template": "plain",
146
      "memory": 128,
147
      "nodes": [
148
        "node4"
149
      ],
150
      "os": "instance-debootstrap"
151
    },
152
    "instance18": {
153
      "disks": [
154
        {
155
          "mode": "rw",
156
          "size": 128
157
        }
158
      ],
159
      "disk_space_total": 128,
160
      "hypervisor": "xen-pvm",
161
      "tags": [],
162
      "nics": [
163
        {
164
          "ip": null,
165
          "mac": "aa:00:00:55:94:93",
166
          "link": "xen-br0",
167
          "mode": "bridged",
168
          "bridge": "xen-br0"
169
        }
170
      ],
171
      "vcpus": 1,
172
      "spindle_use": 1,
173
      "admin_state": "down",
174
      "disk_template": "plain",
175
      "memory": 8192,
176
      "nodes": [
177
        "node4"
178
      ],
179
      "os": "instance-debootstrap"
180
    },
181
    "instance19": {
182
      "disks": [
183
        {
184
          "mode": "rw",
185
          "size": 128
186
        }
187
      ],
188
      "disk_space_total": 256,
189
      "hypervisor": "xen-pvm",
190
      "tags": [],
191
      "nics": [
192
        {
193
          "ip": null,
194
          "mac": "aa:00:00:15:92:6f",
195
          "link": "xen-br0",
196
          "mode": "bridged",
197
          "bridge": "xen-br0"
198
        }
199
      ],
200
      "vcpus": 1,
201
      "spindle_use": 1,
202
      "admin_state": "down",
203
      "disk_template": "drbd",
204
      "memory": 128,
205
      "nodes": [
206
        "node3",
207
        "node4"
208
      ],
209
      "os": "debian-image"
210
    },
211
    "instance2": {
212
      "disks": [
213
        {
214
          "mode": "rw",
215
          "size": 128
216
        }
217
      ],
218
      "disk_space_total": 256,
219
      "hypervisor": "xen-pvm",
220
      "tags": [],
221
      "nics": [
222
        {
223
          "ip": null,
224
          "mac": "aa:00:00:73:20:3e",
225
          "link": "xen-br0",
226
          "mode": "bridged",
227
          "bridge": "xen-br0"
228
        }
229
      ],
230
      "vcpus": 1,
231
      "spindle_use": 1,
232
      "admin_state": "up",
233
      "disk_template": "drbd",
234
      "memory": 128,
235
      "nodes": [
236
        "node3",
237
        "node4"
238
      ],
239
      "os": "debian-image"
240
    },
241
    "instance3": {
242
      "disks": [
243
        {
244
          "mode": "rw",
245
          "size": 256
246
        },
247
        {
248
          "mode": "rw",
249
          "size": 128
250
        }
251
      ],
252
      "disk_space_total": 384,
253
      "hypervisor": "xen-pvm",
254
      "tags": [],
255
      "nics": [
256
        {
257
          "ip": null,
258
          "mac": "aa:00:00:ec:e8:a2",
259
          "link": "xen-br0",
260
          "mode": "bridged",
261
          "bridge": "xen-br0"
262
        }
263
      ],
264
      "vcpus": 1,
265
      "spindle_use": 1,
266
      "admin_state": "down",
267
      "disk_template": "plain",
268
      "memory": 128,
269
      "nodes": [
270
        "node4"
271
      ],
272
      "os": "debian-image"
273
    },
274
    "instance4": {
275
      "disks": [
276
        {
277
          "mode": "rw",
278
          "size": 2048
279
        }
280
      ],
281
      "disk_space_total": 2176,
282
      "hypervisor": "xen-pvm",
283
      "tags": [],
284
      "nics": [
285
        {
286
          "ip": null,
287
          "mac": "aa:00:00:62:b0:76",
288
          "link": "xen-br0",
289
          "mode": "bridged",
290
          "bridge": "xen-br0"
291
        }
292
      ],
293
      "vcpus": 1,
294
      "spindle_use": 1,
295
      "admin_state": "down",
296
      "disk_template": "drbd",
297
      "memory": 128,
298
      "nodes": [
299
        "node4",
300
        "node3"
301
      ],
302
      "os": "instance-debootstrap"
303
    },
304
    "instance8": {
305
      "disks": [
306
        {
307
          "mode": "rw",
308
          "size": 256
309
        }
310
      ],
311
      "disk_space_total": 256,
312
      "hypervisor": "kvm",
313
      "tags": [],
314
      "nics": [
315
        {
316
          "ip": null,
317
          "mac": "aa:00:00:3f:6d:e3",
318
          "link": "xen-br0",
319
          "mode": "bridged",
320
          "bridge": "xen-br0"
321
        }
322
      ],
323
      "vcpus": 1,
324
      "spindle_use": 1,
325
      "admin_state": "down",
326
      "disk_template": "plain",
327
      "memory": 128,
328
      "nodes": [
329
        "node4"
330
      ],
331
      "os": "debian-image"
332
    },
333
    "instance9": {
334
      "disks": [
335
        {
336
          "mode": "rw",
337
          "size": 128
338
        }
339
      ],
340
      "disk_space_total": 256,
341
      "hypervisor": "xen-pvm",
342
      "tags": [
343
        "test:test"
344
      ],
345
      "nics": [
346
        {
347
          "ip": null,
348
          "mac": "aa:00:00:10:d2:01",
349
          "link": "xen-br0",
350
          "mode": "bridged",
351
          "bridge": "xen-br0"
352
        }
353
      ],
354
      "vcpus": 1,
355
      "spindle_use": 1,
356
      "admin_state": "down",
357
      "disk_template": "drbd",
358
      "memory": 128,
359
      "nodes": [
360
        "node3",
361
        "node4"
362
      ],
363
      "os": "instance-debootstrap"
364
    },
365
    "instance20": {
366
      "disks": [
367
        {
368
          "mode": "rw",
369
          "size": 512
370
        }
371
      ],
372
      "disk_space_total": 512,
373
      "hypervisor": "kvm",
374
      "tags": [],
375
      "nics": [
376
        {
377
          "ip": null,
378
          "mac": "aa:00:00:db:2a:6d",
379
          "link": "xen-br0",
380
          "mode": "bridged",
381
          "bridge": "xen-br0"
382
        }
383
      ],
384
      "vcpus": 1,
385
      "spindle_use": 1,
386
      "admin_state": "down",
387
      "disk_template": "plain",
388
      "memory": 128,
389
      "nodes": [
390
        "node4"
391
      ],
392
      "os": "instance-debootstrap"
393
    }
394
  },
395
  "version": 2,
396
  "nodes": {
397
    "node1": {
398
      "total_disk": 1377280,
399
      "total_cpus": 4,
400
      "group": "uuid-group-1",
401
      "secondary_ip": "192.168.2.1",
402
      "i_pri_up_memory": 0,
403
      "tags": [],
404
      "master_candidate": true,
405
      "free_memory": 31389,
406
      "ndparams": {
407
        "spindle_count": 1,
408
        "oob_program": null
409
      },
410
      "reserved_memory": 1017,
411
      "master_capable": true,
412
      "free_disk": 1377280,
413
      "drained": false,
414
      "total_memory": 32763,
415
      "primary_ip": "192.168.1.1",
416
      "i_pri_memory": 0,
417
      "vm_capable": true,
418
      "offline": false
419
    },
420
    "node2": {
421
      "total_disk": 1377280,
422
      "total_cpus": 4,
423
      "group": "uuid-group-1",
424
      "secondary_ip": "192.168.2.2",
425
      "i_pri_up_memory": 0,
426
      "tags": [],
427
      "master_candidate": true,
428
      "free_memory": 31746,
429
      "ndparams": {
430
        "spindle_count": 1,
431
        "oob_program": null
432
      },
433
      "reserved_memory": 1017,
434
      "master_capable": true,
435
      "free_disk": 1376640,
436
      "drained": false,
437
      "total_memory": 32763,
438
      "primary_ip": "192.168.1.2",
439
      "i_pri_memory": 0,
440
      "vm_capable": true,
441
      "offline": false
442
    },
443
    "node3": {
444
      "total_disk": 1377304,
445
      "total_cpus": 4,
446
      "group": "uuid-group-1",
447
      "secondary_ip": "192.168.2.3",
448
      "i_pri_up_memory": 128,
449
      "tags": [],
450
      "master_candidate": true,
451
      "free_memory": 31234,
452
      "ndparams": {
453
        "spindle_count": 1,
454
        "oob_program": null
455
      },
456
      "reserved_memory": 1017,
457
      "master_capable": true,
458
      "free_disk": 1373336,
459
      "drained": false,
460
      "total_memory": 32763,
461
      "primary_ip": "192.168.1.3",
462
      "i_pri_memory": 2432,
463
      "vm_capable": true,
464
      "offline": false
465
    },
466
    "node4": {
467
      "total_disk": 1377280,
468
      "total_cpus": 4,
469
      "group": "uuid-group-1",
470
      "secondary_ip": "192.168.2.4",
471
      "i_pri_up_memory": 128,
472
      "tags": [],
473
      "master_candidate": true,
474
      "free_memory": 22914,
475
      "ndparams": {
476
        "spindle_count": 1,
477
        "oob_program": null
478
      },
479
      "reserved_memory": 1017,
480
      "master_capable": true,
481
      "free_disk": 1371520,
482
      "drained": false,
483
      "total_memory": 32763,
484
      "primary_ip": "192.168.1.4",
485
      "i_pri_memory": 23552,
486
      "vm_capable": true,
487
      "offline": false
488
    }
489
  },
490
  "request": {
491
    "disks": [
492
      {
493
        "mode": "rw",
494
        "size": 1024
495
      }
496
    ],
497
    "required_nodes": 2,
498
    "name": "instance1",
499
    "tags": [],
500
    "hypervisor": "xen-pvm",
501
    "disk_space_total": 1024,
502
    "nics": [
503
      {
504
        "ip": null,
505
        "mac": "00:11:22:33:44:55",
506
        "bridge": null
507
      }
508
    ],
509
    "vcpus": 1,
510
    "spindle_use": 1,
511
    "os": "instance-debootstrap",
512
    "disk_template": "drbd",
513
    "memory": 1024,
514
    "type": "allocate"
515
  }
516
}