Bug #12465
closed
ISC DHCP proxy fails to parse deleted entires
Added by Brandon Weeks about 9 years ago.
Updated over 6 years ago.
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
- 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.
- Related to Refactor #11866: Replace linear searches in various lookups in DHCP module with constant-time lookups. added
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/338 added
- Related to Bug #12469: ISC DHCP proxy errors when attempting to delete nonexistant records added
- Assignee set to Brandon Weeks
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF