• Iustin Pop's avatar
    Fix reading of total disk space in iallocator · 734b1ff1
    Iustin Pop authored
    IAllocator currently uses a wrong key name for reading the total disk
    space (‘disk_usage’ which was copied from RAPI, but the actual
    iallocator key is ‘disk_space_total’).
    This patch fixes that and also makes iallocator always use this key,
    instead of computing the size by itself—with Ganeti 2.0 this is
    key is always available.
IAlloc.hs 5.27 KB