Project

General

Profile

Actions

Bug #12465

closed

ISC DHCP proxy fails to parse deleted entires

Added by Brandon Weeks over 8 years ago. Updated almost 6 years ago.

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

Description

In /var/lib/dhcpd/dhcpd.leases the following type of entry may appear:

host test.example.com {
dynamic;
deleted;
}

in /var/log/foreman-proxy/proxy.log the follow error occurs:

W, [2015-11-13T02:54:47.675517 #31861] WARN -- : skipped test.example.com - address family must be specified

Trackback attached.


Files

proxy_traceback.txt proxy_traceback.txt 4.17 KB Brandon Weeks, 11/13/2015 03:32 AM

Related issues 2 (0 open2 closed)

Related to Smart Proxy - Refactor #11866: Replace linear searches in various lookups in DHCP module with constant-time lookups.Closed09/17/2015Actions
Related to Smart Proxy - Bug #12469: ISC DHCP proxy errors when attempting to delete nonexistant recordsClosedBrandon Weeks11/13/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Project changed from Foreman to Smart Proxy
  • Category changed from Smart Proxy to DHCP
  • translation missing: en.field_release set to 63

Looks like a regression to me, the parse_config_and_leases_for_records method shouldn't be performing a subnet lookup by IP as it won't be present.

Actions #2

Updated by Dominic Cleal over 8 years ago

  • Related to Refactor #11866: Replace linear searches in various lookups in DHCP module with constant-time lookups. added
Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/338 added
Actions #4

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #12469: ISC DHCP proxy errors when attempting to delete nonexistant records added
Actions #5

Updated by The Foreman Bot over 8 years ago

  • Assignee set to Brandon Weeks
Actions #6

Updated by Brandon Weeks over 8 years ago

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

Also available in: Atom PDF