Project

General

Profile

Actions

Bug #19561

closed

ERF12-8202 [ProxyAPI::ProxyException]: Unable to retrieve unused IP ([RestClient::BadRequest]: 400 Bad Request) - after upgrade to 1.15.0-1

Added by Christian Meißner almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
DHCP plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

proxy.log proxy.log 11.9 KB Christian Meißner, 05/16/2017 05:31 AM
dhcp_infoblox.patch dhcp_infoblox.patch 9.41 KB Klaas D, 07/14/2017 07:12 AM
Actions #1

Updated by Christian Meißner almost 7 years ago

  • File deleted (proxy.log)
Actions #2

Updated by Christian Meißner almost 7 years ago

sanitized proxy.log attached

Actions #3

Updated by Dominic Cleal almost 7 years ago

  • Project changed from Website to Infoblox
  • Category set to DHCP plugin
Actions #4

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.

Actions #5

Updated by Klaas D almost 7 years ago

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 :)

Actions #6

Updated by Anonymous over 6 years ago

  • Priority changed from High to Normal
Actions #7

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.

Actions

Also available in: Atom PDF