Hi,
I have my windows DHCP server installed with Smart proxy. I have assigned
this HDCP smart proxy to a subnet on the foreman server.
When i try to add a new host and set interface using this subnet, the IP
generations fails with "Error generating IP: Not Found"
On the windows server I get the below message on the \bin\smart-proxy
command window
2015-05-18 18:21:29 - LoadError - cannot load such file – win32/open3:
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
C:/smart-proxy-1.8.0/modules/dhcp/providers/server/native_ms.rb:2:in `<top
(required)>'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' C:/smart-proxy-1.8.0/modules/dhcp/dhcp_api.rb:21:in
block in
<class:DhcpApi>'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in
`block in compile!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1014:in
`[]'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1014:in
`block in process_route'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in
`catch'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in
`process_route'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:965:in
`block in filter!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:965:in
`each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:965:in
`filter!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1083:in
`block in dispatch!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in
`block in invoke'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in
`catch'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in
`invoke'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in
`dispatch!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in
`block in call!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in
`block in invoke'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in
`catch'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in
`invoke'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in
`call!'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/methodoverride.rb:21:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/commonlogger.rb:33:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:218:in
call' C:/smart-proxy-1.8.0/lib/proxy/log.rb:35:in
call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/nulllogger.rb:9:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/head.rb:11:in `call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in
`block in call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1795:in
`synchronize'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/builder.rb:138:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/urlmap.rb:65:in
`block in call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/urlmap.rb:50:in
`each'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/urlmap.rb:50:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/builder.rb:138:in
`call'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.3/lib/rack/handler/webrick.rb:60:in
service' C:/Ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:138:in
service'
C:/Ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:94:in run' C:/Ruby193/lib/ruby/1.9.1/webrick/server.rb:191:in
block in
start_thread'
puppet.agilitylab.org - - [18/May/2015:18:21:29 Pacific Daylight Time] "GET
/dhcp/172.23.0.0/unused_ip?mac=80:c1:6e:23:8
d:10 HTTP/1.1" 500 155734
- -> /dhcp/172.23.0.0/unused_ip?mac=80:c1:6e:23:8d:10
Thanks
Gagan