Bug #10004
closed
Discovery of a host with already known IP address fails with: address family must be specified
Added by Lukas Zapletal over 9 years ago.
Updated over 8 years ago.
Category:
Discovery plugin
|
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 to Bug #9857: Internal server error when registering discovered host in Foreman 1.8 added
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"
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/218 added
- Pull request deleted (
)
- 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