« Previous | Next » 

Revision 734b1ff1

ID734b1ff175fe11206f6e7e9079c0382066b1f433
Parent 61d67afe
Child d752eb39

Added by Iustin Pop almost 15 years ago

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences