Project

General

Profile

Bug #10004

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

Added by Lukas Zapletal about 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
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

Related to Discovery - Bug #9857: Internal server error when registering discovered host in Foreman 1.8Closed2015-03-21

History

#1 Updated by Lukas Zapletal about 4 years ago

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

#2 Updated by Lukas Zapletal over 3 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" 

#3 Updated by The Foreman Bot over 3 years ago

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

#4 Updated by Lukas Zapletal almost 3 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.

Also available in: Atom PDF