Project

General

Profile

Actions

Bug #12323

closed

Default number of register calls should be zero

Added by Lukas Zapletal over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Image
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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).


Related issues 2 (0 open2 closed)

Related to Discovery - Tracker #10294: PXEless discovery featureClosedLukas Zapletal04/28/2015

Actions
Is duplicate of Discovery - Bug #12338: Discover host is registered twiceDuplicate10/28/2015Actions
Actions #1

Updated by Lukas Zapletal over 8 years ago

  • 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.

Actions #2

Updated by Lukas Zapletal over 8 years ago

Actions #3

Updated by Lukas Zapletal over 8 years ago

  • Is duplicate of Bug #12338: Discover host is registered twice added
Actions #4

Updated by Lukas Zapletal over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-discovery-image/pull/41 added
Actions #5

Updated by Anonymous over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF