Bug #23224
closed
Update subnets from facts breaks discovery
Added by Lukas Zapletal over 6 years ago.
Updated over 6 years ago.
Category:
Discovery plugin
|
Description
Setting "Update subnets from facts" makes discovery impossible, error is "Unable to assign subnet, primary interface is missing IP address" with warning "Subnet is not defined for host's organization" in logs.
- Assignee set to Ido Kanner
Just to make sure, it is about the following request:
PUT /discovered_hosts/:id/
Am I correct with my understanding?
- Pull request https://github.com/theforeman/foreman_discovery/pull/429 added
- Pull request deleted (
https://github.com/theforeman/foreman_discovery/pull/429)
- Priority changed from Normal to High
So it not like the setting breaks discovery, this is because your subnet is not in hosts taxonomy. Can you check please? For example if you discover a host that does belong to subnet with org A and there is one or more NICs detected in subnet which don't have org A, this error is thrown.
- Related to Feature #23768: Fact parser flag keep_subnet to prevent subnet override during fact upload added
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/436 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Target version set to Discovery Plugin 13.0
- Triaged set to No
Also available in: Atom
PDF