Deleting Hosts results in DHCP error

Problem:

When I try to delete a host I get the following error message
Remove DHCP Settings for macd09fd940ea4f.lymb.io task failed with the following error: ERF12-0635 [ProxyAPI::ProxyException]: Unable to delete DHCP entry for d0:9f:d9:40:ea:4f ([RestClient::BadRequest]: 400 Bad Request) for proxy https://foreman.example.io:8443/dhcp

Had a look in the proxy.log as well: 2024-02-23T21:03:01 eed9bf54 [I] Finished DELETE /dhcp/192.168.0.0/mac/d0:9f:d9:40:ea:4f with 400 (69.27 ms)

Expected outcome:
Being able to delete a host.

Foreman and Proxy versions:

foreman-proxy/focal,focal,now 3.9.1-1+ubuntu2004 all [installed,automatic]
foreman/focal,now 3.9.1-1+ubuntu2004 amd64 [installed,automatic]

Foreman and Proxy plugin versions:
Not sure, in “About” it says 3.9.1

Distribution and version:
Ubuntu 20.04, focal

Other relevant data:
I was able to delete one of both hosts after one night of waiting and two reboots. The other one is still undeletable

image

Hum, after clicking on “unmanage host” I was now able to remove it as well :thinking:
But, it now still serves the provisioning template to the host…