Bug 1107691 - Host deletion finds irrelevant old leases
Summary: Host deletion finds irrelevant old leases
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Proxy
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Greg Sutcliffe
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-10 12:49 UTC by Bryan Kearney
Modified: 2019-09-26 14:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-11 12:21:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5739 0 None None None 2016-04-22 14:55:36 UTC

Description Bryan Kearney 2014-06-10 12:49:15 UTC
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.

Comment 1 Bryan Kearney 2014-06-10 12:49:17 UTC
Created from redmine issue http://projects.theforeman.org/issues/5739

Comment 2 Bryan Kearney 2014-06-10 13:04:08 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5739 has been closed

Comment 5 Kedar Bidarkar 2014-08-13 17:04:42 UTC
please provide verification steps for this bug.

Comment 7 Bryan Kearney 2014-09-11 12:21:13 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.


Note You need to log in before you can comment on or make changes to this bug.