tapicero doesn't start after first deploy to single node
using latest leap_cli and leap_platform
Aug 20 15:53:06 staging webapp[27021]: RestClient::ServiceUnavailable (503 Service Unavailable):#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'#012 vend or/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'#012 /usr/l ib/ruby/1.9.1/net/http.rb:745:in `start'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/reque st.rb:64:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:94:in `execute'#0 12 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:50:in `put'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/database.rb:130:in `save_doc'#012 vendor/bundle/ruby/1.9. 1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/document.rb:69:in `save'#012 vendor/bundle/ruby/1.9.1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/store.rb:58:in `set_session'#012 vendor /bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:327:in `commit_session'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:211:in `context'#012 vendor/bundle/ruby/1 .9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in `call'#012 vendor/bundle/ruby/1.9.1/gems/ actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `_run__3317953957881263862__call __3044844782665864703__callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/activ e_support/callbacks.rb:385:in `_run_call_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2 .18/lib/action_dispatch/middleware/callbacks.rb:27:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actio npack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'#012 vendor/bundle /ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/act ivesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18 /lib/action_dispatch/middleware/request_id.rb:22:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb: 17:in `call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'#012 vendor/bundle/ruby/1.9.1/g ems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/c ache/context.rb:51:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'#012 ve ndor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'#012 vendor/bundle/ruby/1.9.1/gems/http_accept_language-2.0.0/lib/http_accept_language/middleware.rb:13:in `ca ll'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:in `process_request'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_r equest'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler' #012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:in `safe_fork'#012 /usr/lib /ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ruby/ vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/r ack/application_spawner.rb:129:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/ab stract_server_collection.rb:132:in `lookup_or_add'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abst ract_server_collection.rb:82:in `block in synchronize'#012 :10:in `synchronize'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'#012 /usr/lib /ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:137:in `spawn_application'#012 /usr/lib/ruby/vendor_ruby/ph usion_passenger/spawn_manager.rb:275:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/a bstract_server.rb:206:in `start_synchronously'#012 /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99:in `' Aug 20 15:53:06 staging webapp[27021]: Processing by ErrorsController#server_error as */* Aug 20 15:53:06 staging webapp[27021]: Processing by ErrorsController#server_error as */* Aug 20 15:53:06 staging webapp[27021]: Rendered errors/server_error.html.haml within layouts/application (0.4ms) Aug 20 15:53:06 staging webapp[27021]: Rendered layouts/_masthead.html.haml (0.3ms) Aug 20 15:53:06 staging webapp[27021]: Rendered layouts/_messages.html.haml (0.1ms) Aug 20 15:53:06 staging webapp[27021]: Rendered layouts/_content.html.haml (0.3ms) Aug 20 15:53:06 staging webapp[27021]: Rendered layouts/_footer.html.haml (0.6ms) Aug 20 15:53:06 staging webapp[27021]: Completed 200 OK in 3.7ms (Views: 3.6ms) Aug 20 15:53:06 staging webapp[27021]: Started POST "/1/sessions" for 0.0.0.0 at 2014-08-20 15:53:06 +0000 Aug 20 15:53:06 staging webapp[27021]: Processing by V1::SessionsController#create as JSON Aug 20 15:53:06 staging webapp[27021]: Parameters: {"A"=>"b9409597ec8369a460c24cd7c628d6affbda00f667d778147a63b936f1926735b00a3ce1a26facad054900d57ffce87d8115a60aec398dd23e3790f36729c30aebc97a0e7c68ba46c29e88e01 cc0475ca7d55db7612fc2f3c179e5591dcb86717921e452f3a1a9a5b65ba807ab465da7fc5a0c486d780c8637ea15f98a5ff8af", "login"=>"nagios_test"} Aug 20 15:53:06 staging webapp[27021]: Completed in 3.0ms Aug 20 15:53:06 staging webapp[27021]: Processing by SessionsController#new as JSON Aug 20 15:53:06 staging webapp[27021]: Parameters: {"A"=>"b9409597ec8369a460c24cd7c628d6affbda00f667d778147a63b936f1926735b00a3ce1a26facad054900d57ffce87d8115a60aec398dd23e3790f36729c30aebc97a0e7c68ba46c29e88e01 cc0475ca7d55db7612fc2f3c179e5591dcb86717921e452f3a1a9a5b65ba807ab465da7fc5a0c486d780c8637ea15f98a5ff8af", "login"=>"nagios_test"} Aug 20 15:53:06 staging webapp[27021]: WARNING: Can't verify CSRF token authenticity Aug 20 15:53:06 staging webapp[27021]: Rendered sessions/new.json.erb (0.1ms) Aug 20 15:53:06 staging webapp[27021]: Completed 422 Unprocessable Entity in 2.8ms (Views: 0.8ms) Aug 20 15:53:06 staging webapp[27021]: RestClient::ServiceUnavailable (503 Service Unavailable):#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'#012 vend or/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'#012 /usr/l ib/ruby/1.9.1/net/http.rb:745:in `start'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/reque st.rb:64:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:94:in `execute'#0 12 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:50:in `put'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/database.rb:130:in `save_doc'#012 vendor/bundle/ruby/1.9. 1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/document.rb:69:in `save'#012 vendor/bundle/ruby/1.9.1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/store.rb:58:in `set_session'#012 vendor /bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:327:in `commit_session'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:211:in `context'#012 vendor/bundle/ruby/1 .9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in `call'#012 vendor/bundle/ruby/1.9.1/gems/ actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `_run__3317953957881263862__call __3044844782665864703__callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/activ e_support/callbacks.rb:385:in `_run_call_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2 .18/lib/action_dispatch/middleware/callbacks.rb:27:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actio npack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'#012 vendor/bundle /ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/act ivesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18 /lib/action_dispatch/middleware/request_id.rb:22:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb: 17:in `call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'#012 vendor/bundle/ruby/1.9.1/ge ms/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rac k/cache/context.rb:51:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'#012 vendor/bundle/ruby/1.9.1/gems/http_accept_language-2.0.0/lib/http_accept_language/middleware.rb:13:in `call'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:in `process_request'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_nex t_request'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handl er'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:in `safe_fork'#012 /usr/ lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ru by/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenge r/rack/application_spawner.rb:129:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger /abstract_server_collection.rb:132:in `lookup_or_add'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/a bstract_server_collection.rb:82:in `block in synchronize'#012 :10:in `synchronize'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'#012 /usr/ lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:137:in `spawn_application'#012 /usr/lib/ruby/vendor_ruby /phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenge r/abstract_server.rb:206:in `start_synchronously'#012 /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99:in `' Aug 20 15:53:06 staging webapp[27021]: Processing by ErrorsController#server_error as JSON Aug 20 15:53:06 staging webapp[27021]: Parameters: {"A"=>"b9409597ec8369a460c24cd7c628d6affbda00f667d778147a63b936f1926735b00a3ce1a26facad054900d57ffce87d8115a60aec398dd23e3790f36729c30aebc97a0e7c68ba46c29e88e01 cc0475ca7d55db7612fc2f3c179e5591dcb86717921e452f3a1a9a5b65ba807ab465da7fc5a0c486d780c8637ea15f98a5ff8af", "login"=>"nagios_test"} Aug 20 15:53:06 staging webapp[27021]: WARNING: Can't verify CSRF token authenticity Aug 20 15:53:06 staging webapp[27021]: Missing template errors/server_error, application/server_error with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :haml, :md]}. Searched in:#012 * "/srv/ leap/webapp/app/views"#012 * "/srv/leap/webapp/engines/support/app/views"#012 * "/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/kaminari-0.13.0/app/views" Aug 20 15:53:06 staging webapp[27021]: /srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_view/path_set.rb:58:in `find'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1 8/lib/action_view/lookup_context.rb:122:in `find'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'#012/srv/leap/webapp/vendor /bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:34:in `determine_template'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_view/renderer/tem plate_renderer.rb:10:in `render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_view/renderer/renderer.rb:36:in `render_template'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems /actionpack-3.2.18/lib/action_view/renderer/renderer.rb:17:in `render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:110:in `_render_template'#012/srv/l eap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/streaming.rb:225:in `_render_template'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_cont roller/rendering.rb:103:in `render_to_body'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/renderers.rb:28:in `render_to_body'#012/srv/leap/webapp/vendor/bundle/r uby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:88:in `render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:16:in `render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/actio n_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'#012/usr /lib/ruby/1.9.1/benchmark.rb:295:in `realtime'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/benchmark.rb:5:in `ms'#012/srv/leap/webapp/vendor/bundle/ruby/1.9 .1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:40:in `block in render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb :83:in `cleanup_view_runtime'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:39:in `render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/a ctionpack-3.2.18/lib/action_controller/metal/implicit_render.rb:10:in `default_render'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/implicit_render.rb:5:in `sen d_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:167:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/actio n_controller/metal/rendering.rb:10:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:18:in `block in process_action'#012/srv/leap/webapp /vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:458:in `_run__2585999987036297142__process_action__1546096602335013095__callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1 /gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in `_run_process_acti on_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/ abstract_controller/callbacks.rb:17:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rescue.rb:29:in `process_action'#012/srv/leap/webapp/vendor /bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/ notifications.rb:123:in `block in instrument'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in `instrument'#012/srv/leap/webapp/vendor /bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `instrument'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentatio n.rb:29:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/ gems/actionpack-3.2.18/lib/abstract_controller/base.rb:121:in `process'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:45:in `process'#012/srv/leap/webap p/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:203:in `dispatch'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal/rack_delegation. rb:14:in `dispatch'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_controller/metal.rb:246:in `block in action'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18 /lib/action_dispatch/routing/route_set.rb:73:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:36:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:76:in `render_exception'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:61:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'#012/srv/leap/webapp/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cac Aug 20 15:53:06 staging webapp[27021]: Completed 500 Internal Server Error in 2.5ms (Views: 0.2ms) Aug 20 15:53:23 staging webapp[27021]: Started GET "/" for 0.0.0.0 at 2014-08-20 15:53:23 +0000 Aug 20 15:53:23 staging webapp[27021]: Processing by HomeController#index as HTML Aug 20 15:53:23 staging webapp[27021]: Rendered home/_masthead.html.haml (0.2ms) Aug 20 15:53:23 staging webapp[27021]: Rendered common/_download_button.html.haml (0.7ms) Aug 20 15:53:23 staging webapp[27021]: Rendered common/_action_buttons.html.haml (3.1ms) Aug 20 15:53:23 staging webapp[27021]: Rendered common/_home_page_buttons.html.haml (4.9ms) Aug 20 15:53:23 staging webapp[27021]: Rendered home/_content.html.haml (5.9ms) Aug 20 15:53:23 staging webapp[27021]: Rendered layouts/_footer.html.haml (1.6ms) Aug 20 15:53:23 staging webapp[27021]: Rendered home/index.html.haml within layouts/home (9.4ms) Aug 20 15:53:23 staging webapp[27021]: Completed 200 OK in 13.9ms (Views: 13.1ms) Aug 20 15:53:23 staging webapp[27021]: RestClient::ServiceUnavailable (503 Service Unavailable):#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'#012 /usr/lib/ruby/1.9.1/net/http.rb:745:in `start'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:94:in `execute'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/rest_api.rb:50:in `put'#012 vendor/bundle/ruby/1.9.1/gems/couchrest-1.1.3/lib/couchrest/database.rb:130:in `save_doc'#012 vendor/bundle/ruby/1.9.1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/document.rb:69:in `save'#012 vendor/bundle/ruby/1.9.1/gems/couchrest_session_store-0.2.4/lib/couchrest/session/store.rb:58:in `set_session'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:327:in `commit_session'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:211:in `context'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `_run__3317953957881263862__call__3044844782665864703__callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:27:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:32:in `call_app'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `block in call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/tagged_logging.rb:22:in `tagged'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/rack/logger.rb:16:in `call'#012 vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'#012 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'#012 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'#012 vendor/bundle/ruby/1.9.1/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'#012 vendor/bundle/ruby/1.9.1/gems/http_accept_language-2.0.0/lib/http_accept_language/middleware.rb:13:in `call'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:in `process_request'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:in `safe_fork'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:129:in `start'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'#012 :10:in `synchronize'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:137:in `spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in `server_main_loop'#012 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously'#012 /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99:in `' Aug 20 15:53:23 staging webapp[27021]: Processing by ErrorsController#server_error as HTML Aug 20 15:53:23 staging webapp[27021]: Rendered errors/server_error.html.haml within layouts/application (0.4ms) Aug 20 15:53:23 staging webapp[27021]: Rendered layouts/_masthead.html.haml (0.3ms) Aug 20 15:53:23 staging webapp[27021]: Rendered layouts/_messages.html.haml (0.1ms) Aug 20 15:53:23 staging webapp[27021]: Rendered layouts/_content.html.haml (0.3ms) Aug 20 15:53:23 staging webapp[27021]: Rendered layouts/_footer.html.haml (0.6ms) Aug 20 15:53:23 staging webapp[27021]: Completed 200 OK in 3.6ms (Views: 3.5ms)
leap test = [staging.dev.wazokazi.is] PASS: Network > Can connect to internet? = [staging.dev.wazokazi.is] PASS: Network > Is stunnel running? = [staging.dev.wazokazi.is] PASS: Network > Is shorewall running? = [staging.dev.wazokazi.is] FAIL: CouchDB > Are daemons running? [couchdb.rb:12]: = [staging.dev.wazokazi.is] No running process for tapicero = [staging.dev.wazokazi.is] Tests halted on failure (because of --no-continue).
root@staging:~# ps aux|grep tapi root 29197 0.0 0.0 7832 832 pts/0 S+ 15:57 0:00 grep tapi root@staging:~# /etc/init.d/tapicero start root@staging:~# ps aux|grep tapi root 29379 29.0 2.5 100584 25892 ? Sl 15:57 0:00 tapicero root 29386 0.0 0.0 7832 828 pts/0 S+ 15:57 0:00 grep tapi
now all is green:
leap test = [staging.dev.wazokazi.is] PASS: Network > Can connect to internet? = [staging.dev.wazokazi.is] PASS: Network > Is stunnel running? = [staging.dev.wazokazi.is] PASS: Network > Is shorewall running? = [staging.dev.wazokazi.is] PASS: CouchDB > Are daemons running? = [staging.dev.wazokazi.is] PASS: CouchDB > Is CouchDB running? = [staging.dev.wazokazi.is] PASS: CouchDB > Do ACL users exist? = [staging.dev.wazokazi.is] PASS: CouchDB > Do required databases exist? = [staging.dev.wazokazi.is] PASS: CouchDB > Is ACL enforced? = [staging.dev.wazokazi.is] PASS: CouchDB > What? = [staging.dev.wazokazi.is] PASS: Webapp > Can contact couchdb? = [staging.dev.wazokazi.is] PASS: Webapp > Is haproxy working? = [staging.dev.wazokazi.is] PASS: Webapp > Are daemons running? = [staging.dev.wazokazi.is] PASS: Webapp > Can access webapp? = [staging.dev.wazokazi.is] 15 tests: 13 passes, 0 skips, 0 warnings, 0 failures, 0 errors
(from redmine: created on 2014-08-20, closed on 2014-08-26, relates #6005 (closed), relates #6017 (closed))