htools: run IAllocator input through checkData
authorIustin Pop <iustin@google.com>
Thu, 7 Jul 2011 18:00:40 +0000 (20:00 +0200)
committerIustin Pop <iustin@google.com>
Mon, 18 Jul 2011 15:33:54 +0000 (17:33 +0200)
commit96a1211331a27df4b5fb3517d0b8d71f3d5559fa
treef80b1f0dba65f3a83b9f74b5fc440bb144e11e12
parent8cd36391f90c08c2fb282ab2d68a4633eaadc85a
htools: run IAllocator input through checkData

As the IAllocator backend is using a different data path than the
others, it doesn't get the full functionality that loadExternalData
does. This results in the current situation where checkData is not run
on the input cluster state, which means the node memory properties are
not correctly set, leading to no Xmem being set correctly.

This patch fixes this bug by adding a manual call to checkData.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
htools/Ganeti/HTools/IAlloc.hs