Puppet server fails to start on Satellite/Capsule 6.x with `NameError: cannot load Java class org.jruby.ext.psych.PsychLibrary` due to `fapolicyd` service being enabled

Solution Verified - Updated -

Issue

  • Not able to start puppet server in capsule server.
  • Start puppetserver fails with:

    Mar 06 15:50:48 satellite.example.com systemd[1]: Starting puppetserver Service...
    Mar 06 15:50:56 satellite.example.com puppetserver[1761305]: NameError: cannot load Java class org.jruby.ext.psych.PsychLibrary
    Mar 06 15:50:56 satellite.example.com puppetserver[1761305]:           load_ext at org/jruby/ext/jruby/JRubyUtilLibrary.java:201
    Mar 06 15:50:56 satellite.example.com puppetserver[1761305]:             <main> at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/psych.rb:7
    Mar 06 15:50:56 satellite.example.com puppetserver[1761305]:            require at org/jruby/RubyKernel.java:974
    Mar 06 15:50:56 satellite.example.com puppetserver[1761305]:            require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:83
    

Environment

  • Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content