Red Hat Satellite Installation or upgrade fails with the exception (Puppet::Error: Cannot determine basic system flavour)

Solution Verified - Updated -

Issue

  • Installing or upgrading Red Hat Satellite server fails with the below error:

    Sep 20 15:42:06 satellite65.sysmgmt.lan systemd[1]: Starting puppetserver Service...
    Sep 20 15:42:27 satellite65.sysmgmt.lan puppetserver[13270]: Failed to load feature test for posix: can't find user for 0
    Sep 20 15:42:27 satellite65.sysmgmt.lan puppetserver[13270]: Cannot run on Microsoft Windows without the win32-process, win32-dir and win32-service gems: Win32API only supported on win32
    Sep 20 15:42:27 satellite65.sysmgmt.lan puppetserver[13270]: Puppet::Error: Cannot determine basic system flavour
    Sep 20 15:42:27 satellite65.sysmgmt.lan puppetserver[13270]: (root) at /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/feature/base.rb:40
    Sep 20 15:42:27 satellite65.sysmgmt.lan puppetserver[13270]: require at org/jruby/RubyKernel.java:1040
    
  • puppet service fails to start :

    [root@satellite ~]# systemctl start puppetserver.service -l
    Job for puppetserver.service failed because the control process exited with error code. See "systemctl status puppetserver.service" and "journalctl -xe" for 
    details.
    [root@satellite ~]# systemctl status puppetserver.service -l
    ● puppetserver.service - puppetserver Service
      Loaded: loaded (/usr/lib/systemd/system/puppetserver.service; disabled; vendor preset: disabled)
      Active: activating (start) since Fri 2018-03-02 18:27:50 IST; 7s ago
     Control: 13622 (bash)
      CGroup: /system.slice/puppetserver.service
              ├─13622 bash /opt/puppetlabs/server/apps/puppetserver/cli/apps/start
              ├─13629 /usr/bin/java -Xms2g -Xmx2g -XX:MaxPermSize=256m -Djava.security.egd=/dev/urandom -XX:OnOutOfMemoryError=kill -9 %p -cp 
    /opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar clojure.main -m puppetlabs.trapperkeeper.main --config 
    /etc/puppetlabs/puppetserver/conf.d --bootstrap-config 
    /etc/puppetlabs/puppetserver/services.d/,/opt/puppetlabs/server/apps/puppetserver/config/services.d/ --restart-file 
    /opt/puppetlabs/server/data/puppetserver/restartcounter
              └─13660 sleep 1
    
    Mar 02 18:27:50 satellite.redhat.com systemd[1]: Starting puppetserver Service...
    Mar 02 18:27:50 satellite.redhat.com puppetserver[13622]: OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
    

For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.

Environment

  • Red Hat Satellite/Capsule 6.x
  • puppet 4 and above

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