Skip to content

Instantly share code, notes, and snippets.

@mcr
Created February 18, 2015 21:47
Show Gist options
  • Save mcr/b73399652629c441c2cd to your computer and use it in GitHub Desktop.
Save mcr/b73399652629c441c2cd to your computer and use it in GitHub Desktop.
stack02# /usr/lib/ganeti/iallocators/hail --print-nodes --verbose /home/mcr/k6.js
Warning: cluster has inconsistent data:
- node stack01.batcave.credil.org is missing 96 MB ram and 111 GB disk
Received request: Allocate (Instance {name = "haha", alias = "haha", mem = 128, dsk = 384, disks = [256], vcpus = 1, runSt = Running, pNode = 0, sNode = 0, idx = -1, util = DynUtil {cpuWeight = 1.0, memWeight = 1.0, dskWeight = 1.0, netWeight = 1.0}, movable = True, autoBalance = True, diskTemplate = DTDrbd8, spindleUse = 1, allTags = [], exclTags = [], arPolicy = ArNotEnabled, nics = [Nic {mac = Just "aa:00:00:ff:f4:ae", ip = Nothing, mode = Nothing, link = Nothing, bridge = Nothing, network = Nothing}]}) 2
Initial cluster status:
F Name t_mem n_mem i_mem x_mem f_mem r_mem t_dsk f_dsk pcpu vcpu pcnt scnt p_fmem p_fdsk r_cpu lCpu lMem lDsk lNet
stack01 8188 7449 0 96 643 0 594 482 4 0 0 0 0.0785 0.8119 0.00 0.000 0.000 0.000 0.000
stack02 4060 511 0 51 3498 0 298 298 2 0 0 0 0.8616 1.0000 0.00 0.000 0.000 0.000 0.000
{"success":false,"info":"Request failed: Group default (preferred): No valid allocation solutions, failure reasons: FailDisk: 2","result":[]}
Final cluster status:
F Name t_mem n_mem i_mem x_mem f_mem r_mem t_dsk f_dsk pcpu vcpu pcnt scnt p_fmem p_fdsk r_cpu lCpu lMem lDsk lNet
stack01 8188 7449 0 96 643 0 594 482 4 0 0 0 0.0785 0.8119 0.00 0.000 0.000 0.000 0.000
stack02 4060 511 0 51 3498 0 298 298 2 0 0 0 0.8616 1.0000 0.00 0.000 0.000 0.000 0.000
@mcr
Copy link
Author

mcr commented Feb 18, 2015

stack02# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 3 0 wz--n- 37.16g 928.00m
ganeti 2 20 1 wz--n- 298.09g 203.09g

@mcr
Copy link
Author

mcr commented Feb 18, 2015

stack01-[/etc/synnefo] mcr 1013 %sudo vgs
[sudo] password for mcr:
VG #PV #LV #SN Attr VSize VFree
ganeti 2 5 0 wz--n- 594.31g 482.51g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment