Revision 1d42996b lib/cmdlib.py

b/lib/cmdlib.py
8013 8013
    ial = IAllocator(self.cfg, self.rpc,
8014 8014
                     mode=constants.IALLOCATOR_MODE_RELOC,
8015 8015
                     name=self.instance_name,
8016
                     # TODO See why hail breaks with a single node below
8017
                     relocate_from=[self.instance.primary_node,
8018
                                    self.instance.primary_node],
8016
                     relocate_from=[self.instance.primary_node],
8019 8017
                     )
8020 8018

  
8021 8019
    ial.Run(self.lu.op.iallocator)

Also available in: Unified diff