Revision c6627031

b/lib/cmdlib.py
6455 6455
        else:
6456 6456
          text = "migrated"
6457 6457
        raise errors.OpPrereqError("Instances with disk template %s cannot"
6458
                                   " be %s over to arbitrary nodes"
6458
                                   " be %s to arbitrary nodes"
6459 6459
                                   " (neither an iallocator nor a target"
6460 6460
                                   " node can be passed)" %
6461
                                   (text, instance.disk_template),
6461
                                   (instance.disk_template, text),
6462 6462
                                   errors.ECODE_INVAL)
6463 6463

  
6464 6464
    i_be = self.cfg.GetClusterInfo().FillBE(instance)

Also available in: Unified diff