Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-3013

Puppetserver intermittently fails to load ruby files



    • Bug
    • Status: Accepted
    • Normal
    • Resolution: Unresolved
    • SERVER 5.3.9
    • None
    • Puppet Server
    • PUP Bug Template
    • Froyo
    • Customer Feedback
    • Needs Assessment


      Puppet Version: 6.18.0
      Puppet Server Version: 5.3
      OS Name/Version: Windows Server 2012 R2


      We get the following error randomly across our windows nodes in our puppet environment. We have 4 different node types which interface with different custom puppet manifests however all of them seem to have this issue pop up occasionally. 

      Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Could not autoload puppet/type/dsc: Could not autoload puppet/provider/base_dsc_lite/powershell: no such file to load -- ruby-pwsh  

      After changing the libdir to /opt/puppetlabs/puppet/cache/lib it does not occur on the pupperserver restart.


      Desired Behavior:

      The library is present, so puppetserver should load it at all times.

      Actual Behavior:


      In 24 hours, out of the 56, 4 events occurred from 2 servers, so correlating it to any particular catalogue is impossible given we have ~630 nodes checking in every 30 minutes for similar node configurations.


        1. image-2021-05-12-10-09-55-969.png
          33 kB
          Jarret Lavallee
        2. puppetserver.log
          1.93 MB
          David Pavlotzky
        3. screenshot-1.png
          44 kB
          Christopher Hughes
        4. screenshot-2.png
          34 kB
          Christopher Hughes

        Issue Links



              Unassigned Unassigned
              chughesvf Christopher Hughes
              0 Vote for this issue
              4 Start watching this issue



                Zendesk Support