Revision decc7ec9 lib/cmdlib.py

b/lib/cmdlib.py
16940 16940
  """
16941 16941
  (conf_net, _) = lu.cfg.CheckIPInNodeGroup(ip, node)
16942 16942
  if conf_net is not None:
16943
    raise errors.OpPrereqError(("Conflicting IP address found: '%s' != '%s'" %
16943
    raise errors.OpPrereqError(("The requested IP address (%s) belongs to"
16944
                                " network %s, but the target NIC does not." %
16944 16945
                                (ip, conf_net)),
16945 16946
                               errors.ECODE_STATE)
16946 16947

  

Also available in: Unified diff