Bug #10004

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

Added by Lukas Zapletal over 2 years ago. Updated about 1 year ago.

Status:Closed
Priority:Normal
Assigned To:Lukas Zapletal
Category:Discovery plugin
Target version:Plugin 6.0
Difficulty: Pull request:https://github.com/theforeman/foreman_discovery/pull/218
Bugzilla link:
Story points-
Velocity based estimate-

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... Closed 03/21/2015

History

#1 Updated by Lukas Zapletal over 2 years ago

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

#2 Updated by Lukas Zapletal about 2 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 about 2 years ago

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

#4 Updated by Lukas Zapletal about 1 year ago

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

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

Also available in: Atom PDF