Bug #5739

Host deletion finds irrelevant old leases

Added by Greg Sutcliffe over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Greg Sutcliffe
Category:DHCP
Target version:Foreman - Sprint 24
Difficulty: Bugzilla link:1107691
Found in release:1.5.0 Pull request:
Story points-
Velocity based estimate-
Release1.5.1Release relationshipAuto

Description

With #5648's patch applied we correctly parse entries in the lease file in order. This causes issues with host deletion, as once a Host boots at least once, it's lease will be after it's reservation in the leasefile. We need to only query reservations when deleting a Host, as stale leases become irrelevant at that point.


Related issues

Related to Smart Proxy - Bug #5648: DHCP lease reading is done in the wrong order Closed 05/09/2014

Associated revisions

Revision ad2b4651
Added by Greg Sutcliffe over 3 years ago

Fixes #5739 - Only look at reservations when deleting a DHCP record

History

#1 Updated by Dominic Cleal over 3 years ago

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

#2 Updated by Dominic Cleal over 3 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 23 to Sprint 24

#4 Updated by Dominic Cleal over 3 years ago

  • Assigned To set to Greg Sutcliffe

#5 Updated by Anonymous over 3 years ago

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

#6 Updated by Bryan Kearney over 3 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1107691

Also available in: Atom PDF