Fix LUReplaceDisks with iallocator
authorGuido Trotter <ultrotter@google.com>
Fri, 18 Jul 2008 10:30:39 +0000 (10:30 +0000)
committerGuido Trotter <ultrotter@google.com>
Fri, 18 Jul 2008 10:30:39 +0000 (10:30 +0000)
commitbb5f382198aaf5fb60c8c46fa2634331b83a3aa2
treece7bc8c934584b4710df918a19f2f6845794e5f5
parent79ba3e1142a167deff8f18e30a0e80c25349911e
Fix LUReplaceDisks with iallocator

self._RunAllocator() sets self.op.remote_node, but doesn't return the
new remote node. If we set it to the return value of the function we
basically reset it to None, and iallocator is never run.

Reviewed-by: imsnah
lib/cmdlib.py