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

Puppetserver intermittently fails to load ruby files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: SERVER 5.3.9
    • Fix Version/s: None
    • Component/s: Puppet Server
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Team:
      Froyo
    • Method Found:
      Customer Feedback
    • QA Risk Assessment:
      Needs Assessment

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              chughesvf Christopher Hughes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support