Fix reading of total disk space in iallocator
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.
Please register or sign in to comment