Commit
d5cafd31 changed this error message, swapping the
text parts in the process.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
else:
text = "migrated"
raise errors.OpPrereqError("Instances with disk template %s cannot"
- " be %s over to arbitrary nodes"
+ " be %s to arbitrary nodes"
" (neither an iallocator nor a target"
" node can be passed)" %
- (text, instance.disk_template),
+ (instance.disk_template, text),
errors.ECODE_INVAL)
i_be = self.cfg.GetClusterInfo().FillBE(instance)