Bug #25024
closedFailed to fetch a free IP from proxy - undefined local variable or method `opts' for ms dhcp server:Proxy::DHCP::NativeMS::Provider
Description
I just upgraded from 1.15 to 1.19 proxies. I wanted to wait for the MS DHCP API changes to bake in.
Now I am hitting the following error on IP request, which previously worked without issues.
Failed to fetch a free IP from proxy foreman-dhcp-lab3-4 (https://foreman-deploy.lab.beer.town:8448): ERF12-8202 [ProxyAPI::ProxyException]: Unable to retrieve unused IP ([RestClient::BadRequest]: 400 Bad Request) for proxy https://foreman-deploy.lab.beer.town:8448/dhcp
https://gist.github.com/tek0011/432722c057ad0c947414fa8316c3230a
Updated by Jeff Sparrow over 6 years ago
It appears the issue is only related to finding a new IP.
I am able to manually give it an IP and provision it. Obviously this isnt ideal, as I have to manually search for an IP each time.
Updated by Jeff Sparrow over 6 years ago
Seeing this error while looking at the servers processes during a request. Any idea if this means anything?
Updated by Jeff Sparrow over 6 years ago
I created the folder and now it looks like it wants to create another folder thats missing. Something seems quite wrong here.
Updated by Lukas Zapletal over 6 years ago
- Status changed from New to Duplicate
- Priority changed from High to Normal
Dupe of #24591 fixed upstream. One line patch, apply it onto your instance.
Updated by Lukas Zapletal over 6 years ago
- Related to Bug #24591: Incorrect error reporting for MS DHCP added
Updated by Jeff Sparrow over 6 years ago
Lukas Zapletal wrote:
Dupe of #24591 fixed upstream. One line patch, apply it onto your instance.
Thanks Lukas. Worked.