• Iustin Pop's avatar
    Fix gnt-node evacuate w. iallocator · e9022531
    Iustin Pop authored
    Commit 2bb5c911
    
     moved around and changed the _RunAllocator function in
    the DiskReplace → TaskLet conversion, but in the process it changed the
    relocate_from argument from a list of nodes to just the secondary node.
    This breaks the protocol and current iallocator scripts.
    
    This patch fixes that but also adds a local variable 'instance' since
    it's not nice to write self.instance so many times.
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    e9022531
cmdlib.py 295 KB