Bug #12323
closed
Default number of register calls should be zero
Added by Lukas Zapletal over 9 years ago.
Updated over 9 years ago.
Description
In PXE environment, the discovery-register tries to resend facts multiple times. It should only resend when the last report was not successful, otherwise there can be race conditions in Foreman (when host is provisioned but in the short window new facts are uploaded -> new discovered host is created).
- Subject changed from Resend facts only on failures to Default number of register calls should be zero
If network is down (typical problem on slower DHCP networks) during initial discovery, we should still allow users to override this value. But it should not be 5 by default to prevent race conditions described above.
- Is duplicate of Bug #12338: Discover host is registered twice added
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-discovery-image/pull/41 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF