Support #19592
closedSmproxy Failes :- Rack::Handler::WEBrick is invoked
Description
Hi,
I updated foreman proxy 1.9.3 to 1.11.4 after that getting below error and smproxy fails.
foreman/proxy.log
2017-05-19T00:07:30.168947 #25460] DEBUG -- : Rack::Handler::WEBrick is invoked.
=======================
Logs on puppet server :
Gem file not loading after patch . Hence the autosign request is failing with 404 Error.
==========================
D, [2017-05-17T03:29:58.603871 #4636] DEBUG -- : accept: 10.229.67.9:42638
D, [2017-05-17T03:29:58.607027 #4636] DEBUG -- : Rack::Handler::WEBrick is invoked.
I, [2017-05-17T03:29:58.608287 #4636] INFO -- : 10.229.67.9 - - [17/May/2017 03:29:58] "DELETE /puppet/ca/hostteam3.ffi.expertcity.com HTTP/1.1" 404 450 0.0007
D, [2017-05-17T03:29:58.651651 #4636] DEBUG -- : close: 10.229.67.9:42638
D, [2017-05-17T03:29:58.687070 #4636] DEBUG -- : accept: 10.229.67.9:42640
D, [2017-05-17T03:29:58.690239 #4636] DEBUG -- : Rack::Handler::WEBrick is invoked.
I, [2017-05-17T03:29:58.691308 #4636] INFO -- : 10.229.67.9 - - [17/May/2017 03:29:58] "POST /puppet/ca/autosign/hostteam3.ffi.expertcity.com HTTP/1.1" 404 457 0.0006
I, [2017-05-16T13:28:52.474606 #7138] INFO -- : going to shutdown ...
I, [2017-05-16T13:28:52.481152 #7138] INFO -- : WEBrick::HTTPServer#start done.
I, [2017-05-16T13:28:53.591221 #31793] INFO -- : 'foreman_proxy' settings were initialized with default values: :enabled: true
I, [2017-05-16T13:28:53.613981 #31793] INFO -- : Finished initialization of module 'foreman_proxy'
I, [2017-05-16T13:28:53.614470 #31793] INFO -- : 'dns_nsupdate' settings were initialized with default values: :enabled: false
I, [2017-05-16T13:28:53.622837 #31793] INFO -- : Finished initialization of module 'dns_nsupdate'
I, [2017-05-16T13:28:53.628176 #31793] INFO -- : Finished initialization of module 'dns'
E, [2017-05-16T13:28:53.634849 #31793] ERROR -- : Couldn't enable plugin puppetca: Gem loading error: no such file to load -- puppet
D, [2017-05-16T13:28:53.634916 #31793] DEBUG -- : ["/usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:30:in `strict_error'", "/usr/lib/ruby/gems/1.8
/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:56:in `system_require'", "/usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in `each'", "/
usr/lib/ruby/gems/1.8/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in `system_require'", "/usr/share/foreman-proxy/lib/bundler_helper.rb:22:in `require_groups'", "
/usr/share/foreman-proxy/lib/proxy/plugin.rb:151:in `configure_plugin'", "/usr/share/foreman-proxy/lib/proxy/plugin_initializer.rb:31:in `configure_plugins'", "/usr/share/fore
man-proxy/lib/proxy/plugin_initializer.rb:29:in `each'", "/usr/share/foreman-proxy/lib/proxy/plugin_initializer.rb:29:in `configure_plugins'", "/usr/share/foreman-proxy/lib/pr
oxy/plugin_initializer.rb:5:in `initialize_plugins'", "/usr/share/foreman-proxy/lib/launcher.rb:114:in `configure_plugins'", "/usr/share/foreman-proxy/lib/launcher.rb:124:in `
launch'", "/usr/share/foreman-proxy/bin/smart-proxy:6"]
Thanks,
Tarak