Revision d1b83918

b/lib/cmdlib.py
4794 4794
    for idx, dsk in enumerate(instance.disks):
4795 4795
      if dsk.dev_type not in (constants.LD_LV, constants.LD_FILE):
4796 4796
        raise errors.OpPrereqError("Instance disk %d has a complex layout,"
4797
                                   " cannot copy", errors.ECODE_STATE)
4797
                                   " cannot copy" % idx, errors.ECODE_STATE)
4798 4798

  
4799 4799
    _CheckNodeOnline(self, target_node)
4800 4800
    _CheckNodeNotDrained(self, target_node)

Also available in: Unified diff