theforeman / smart_proxy_dhcp_dnsmasq

dnsmasq DHCP plugin for Foreman smart-proxy
GNU General Public License v3.0
7 stars 7 forks source link

Having issues obtaining free ip address #13

Closed ZAM- closed 5 years ago

ZAM- commented 5 years ago

When creating a new host, I'm having issues grabbing a free ip address. By looking at proxy.log, I can confirm foreman-proxy is properly loading the config for the plugin.

From foreman/production.log: 2019-07-17T16:05:02 [W|app|4b554408] Failed to fetch a free IP from proxy blizzard smart proxy (https://myhost:8443): ERF12-8202 [ProxyAPI::ProxyException]: Unable to retrieve unused IP ([RestClient::BadRequest]: 400 Bad Reqsp

From foreman-proxy/proxy.log: 2019-07-17T16:05:05 d628dce8 [E] undefined method `find_free_ip' for nil:NilClass