Im running foreman, with smart-proxy on a win2k12 r2 box running ad/dhcp/dns.
When i try to provision smart proxy dumps this to the logs:
Changed the current scope context to 192.168.20.0 scope.
The specified option does not exist.
E, [2014-09-11T19:31:03.050843 #6068] ERROR -- : Unknown error while processing ''
E, [2014-09-11T19:34:20.342416 #6068] ERROR -- : Netsh failed:
Changed the current scope context to 192.168.20.0 scope.
The specified option does not exist.
E, [2014-09-11T19:34:20.342416 #6068] ERROR -- : Unknown error while processing ''
foreman web interface says
Create DHCP Settings for testbox2.devita.co task failed with the following error: ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry ([RestClient::BadRequest]: 400 Bad Request) for proxy https://win1.devita.co:8443/dhcp
smart-proxy stdout looks like this:
92.168.20.105 - - [11/Sep/2014 19:30:44] "GET /dhcp/192.168.20.0/unused_ip?from
192.168.20.100&to=192.168.20.200 HTTP/1.1" 200 23 1.4821
oreman.devita.co - - [11/Sep/2014:19:30:42 US Mountain Standard Time] "GET /dhc
/192.168.20.0/unused_ip?from=192.168.20.100&to=192.168.20.200 HTTP/1.1" 200 23
-> /dhcp/192.168.20.0/unused_ip?from=192.168.20.100&to=192.168.20.200
92.168.20.105 - - [11/Sep/2014 19:31:03] "POST /dhcp/192.168.20.0 HTTP/1.1" 400
33 1.0671
oreman.devita.co - - [11/Sep/2014:19:31:01 US Mountain Standard Time] "POST /dh
p/192.168.20.0 HTTP/1.1" 400 33
-> /dhcp/192.168.20.0
he system cannot find the path specified.
92.168.20.105 - - [11/Sep/2014 19:32:33] "GET /dhcp/192.168.20.0/unused_ip?from
192.168.20.100&to=192.168.20.200 HTTP/1.1" 200 23 1.4941
oreman.devita.co - - [11/Sep/2014:19:32:32 US Mountain Standard Time] "GET /dhc
/192.168.20.0/unused_ip?from=192.168.20.100&to=192.168.20.200 HTTP/1.1" 200 23
-> /dhcp/192.168.20.0/unused_ip?from=192.168.20.100&to=192.168.20.200
he system cannot find the path specified.
92.168.20.105 - - [11/Sep/2014 19:34:00] "GET /dhcp/192.168.20.0/unused_ip?from
192.168.20.100&to=192.168.20.200 HTTP/1.1" 200 23 1.5431
oreman.devita.co - - [11/Sep/2014:19:33:59 US Mountain Standard Time] "GET /dhc
/192.168.20.0/unused_ip?from=192.168.20.100&to=192.168.20.200 HTTP/1.1" 200 23
-> /dhcp/192.168.20.0/unused_ip?from=192.168.20.100&to=192.168.20.200
92.168.20.105 - - [11/Sep/2014 19:34:20] "POST /dhcp/192.168.20.0 HTTP/1.1" 400
33 0.9841