java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472$fn__6473.invoke(jruby_puppet_core.clj:228) [103/249]

JIRA | Jasper Lievisse Adriaanse | 2 years ago
  1. 0

    Running puppetserver 0.2.0 with: java -cp /usr/local/share/puppetserver/puppet-server-release.jar clojure.main -m puppetlabs.trapperkeeper.main services --config /etc/puppetserver/conf.d/ -b /etc/puppetserver/bootstrap.cfg results in: Cannot run on Microsoft Windows without the win32-process, win32-dir and win32-service gems: Win32API only supported on win32 Puppet::Error: Cannot determine basic system flavour (root) at /usr/local/lib/ruby/site_ruby/2.0/puppet/feature/base.rb:32 require at org/jruby/RubyKernel.java:1065 (root) at /usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at /usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 Puppet at /usr/local/lib/ruby/site_ruby/2.0/puppet.rb:75 require at org/jruby/RubyKernel.java:1065 (root) at /usr/local/lib/ruby/site_ruby/2.0/puppet.rb:29 (root) at /usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at org/jruby/RubyKernel.java:1065 require at /usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 (root) at file:/usr/local/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server/master.rb:1 invoke at jruby_puppet_core.clj:118 invoke at jruby_puppet_core.clj:131 invoke at jruby_puppet_core.clj:121 invoke at jruby_puppet_core.clj:222 invoke at jruby_puppet_core.clj:210 invoke at jruby_puppet_service.clj:29 invoke at internal.clj:246 invoke at internal.clj:230 shutdown_on_error at internal.clj:285 invoke at internal.clj:254 invoke at internal.clj:254 invoke at core.clj:619 doInvoke at core.clj:2396 invoke at jruby_puppet_service.clj:28 invoke at core.clj:1836 Exception in thread "main" java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472$fn__6473.invoke(jruby_puppet_core.clj:228) [103/249] at puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472.invoke(jruby_puppet_core.clj:210) at puppetlabs.services.jruby.jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648$fn__6649.invoke(jruby_puppet_service.clj:29) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:246) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:230) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5853$service_fnk__5254__auto___positional$reify__5858.shutdown_on_error(internal.clj:285) at puppetlabs.trapperkeeper.internal$eval5789$fn__5801$G__5775__5809.invoke(internal.clj:254) at puppetlabs.trapperkeeper.internal$eval5789$fn__5801$G__5774__5818.invoke(internal.clj:254) at clojure.lang.AFn.applyToHelper(AFn.java:167) at clojure.lang.AFn.applyTo(AFn.java:151) at clojure.core$apply.invoke(core.clj:619) at clojure.core$partial$fn__4190.doInvoke(core.clj:2396) at clojure.lang.RestFn.invoke(RestFn.java:421) at puppetlabs.services.jruby.jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648.invoke(jruby_puppet_service.clj:28) at clojure.core$binding_conveyor_fn$fn__4107.invoke(core.clj:1836) at clojure.lang.AFn.call(AFn.java:18) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1317) at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1310) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:118) at puppetlabs.services.jruby.jruby_puppet_core$eval6346$create_jruby_instance__6347$fn__6348.invoke(jruby_puppet_core.clj:131) at puppetlabs.services.jruby.jruby_puppet_core$eval6346$create_jruby_instance__6347.invoke(jruby_puppet_core.clj:121) at puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472$fn__6473.invoke(jruby_puppet_core.clj:222) ... 19 more Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/usr/local/lib/ruby/site_ruby/2.0/puppet/feature/base.rb:32) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) at RUBY.(root)(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.Puppet(/usr/local/lib/ruby/site_ruby/2.0/puppet.rb:75) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) at RUBY.(root)(/usr/local/lib/ruby/site_ruby/2.0/puppet.rb:29) at RUBY.(root)(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) at RUBY.require(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.(root)(file:/usr/local/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server/master.rb:1) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:118) at puppetlabs.services.jruby.jruby_puppet_core$eval6346$create_jruby_instance__6347$fn__6348.invoke(jruby_puppet_core.clj:131) at puppetlabs.services.jruby.jruby_puppet_core$eval6346$create_jruby_instance__6347.invoke(jruby_puppet_core.clj:121) at puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472$fn__6473.invoke(jruby_puppet_core.clj:222) at puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472.invoke(jruby_puppet_core.clj:210) at puppetlabs.services.jruby.jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648$fn__6649.invoke(jruby_puppet_service.clj:29) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:246) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:230) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5853$service_fnk__5254__auto___positional$reify__5858.shutdown_on_error(internal.clj:285) at puppetlabs.trapperkeeper.internal$eval5789$fn__5801$G__5775__5809.invoke(internal.clj:254) at puppetlabs.trapperkeeper.internal$eval5789$fn__5801$G__5774__5818.invoke(internal.clj:254) at clojure.core$apply.invoke(core.clj:619) at clojure.core$partial$fn__4190.doInvoke(core.clj:2396) at puppetlabs.services.jruby.jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648.invoke(jruby_puppet_service.clj:28) at clojure.core$binding_conveyor_fn$fn__4107.invoke(core.clj:1836) Having a quick look at puppet/feature/base.rb it seems that Puppet suddenly no longer recognizes OpenBSD as having the 'posix' feature? Running the Ruby puppetmaster on the same machine works.

    JIRA | 2 years ago | Jasper Lievisse Adriaanse
    java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472$fn__6473.invoke(jruby_puppet_core.clj:228) [103/249]
  2. 0

    Installer blocks on launching the web-console. === 2015-05-14 02:38:40,478 INFO [p.t.internal] Beginning shutdown sequence 2015-05-14 02:38:40,488 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-05-14 02:38:40,491 INFO [p.t.internal] Finished shutdown sequence 2015-05-14 02:39:00,090 INFO [o.e.j.u.log] Logging initialized @11321ms 2015-05-14 02:39:01,921 INFO [p.t.s.w.jetty9-service] Initializing web server(s). 2015-05-14 02:39:01,998 INFO [p.s.j.jruby-puppet-service] Initializing the JRuby service 2015-05-14 02:39:01,999 WARN [p.s.j.jruby-puppet-core] No configuration value found for jruby-puppet max-active-instances; using default value of 3. Please consider setting this value explicitly in the jruby-puppet section of your Puppet Server config files. 2015-05-14 02:39:13,268 ERROR [p.t.internal] Error during service init!!! java.lang.IllegalStateException: Unable to borrow JRuby instance from pool at puppetlabs.services.jruby.jruby_puppet_core$eval12710$validate_instance_from_pool_BANG___12711$fn__12712.invoke(jruby_puppet_core.clj:298) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12710$validate_instance_from_pool_BANG___12711.invoke(jruby_puppet_core.clj:288) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12808$borrow_from_pool_with_timeout__12809$fn__12810.invoke(jruby_puppet_core.clj:348) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12808$borrow_from_pool_with_timeout__12809.invoke(jruby_puppet_core.clj:336) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_service$reify__13088$service_fnk__5259__auto___positional$reify__13099.borrow_instance(jruby_puppet_service.clj:73) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068$fn__14069$fn__14070.invoke(puppet_server_config_core.clj:101) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068$fn__14069.invoke(puppet_server_config_core.clj:101) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068.invoke(puppet_server_config_core.clj:96) ~[na:na] at puppetlabs.services.config.puppet_server_config_service$reify__14094$service_fnk__5259__auto___positional$reify__14105.init(puppet_server_config_service.clj:24) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5096$G__5087__5099.invoke(services.clj:10) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5096$G__5086__5103.invoke(services.clj:10) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fn_BANG_.invoke(internal.clj:154) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fns.invoke(internal.clj:182) ~[na:na] at puppetlabs.trapperkeeper.internal$build_app_STAR_$reify__5955.init(internal.clj:446) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_$fn__5967.invoke(internal.clj:472) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:471) [na:na] at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113) [na:na] at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144) [na:na] at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) [na:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at clojure.main$main_opt.invoke(main.clj:315) [puppet-server-release.jar:na] at clojure.main$main.doInvoke(main.clj:420) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:512) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:409) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:178) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.main.main(main.java:37) [puppet-server-release.jar:na] Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) ~[puppet-server-release.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79-icedtea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79-icedtea] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79-icedtea] at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) ~[puppet-server-release.jar:na] at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) ~[na:na] at clojure.lang.AFn.applyToHelper(AFn.java:160) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:144) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:137) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:408) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) ~[na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) ~[puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:154) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:132) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.doRun(Agent.java:114) ~[puppet-server-release.jar:na] at clojure.lang.Agent$Action.run(Agent.java:163) ~[puppet-server-release.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_79-icedtea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_79-icedtea] at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_79-icedtea] Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) ~[na:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) ~[na:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) ~[na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) ~[puppet-server-release.jar:na] 2015-05-14 02:39:13,271 INFO [p.t.internal] Beginning shutdown sequence 2015-05-14 02:39:13,267 ERROR [p.t.internal] shutdown-on-error triggered because of exception! java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:59) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) [na:na] at clojure.lang.AFn.applyToHelper(AFn.java:160) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:144) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:137) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:408) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) [na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:154) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:132) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.doRun(Agent.java:114) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.run(Agent.java:163) [puppet-server-release.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79-icedtea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79-icedtea] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79-icedtea] Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) ~[puppet-server-release.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79-icedtea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79-icedtea] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79-icedtea] at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) ~[puppet-server-release.jar:na] at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] ... 24 common frames omitted Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) ~[na:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) [na:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) [na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) [puppet-server-release.jar:na] 2015-05-14 02:39:13,284 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-05-14 02:39:13,288 INFO [p.t.internal] Finished shutdown sequence

    JIRA | 2 years ago | Michael Tomkins
    java.lang.IllegalStateException: Unable to borrow JRuby instance from pool
  3. 0

    Installer blocks on launching the web-console. === 2015-05-14 02:38:40,478 INFO [p.t.internal] Beginning shutdown sequence 2015-05-14 02:38:40,488 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-05-14 02:38:40,491 INFO [p.t.internal] Finished shutdown sequence 2015-05-14 02:39:00,090 INFO [o.e.j.u.log] Logging initialized @11321ms 2015-05-14 02:39:01,921 INFO [p.t.s.w.jetty9-service] Initializing web server(s). 2015-05-14 02:39:01,998 INFO [p.s.j.jruby-puppet-service] Initializing the JRuby service 2015-05-14 02:39:01,999 WARN [p.s.j.jruby-puppet-core] No configuration value found for jruby-puppet max-active-instances; using default value of 3. Please consider setting this value explicitly in the jruby-puppet section of your Puppet Server config files. 2015-05-14 02:39:13,268 ERROR [p.t.internal] Error during service init!!! java.lang.IllegalStateException: Unable to borrow JRuby instance from pool at puppetlabs.services.jruby.jruby_puppet_core$eval12710$validate_instance_from_pool_BANG___12711$fn__12712.invoke(jruby_puppet_core.clj:298) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12710$validate_instance_from_pool_BANG___12711.invoke(jruby_puppet_core.clj:288) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12808$borrow_from_pool_with_timeout__12809$fn__12810.invoke(jruby_puppet_core.clj:348) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12808$borrow_from_pool_with_timeout__12809.invoke(jruby_puppet_core.clj:336) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_service$reify__13088$service_fnk__5259__auto___positional$reify__13099.borrow_instance(jruby_puppet_service.clj:73) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068$fn__14069$fn__14070.invoke(puppet_server_config_core.clj:101) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068$fn__14069.invoke(puppet_server_config_core.clj:101) ~[na:na] at puppetlabs.services.config.puppet_server_config_core$eval14067$get_puppet_config__14068.invoke(puppet_server_config_core.clj:96) ~[na:na] at puppetlabs.services.config.puppet_server_config_service$reify__14094$service_fnk__5259__auto___positional$reify__14105.init(puppet_server_config_service.clj:24) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5096$G__5087__5099.invoke(services.clj:10) ~[na:na] at puppetlabs.trapperkeeper.services$eval5095$fn__5096$G__5086__5103.invoke(services.clj:10) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fn_BANG_.invoke(internal.clj:154) ~[na:na] at puppetlabs.trapperkeeper.internal$run_lifecycle_fns.invoke(internal.clj:182) ~[na:na] at puppetlabs.trapperkeeper.internal$build_app_STAR_$reify__5955.init(internal.clj:446) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_$fn__5967.invoke(internal.clj:472) [na:na] at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:471) [na:na] at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113) [na:na] at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144) [na:na] at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) [na:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:457) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:394) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:165) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:624) [puppet-server-release.jar:na] at clojure.main$main_opt.invoke(main.clj:315) [puppet-server-release.jar:na] at clojure.main$main.doInvoke(main.clj:420) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:512) [puppet-server-release.jar:na] at clojure.lang.Var.invoke(Var.java:409) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:178) [puppet-server-release.jar:na] at clojure.lang.Var.applyTo(Var.java:700) [puppet-server-release.jar:na] at clojure.main.main(main.java:37) [puppet-server-release.jar:na] Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) ~[puppet-server-release.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79-icedtea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79-icedtea] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79-icedtea] at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) ~[puppet-server-release.jar:na] at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) ~[na:na] at clojure.lang.AFn.applyToHelper(AFn.java:160) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:144) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:137) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:408) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) ~[na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) ~[puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:154) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:132) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.doRun(Agent.java:114) ~[puppet-server-release.jar:na] at clojure.lang.Agent$Action.run(Agent.java:163) ~[puppet-server-release.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_79-icedtea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_79-icedtea] at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_79-icedtea] Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) ~[na:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) ~[na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) ~[na:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) ~[na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) ~[puppet-server-release.jar:na] 2015-05-14 02:39:13,271 INFO [p.t.internal] Beginning shutdown sequence 2015-05-14 02:39:13,267 ERROR [p.t.internal] shutdown-on-error triggered because of exception! java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:59) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) [na:na] at clojure.lang.AFn.applyToHelper(AFn.java:160) [puppet-server-release.jar:na] at clojure.lang.AFn.applyTo(AFn.java:144) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:137) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.lang.RestFn.invoke(RestFn.java:408) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) [na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) [puppet-server-release.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:154) [puppet-server-release.jar:na] at clojure.lang.RestFn.applyTo(RestFn.java:132) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.doRun(Agent.java:114) [puppet-server-release.jar:na] at clojure.lang.Agent$Action.run(Agent.java:163) [puppet-server-release.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79-icedtea] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79-icedtea] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79-icedtea] Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) ~[puppet-server-release.jar:na] at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) ~[puppet-server-release.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_79-icedtea] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_79-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79-icedtea] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79-icedtea] at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) ~[puppet-server-release.jar:na] at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) ~[puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] ... 24 common frames omitted Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) ~[na:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) ~[na:na] at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[puppet-server-release.jar:na] at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) ~[na:na] at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) ~[na:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) ~[na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) [na:na] at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) [na:na] at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) [na:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at clojure.core$apply.invoke(core.clj:626) [puppet-server-release.jar:na] at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) [puppet-server-release.jar:na] at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) [na:na] at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) [puppet-server-release.jar:na] 2015-05-14 02:39:13,284 INFO [p.t.s.w.jetty9-service] Shutting down web server(s). 2015-05-14 02:39:13,288 INFO [p.t.internal] Finished shutdown sequence

    JIRA | 2 years ago | Michael Tomkins
    java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) root@pe-master:/var/log/pe-puppetserver# tail pe-puppetserver-daemon.log -n 100 Puppet at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75 require at org/jruby/RubyKernel.java:1071 (root) at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29 (root) at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at org/jruby/RubyKernel.java:1071 require at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 (root) at file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1 require at org/jruby/RubyKernel.java:1071 (root) at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 invoke at jruby_puppet_core.clj:187 invoke at jruby_puppet_core.clj:204 invoke at jruby_puppet_core.clj:190 invoke at jruby_puppet_agents.clj:54 invoke at jruby_puppet_agents.clj:39 invoke at jruby_puppet_agents.clj:116 invoke at internal.clj:256 invoke at internal.clj:240 shutdown_on_error at internal.clj:295 invoke at internal.clj:264 invoke at internal.clj:264 invoke at core.clj:626 doInvoke at core.clj:2468 invoke at core.clj:626 doInvoke at core.clj:2468 invoke at jruby_puppet_agents.clj:35 invoke at core.clj:1913 Exception in thread "main" java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:59) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.lang.RestFn.invoke(RestFn.java:408) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.lang.Agent$Action.doRun(Agent.java:114) at clojure.lang.Agent$Action.run(Agent.java:163) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ... 24 more Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913)

    JIRA | 2 years ago | xuhuajie
    java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool.
  6. 0

    at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) root@pe-master:/var/log/pe-puppetserver# tail pe-puppetserver-daemon.log -n 100 Puppet at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75 require at org/jruby/RubyKernel.java:1071 (root) at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29 (root) at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at org/jruby/RubyKernel.java:1071 require at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 (root) at file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1 require at org/jruby/RubyKernel.java:1071 (root) at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1 require at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55 invoke at jruby_puppet_core.clj:187 invoke at jruby_puppet_core.clj:204 invoke at jruby_puppet_core.clj:190 invoke at jruby_puppet_agents.clj:54 invoke at jruby_puppet_agents.clj:39 invoke at jruby_puppet_agents.clj:116 invoke at internal.clj:256 invoke at internal.clj:240 shutdown_on_error at internal.clj:295 invoke at internal.clj:264 invoke at internal.clj:264 invoke at core.clj:626 doInvoke at core.clj:2468 invoke at core.clj:626 doInvoke at core.clj:2468 invoke at jruby_puppet_agents.clj:35 invoke at core.clj:1913 Exception in thread "main" java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool. at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:59) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.lang.RestFn.invoke(RestFn.java:408) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.lang.Agent$Action.doRun(Agent.java:114) at clojure.lang.Agent$Action.run(Agent.java:163) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.jruby.embed.EvalFailedException: (Error) Cannot determine basic system flavour at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133) at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1340) at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1333) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) ... 24 more Caused by: org.jruby.exceptions.RaiseException: (Error) Cannot determine basic system flavour at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.Puppet(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:29) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.(root)(file:/opt/puppet/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) at RUBY.(root)(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:187) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611$fn__12612.invoke(jruby_puppet_core.clj:204) at puppetlabs.services.jruby.jruby_puppet_core$eval12610$create_pool_instance_BANG___12611.invoke(jruby_puppet_core.clj:190) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881$fn__12882.invoke(jruby_puppet_agents.clj:54) at puppetlabs.services.jruby.jruby_puppet_agents$eval12880$prime_pool_BANG___12881.invoke(jruby_puppet_agents.clj:39) at puppetlabs.services.jruby.jruby_puppet_agents$eval12957$send_prime_pool_BANG___12958$fn__12959$fn__12961.invoke(jruby_puppet_agents.clj:116) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:256) at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:240) at puppetlabs.trapperkeeper.internal$shutdown_service$reify__5863$service_fnk__5259__auto___positional$reify__5868.shutdown_on_error(internal.clj:295) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5785__5819.invoke(internal.clj:264) at puppetlabs.trapperkeeper.internal$eval5799$fn__5811$G__5784__5828.invoke(internal.clj:264) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at clojure.core$apply.invoke(core.clj:626) at clojure.core$partial$fn__4228.doInvoke(core.clj:2468) at puppetlabs.services.jruby.jruby_puppet_agents$eval12858$send_agent__12859$fn__12860$agent_fn__12861.invoke(jruby_puppet_agents.clj:35) at clojure.core$binding_conveyor_fn$fn__4145.invoke(core.clj:1913)

    JIRA | 2 years ago | xuhuajie
    java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jruby.exceptions.RaiseException

      (Error) Cannot determine basic system flavour at RUBY.(root)(/usr/local/lib/ruby/site_ruby/2.0/puppet/feature/base.rb:32) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) at RUBY.(root)(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at RUBY.require(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.Puppet(/usr/local/lib/ruby/site_ruby/2.0/puppet.rb:75) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) at RUBY.(root)(/usr/local/lib/ruby/site_ruby/2.0/puppet.rb:29) at RUBY.(root)(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1065) at RUBY.require(/usr/local/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) at RUBY.(root)(file:/usr/local/share/puppetserver/puppet-server-release.jar!/puppet-server-lib/puppet/server/master.rb:1)

      at puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke()
    2. puppetlabs.services.jruby
      jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648$fn__6649.invoke
      1. puppetlabs.services.jruby.jruby_puppet_core$create_scripting_container.invoke(jruby_puppet_core.clj:118)
      2. puppetlabs.services.jruby.jruby_puppet_core$eval6346$create_jruby_instance__6347$fn__6348.invoke(jruby_puppet_core.clj:131)
      3. puppetlabs.services.jruby.jruby_puppet_core$eval6346$create_jruby_instance__6347.invoke(jruby_puppet_core.clj:121)
      4. puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472$fn__6473.invoke(jruby_puppet_core.clj:222)
      5. puppetlabs.services.jruby.jruby_puppet_core$eval6471$prime_pools_BANG___6472.invoke(jruby_puppet_core.clj:210)
      6. puppetlabs.services.jruby.jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648$fn__6649.invoke(jruby_puppet_service.clj:29)
      6 frames
    3. puppetlabs.trapperkeeper
      internal$eval5789$fn__5801$G__5774__5818.invoke
      1. puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:246)
      2. puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:230)
      3. puppetlabs.trapperkeeper.internal$shutdown_service$reify__5853$service_fnk__5254__auto___positional$reify__5858.shutdown_on_error(internal.clj:285)
      4. puppetlabs.trapperkeeper.internal$eval5789$fn__5801$G__5775__5809.invoke(internal.clj:254)
      5. puppetlabs.trapperkeeper.internal$eval5789$fn__5801$G__5774__5818.invoke(internal.clj:254)
      5 frames
    4. Clojure
      core$partial$fn__4190.doInvoke
      1. clojure.core$apply.invoke(core.clj:619)
      2. clojure.core$partial$fn__4190.doInvoke(core.clj:2396)
      2 frames
    5. puppetlabs.services.jruby
      jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648.invoke
      1. puppetlabs.services.jruby.jruby_puppet_service$reify__6636$service_fnk__5254__auto___positional$reify__6647$fn__6648.invoke(jruby_puppet_service.clj:28)
      1 frame
    6. Clojure
      core$binding_conveyor_fn$fn__4107.invoke
      1. clojure.core$binding_conveyor_fn$fn__4107.invoke(core.clj:1836)
      1 frame