Bug #19561
closedERF12-8202 [ProxyAPI::ProxyException]: Unable to retrieve unused IP ([RestClient::BadRequest]: 400 Bad Request) - after upgrade to 1.15.0-1
Description
Hi,
actually it's not possible to interact with our dhcp (infoblox) via smart-proxy. If I try to create an new host foreman isn't able to guess a free ip address. In that case i get the above error.
Same error with https and http. If I switch to http i can fire a
wget qO http://oob-foreman-1-prod-01.bnotk.net:8000/dhcp
and I get a list of subnets managed and exported by our infoblox.
Attached you can find the actual proxy.log.
Files
Updated by Christian Meißner almost 7 years ago
sanitized proxy.log attached
Updated by Dominic Cleal almost 7 years ago
- Project changed from Website to Infoblox
- Category set to DHCP plugin
Updated by Klaas D almost 7 years ago
dhcp infoblox doesn't work at the moment, you'll need newer packages. They are currently in nightlies but one of the deps is still missing: https://github.com/theforeman/foreman-packaging/pull/1723
I've created a patch to make the dhcp proxy workable for me without the update of the infoblox rubygem, let me search for it and I'll attach it with workaround instructions.
Updated by Klaas D almost 7 years ago
- File dhcp_infoblox.patch dhcp_infoblox.patch added
cd /usr/share/gems/gems/smart_proxy_dhcp_infoblox-0.0.5/lib
patch -p0 < /path/to/dhcp_infoblox.patch
its not fully tested :D but everything I use seems to work :) this is basically the changes to 0.0.6 without the change that requires the new infoblox gem :)
Updated by Anonymous over 6 years ago
- Status changed from New to Closed
I'm going to close this issue, as there's been significant changes in infoblox provider since it was filed. Please open a new bug if you encounter the problem again.