Bug #12469
closedISC DHCP proxy errors when attempting to delete nonexistant records
Description
When trying to delete an nonexistent host via omshell the ISC DHCP proxy an exception is raised and an error returned to Foreman. This causes issues with Host::Managed.populate_fields_from_facts.
Files
Updated by Dominic Cleal about 9 years ago
Note that Foreman deliberately ignores a 404 HTTP response from the smart proxy during DHCP record deletion, expecting a 404 to be given if there's no such record to delete. I've not checked yet whether this has changed in the proxy between versions.
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/339 added
Updated by Dominic Cleal about 9 years ago
- Related to Bug #12465: ISC DHCP proxy fails to parse deleted entires added
Updated by Dominic Cleal about 9 years ago
- Translation missing: en.field_release deleted (
63)
Removing from the 1.10.0 blockers as it seems to stem entirely from the linked bug, where a deleted entry is still being picked up and so dhcp_api doesn't return with a 404 early.
Updated by Dominic Cleal about 9 years ago
- Assignee set to Brandon Weeks
- Translation missing: en.field_release set to 104
Leaving on .1 so we've got more time to soak test this change. The regression (#12465) needs to go in sooner as it'll fix more than this will.
Updated by Brandon Weeks about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f24be74d8f51f44aa8730769d2e468683804254c.