Project

General

Profile

Actions

Bug #10004

closed

Discovery of a host with already known IP address fails with: address family must be specified

Added by Lukas Zapletal about 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If a host is being discovered with an IP that is already assigned to an existing Host or Discovered Host, we error out with "address family must be specified".

We should give a proper error instead.

Let's test also against MAC addresess.


Related issues 1 (0 open1 closed)

Related to Discovery - Bug #9857: Internal server error when registering discovered host in Foreman 1.8Closed03/21/2015Actions
Actions #1

Updated by Lukas Zapletal about 9 years ago

  • Related to Bug #9857: Internal server error when registering discovered host in Foreman 1.8 added
Actions #2

Updated by Lukas Zapletal over 8 years ago

For the record, on Discovery 4.0 the error message is a bit different (still confusing):

{"message":"ERF42-1064 [Foreman::Exception]: Unable to assign subnet, primary interface is missing IP address" 
Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/218 added
  • Pull request deleted ()
Actions #4

Updated by Lukas Zapletal almost 8 years ago

  • Assignee set to Lukas Zapletal
  • Status changed from Ready For Testing to Closed
  • Target version changed from Discovery Plugin 2.0.3 to Discovery Plugin 6.0

Not an issue anymore with Discovery 6.0 and 1.12 core version.

Actions

Also available in: Atom PDF