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.
Created from redmine issue http://projects.theforeman.org/issues/5739
Moving to POST since upstream bug http://projects.theforeman.org/issues/5739 has been closed
please provide verification steps for this bug.
This was delivered with Satellite 6.0 which was released on 10 September 2014.