Bug 1117836 - an error removing a DHCP record (record doesn't exist) stops the delete process for a host
Summary: an error removing a DHCP record (record doesn't exist) stops the delete proce...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Proxy
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-09 13:28 UTC by Bryan Kearney
Modified: 2019-09-26 13:48 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6396 0 Normal Closed an error removing a DHCP record (record doesn't exist) stops the delete process for a host 2020-03-27 12:15:39 UTC

Description Bryan Kearney 2014-07-09 13:28:42 UTC
Trying to delete a host that does not have a DHCP record generates an error that prevents deletion of the host.  The error is:

<pre>
{"host":{"full_messages":["Remove DHCP Settings for our.host.com task failed with the following error: ERF12-0635 [ProxyAPI::ProxyException]: Unable to delete DHCP entry for 00:25:90:00:99:00 ([RestClient::BadRequest]: 400 Bad Request) for proxy https://our.host.com:8443/dhcp"],"errors":{"base":["Remove DHCP Settings for our.host.com task failed with the following error: ERF12-0635 [ProxyAPI::ProxyException]: Unable to delete DHCP entry for 00:25:90:00:99:00 ([RestClient::BadRequest]: 400 Bad Request) for proxy https://our.host.com:8443/dhcp"]},"id":1743}}
</pre>

Comment 1 Bryan Kearney 2014-07-09 13:28:43 UTC
Created from redmine issue http://projects.theforeman.org/issues/6396

Comment 3 Bryan Kearney 2014-07-11 10:03:37 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6396 has been closed
-------------
Dominic Cleal
https://github.com/theforeman/smart-proxy/pull/174
-------------
Anonymous
Applied in changeset commit:67bfd9a09741726cf7fa7c330b897b372a903d31.

Comment 5 Bryan Kearney 2014-09-11 12:24:52 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.