Project

General

Profile

Refactor #19706

Don't treat DHCP leases as conflicts

Added by Lukas Zapletal almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
DHCP
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Our previous code that should ignore leases was based on existence of hostnames, it used to work but no longer works in recent releases. In smart-proxy, we added explicit flag to indicate if a DHCP record is a reservation or a lease: theforeman/smart-proxy#532

This patch leverages this and removes the old hostname "hack" to proper test if the existing record is a lease or not. Conflict is not thrown in that case.


Related issues

Related to Smart Proxy - Feature #19666: Return record type for DHCP recortsClosed2017-05-25
Related to Foreman - Bug #21120: Multiple DHCP orchestration is no longer possible with PXELoaderClosed2017-09-27

Associated revisions

Revision a47c444d (diff)
Added by Lukas Zapletal over 5 years ago

Fixes #19706 - don't treat DHCP leases as conflicts

Revision f5aaaae0 (diff)
Added by Lukas Zapletal over 5 years ago

Fixes #19706 - don't treat DHCP leases as conflicts

Revision 58390d0b (diff)
Added by Lukas Zapletal over 5 years ago

Fixes #19706 - don't treat DHCP leases as conflicts

History

#1 Updated by Lukas Zapletal almost 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4555 added

#2 Updated by Dominic Cleal almost 6 years ago

  • Related to Feature #19666: Return record type for DHCP recorts added

#3 Updated by Lukas Zapletal over 5 years ago

  • Related to Bug #21120: Multiple DHCP orchestration is no longer possible with PXELoader added

#4 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal

#5 Updated by Lukas Zapletal over 5 years ago

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

#6 Updated by Lukas Zapletal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 311

Merged into 1.15.5 branch as well:

commit f5aaaae0a4a8282017985e2421b3198d95e56dc0
Refs: {dlobatog/1.15-stable}, 1.15.4-1-gf5aaaae0a
Author: Lukáš Zapletal <>
AuthorDate: Fri Oct 6 12:36:10 2017 +0200
Commit: Daniel Lobato Garcia <>
CommitDate: Fri Oct 6 12:37:05 2017 +0200

Fixes #19706 - don't treat DHCP leases as conflicts

Also available in: Atom PDF