> On 8. Nov 2023, at 20:17, James Millsap <jmillsa...@gmail.com> wrote: > > Thank you very much for the reply! We are running these versions... > > puppetserver version: 5.3.11 > ruby 2.0.0p648 > psych (2.0.0) > hiera 3.12.0
That is super outdated Puppet version. Can you please check the puppetserver log file. There should be a ruby stack trace which might give you a better idea on what is broken. Did you update any module recently? > > On Wednesday, November 8, 2023 at 11:01:16 AM UTC-8 ben.ford wrote: >> Hey James! That error sounds like you have an out-of-date Psych YAML gem. >> >> What versions of Puppet, Ruby, Hiera, and Psych are you using? >> >> >> >> >>> On Nov 8, 2023, at 8:54 AM, James Millsap <jmill...@gmail.com <>> wrote: >>> >> >>> We have a fairly mature puppet instance along with foreman for >>> classification. For some reason, yesterday, everything started failing >>> with this error: >>> >>> Info: Using environment 'production' >>> Info: Retrieving pluginfacts >>> Info: Retrieving plugin >>> Info: Loading facts >>> Error: Could not retrieve catalog from remote server: Error 500 on SERVER: >>> Server Error: Evaluation Error: Error while evaluating a Function Call, >>> undefined method `safe_load' for Puppet::Util::Yaml:Module (file: >>> /etc/puppetlabs/code/environments/production/manifests/site.pp, line: 3, >>> column: 1) on node hostname.company.com <http://hostname.company.com/> >>> Warning: Not using cache on failed catalog >>> Error: Could not retrieve catalog; skipping run >>> >>> Line 3 of the site.pp is just this: >>> hiera_include('classes', '') >>> >>> Which has not changed in many years. There is either a bug that appeared >>> from nowhere, or a syntax error buried somewhere. I have been going >>> through our repository and rolling back every yaml change, but so far >>> nothing has worked. If anyone has a clever way to get puppet to give me >>> some more information so I can find this, I would be eternally grateful. >>> >> >>> -- >>> 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 puppet-users...@googlegroups.com <>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/puppet-users/cb051ca4-92a5-43c7-a7d0-9e8942b0af73n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/puppet-users/cb051ca4-92a5-43c7-a7d0-9e8942b0af73n%40googlegroups.com?utm_medium=email&utm_source=footer>. >>> >>> >>> CAUTION: This email originated from outside of the organization. Do not >>> click on links or open attachments unless you recognize the sender and know >>> the content is safe. >>> >> >> >> This e-mail may contain information that is privileged or confidential. If >> you are not the intended recipient, please delete the e-mail and any >> attachments and notify us immediately. >> >> > > > -- > 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 puppet-users+unsubscr...@googlegroups.com > <mailto:puppet-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/bf1b9d65-aa35-4f09-a445-6e0bce2ede12n%40googlegroups.com > > <https://groups.google.com/d/msgid/puppet-users/bf1b9d65-aa35-4f09-a445-6e0bce2ede12n%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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/996DFD14-F7C1-446E-A64A-01435AF758C9%40gmail.com.