I'm getting this error when I try to create new hosts. It all started after
I deleted some hosts that I had recently kickstarted
Create DHCP Settings for srv02.example.com task failed with the following
error: ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry
([RestClient::Conflict]: 409 Conflict) for proxy
https://katello.example.com:9090/dhcp
This is from /var/log/foreman-proxy/proxy.log:
E, [2016-01-22T01:01:50.336504 #3257] ERROR – : Record
10.221.191.0/10.221.191.101 already exists
E, [2016-01-22T01:05:01.068572 #3257] ERROR – : Record
10.221.191.0/10.221.191.101 not found
E, [2016-01-22T01:05:13.722831 #3257] ERROR – : Record
10.221.191.0/10.221.191.101 already exists
E, [2016-01-22T01:08:03.664502 #2506] ERROR – : Record
10.221.191.0/10.221.191.101 not found
E, [2016-01-22T01:08:27.214812 #2506] ERROR – : Record
10.221.191.0/10.221.191.101 already exists
E, [2016-01-22T01:09:56.791442 #2506] ERROR – : Record
10.221.191.0/10.221.191.120 not found
E, [2016-01-22T01:10:08.975192 #2506] ERROR – : Record
10.221.191.0/10.221.191.120 already exists
I've tried restarting dhcpd and rebooting the server.
I manually deleted the entry from /var/lib/dhcpd/dhcpd.leases
The reason that multiple IP addresses were failing is because of the MAC
address in the record I assume. My compute resource (oVirt) was recycling
the MAC address from a deleted VM.
···
On Thursday, January 21, 2016 at 5:34:59 PM UTC-8, Filippo Di Noto wrote:
>
> I'm getting this error when I try to create new hosts. It all started
> after I deleted some hosts that I had recently kickstarted
>
> Create DHCP Settings for srv02.example.com task failed with the following
> error: ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry
> ([RestClient::Conflict]: 409 Conflict) for proxy
> https://katello.example.com:9090/dhcp
>
> This is from /var/log/foreman-proxy/proxy.log:
>
> E, [2016-01-22T01:01:50.336504 #3257] ERROR -- : Record
> 10.221.191.0/10.221.191.101 already exists
> E, [2016-01-22T01:05:01.068572 #3257] ERROR -- : Record
> 10.221.191.0/10.221.191.101 not found
> E, [2016-01-22T01:05:13.722831 #3257] ERROR -- : Record
> 10.221.191.0/10.221.191.101 already exists
> E, [2016-01-22T01:08:03.664502 #2506] ERROR -- : Record
> 10.221.191.0/10.221.191.101 not found
> E, [2016-01-22T01:08:27.214812 #2506] ERROR -- : Record
> 10.221.191.0/10.221.191.101 already exists
> E, [2016-01-22T01:09:56.791442 #2506] ERROR -- : Record
> 10.221.191.0/10.221.191.120 not found
> E, [2016-01-22T01:10:08.975192 #2506] ERROR -- : Record
> 10.221.191.0/10.221.191.120 already exists
>
> I've tried restarting dhcpd and rebooting the server.
>