Project

General

Profile

Actions

Bug #5637

closed

DHCP conflicts triggered for non-conflicting leases

Added by Greg Sutcliffe almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
DHCP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

if an active lease (even one matching the current host data) is attempted to be provisioned, the core will raise some like this:

ProxyAPI::ProxyException
ERF12-4395 [ProxyAPI::ProxyException]: Unable to retrieve DHCP entry for 52:54:00:33:b5:df ([Net::LeaseConflict]: 52:54:00:33:b5:df/192.168.123.52) for proxy https://foreman.hostonly.sapphire.elysium.emeraldreverie.org:8443/dhcp
lib/proxy_api/dhcp.rb:53:in `rescue in record'
lib/proxy_api/dhcp.rb:43:in `record'
lib/net/dhcp/record.rb:41:in `conflicts'
lib/net.rb:27:in `conflicting?'
app/models/concerns/orchestration/dhcp.rb:140:in `dhcp_conflict_detected?'
app/models/concerns/orchestration.rb:47:in `valid?'
app/models/concerns/foreman/sti.rb:29:in `save_with_type'
app/models/taxonomy.rb:41:in `block in no_taxonomy_scope'
app/models/taxonomy.rb:48:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:143:in `as_location'
app/models/taxonomy.rb:47:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:108:in `as_org'
app/models/taxonomy.rb:46:in `as_taxonomy'
app/models/taxonomy.rb:40:in `no_taxonomy_scope'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

This is due to 90ff2a3a4eaa07af0f9521468a978701cf21981f which added extra validations to the dhcp orchestration.


Related issues 5 (0 open5 closed)

Related to Smart Proxy - Bug #5648: DHCP lease reading is done in the wrong orderClosedGreg Sutcliffe05/09/2014Actions
Related to Foreman - Bug #7971: DHCP conflict still triggered for non-conflicting leasesClosedLukas Zapletal10/16/2014Actions
Related to Foreman - Feature #8720: Add disable_dhcp_validations global settingRejectedOri Rabin12/16/2014Actions
Has duplicate Foreman - Bug #6032: No option to overwrite DHCP optionDuplicate06/03/2014Actions
Has duplicate Foreman - Feature #5608: Existing DHCP lease cannot be overwrittenDuplicate05/07/2014Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Status changed from New to Assigned
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #3

Updated by Dominic Cleal almost 10 years ago

  • Related to Bug #5648: DHCP lease reading is done in the wrong order added
Actions #4

Updated by Greg Sutcliffe almost 10 years ago

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

Updated by Dominic Cleal almost 10 years ago

  • Has duplicate Bug #6032: No option to overwrite DHCP option added
Actions #6

Updated by Dominic Cleal almost 10 years ago

  • Has duplicate Feature #5608: Existing DHCP lease cannot be overwritten added
Actions #7

Updated by Bryan Kearney almost 10 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1107707
Actions #8

Updated by The Foreman Bot over 9 years ago

  • Pull request https://github.com/theforeman/foreman/pull/1861 added
Actions #9

Updated by Lukas Zapletal over 9 years ago

  • Related to Bug #7971: DHCP conflict still triggered for non-conflicting leases added
Actions #10

Updated by Lukas Zapletal about 9 years ago

  • Related to Feature #8720: Add disable_dhcp_validations global setting added
Actions

Also available in: Atom PDF