Fix evacuation out of drained node
authorJose A. Lopes <jabolopes@google.com>
Thu, 28 Nov 2013 10:04:25 +0000 (11:04 +0100)
committerJose A. Lopes <jabolopes@google.com>
Wed, 4 Dec 2013 14:51:52 +0000 (15:51 +0100)
commit67ec18c0c0f6be96e99cd3394022e5131f48da85
treecad678c202f000b40d694c3788ec45814ad95c01
parent0eb83d700f0749203d057d2b7fedffde903f3942
Fix evacuation out of drained node

* fix node daemon not to skip data, such as, memory and disk size,
  when building the node list to send to HBal, given that these data
  are important for HBal to determine whether an evacuation is
  possible
* fix iallocator to properly load drained nodes from the list passed
  by the node daemon, instead of zeroing all the data, such as, the
  memory and disk size
* this fixes issue 615

Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/masterd/iallocator.py
src/Ganeti/HTools/Backend/IAlloc.hs
src/Ganeti/HTools/Backend/Luxi.hs
src/Ganeti/HTools/Backend/Rapi.hs