-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puppetserver returns "Function load error eyaml_lookup_key
" on puppet agent 8.7.0+
#9475
Comments
That error is coming from this line
For some reason
Additionally the version of the Are you sure you did a full restart of puppetserver (as opposed to reload)? Are you sure you installed puppet-agent from our repos? As opposed to Ubuntu/Debian repos? |
@joshcooper Thank for you the fast response! Also, thanks for those extra troubleshooting commands. I think I found the problem, and it seems there's an issue with external hiera-eyaml gem, v4.1.0, with puppet versions 8.7.0+. v8.6.0 (works with hiera-eyaml v4.1.0)
Upgrade to v8.7.0 (fails with hiera-eyaml v4.1.0)
Uninstall external hiera-eyaml v4.1.0.This fixes the issue.
Uninstall external hiera-eyaml v3.4.0It still works.
After removing all external installs of hiera-eyaml, we are now using the vendor_gem. That fixes the issue. It seems hiera-eyaml v4.1.0 was working until puppet agent 8.6.0, but fails on 8.7.0. We removed all external installs to use the vendor supplied gem to fix the issue. |
Hey, |
I cannot reproduce it: My test system is Ubuntu 22.04
The vanilla installation works:
But it still works after installing hiera-eyaml 4.1.0
it even works after restarting puppetserver:
any chance your umask isn't 0022 and the files, for example |
Another possibility is |
@mdechiaro you'll need to look closely at which gems are installed in JRuby. Recommend running these commands to try to narrow down the problem:
|
@joshcooper unfortunately I don't have time to troubleshoot this issue further. The fix for us was to use the vendor_gem version, and I am OK with closing this issue. Thanks for your help. |
Thanks @mdechiaro, I'll close this |
Describe the Bug
Puppetserver fails with
Function Load Error for function 'eyaml_lookup_key'
and produces error messages in the logs if puppet agent is upgraded to v8.7.0+. The latest version of puppet agent, v8.8.1, also produces this error.Downgrading puppet agent to v8.6.0 on system running puppetserver fixes the issue.
Expected Behavior
Hiera-eyaml shouldn't break when puppet agent is upgraded to 8.7.0+ on a system running puppetserver.
Steps to Reproduce
Steps to reproduce the behavior:
Function Load Error for function 'eyaml_lookup_key'
errors.Environment
Additional Context
Full error in puppetserver.log is below
The text was updated successfully, but these errors were encountered: