Revision 099c52ad lib/cmdlib.py

b/lib/cmdlib.py
5092 5092
                                                    False)
5093 5093
    abort_msg = abort_result.fail_msg
5094 5094
    if abort_msg:
5095
      logging.error("Aborting migration failed on target node %s: %s" %
5096
                    (target_node, abort_msg))
5095
      logging.error("Aborting migration failed on target node %s: %s",
5096
                    target_node, abort_msg)
5097 5097
      # Don't raise an exception here, as we stil have to try to revert the
5098 5098
      # disk status, even if this step failed.
5099 5099

  
......
5178 5178
    msg = result.fail_msg
5179 5179
    if msg:
5180 5180
      logging.error("Instance migration succeeded, but finalization failed:"
5181
                    " %s" % msg)
5181
                    " %s", msg)
5182 5182
      raise errors.OpExecError("Could not finalize instance migration: %s" %
5183 5183
                               msg)
5184 5184

  
......
6886 6886
    minors = self.cfg.AllocateDRBDMinor([self.new_node
6887 6887
                                         for dev in self.instance.disks],
6888 6888
                                        self.instance.name)
6889
    logging.debug("Allocated minors %r" % (minors,))
6889
    logging.debug("Allocated minors %r", minors)
6890 6890

  
6891 6891
    iv_names = {}
6892 6892
    for idx, (dev, new_minor) in enumerate(zip(self.instance.disks, minors)):

Also available in: Unified diff