The Puppet Server and Puppet Agent brought in a dependency on the
concurrent gem in versions 6.7.0 & 6.9.0 respectively (the server and agent
are unfortunately versioned slightly differently).

On the master, the Agent and the Server also share Ruby code. So if you
have a Server >= 6.7 with an Agent < 6.9 or vice versa, you may see the
error for that reason.

The Server should work with many versions of the Agent over the wire,
however it requires a similar versioned agent to itself colocated on the
same host. I would see what Agent version you're running and either
downgrade the Agent or upgrade the Server.

On Fri, Oct 11, 2019 at 8:55 AM Sander de Boer <[email protected]> wrote:

> After a crash of the server (Ubuntu 18.04) our puppetserver (6.2.1)
> process refuses to start with the message it can not find the
> file/directory "concurrent".
> It looks like this is a JRuby/Java problem.
>
> ...
> Oct  9 09:18:12 foreman puppetserver[32556]: LoadError: no such file to
> load -- concurrent
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> org/jruby/RubyKernel.java:970
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:59
> Oct  9 09:18:12 foreman puppetserver[32556]:            <main> at
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/thread_local.rb:1
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> org/jruby/RubyKernel.java:970
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:59
> Oct  9 09:18:12 foreman puppetserver[32556]:            <main> at
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:1
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> org/jruby/RubyKernel.java:970
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:59
> Oct  9 09:18:12 foreman puppetserver[32556]:   <module:(root)> at
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:1
> Oct  9 09:18:12 foreman puppetserver[32556]:            <main> at
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:1
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> org/jruby/RubyKernel.java:970
> Oct  9 09:18:12 foreman puppetserver[32556]:            Puppet at
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:41
> Oct  9 09:18:12 foreman puppetserver[32556]:            <main> at
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:38
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> org/jruby/RubyKernel.java:970
> Oct  9 09:18:12 foreman puppetserver[32556]:            (root) at
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
> Oct  9 09:18:12 foreman puppetserver[32556]:            <main> at
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:59
> Oct  9 09:18:12 foreman puppetserver[32556]:           require at
> org/jruby/RubyKernel.java:970
> Oct  9 09:18:12 foreman puppetserver[32556]:            (root) at
> uri:classloader:/puppetserver-lib/puppet/server.rb:1
> Oct  9 09:18:12 foreman puppetserver[32556]:            <main> at
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
> Oct  9 09:18:12 foreman puppetserver[32556]: Exception in thread "main"
> java.lang.IllegalStateException: There was a problem adding a JRubyInstance
> to the pool.
> ...
>
> Anyone any experience with this?
>
> Thanks in advance!
>
> Sander
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/3677619a-8bac-4ca0-811a-0a0ce73d2828%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/3677619a-8bac-4ca0-811a-0a0ce73d2828%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2B%3DBEqUP-SvfsNYwEgrh12v7T_rBhy09ANr4pKi0FLMQrJXWkQ%40mail.gmail.com.

Reply via email to