Fix LUReplaceDisks with iallocator
authorGuido Trotter <ultrotter@google.com>
Tue, 9 Sep 2008 09:39:25 +0000 (09:39 +0000)
committerGuido Trotter <ultrotter@google.com>
Tue, 9 Sep 2008 09:39:25 +0000 (09:39 +0000)
commitde8c766613dcdc640eaf29b518c08a022103251d
tree74eb03a454f97e76415ec7626364516e20d9de89
parent506cff125c1d1583b48729c03a68e3c5af48cd0f
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