-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Labels
Description
Describe the Bug
The ruby version built into puppetserver doesn't work with EL8 systems:
HOST1 ~# puppetserver ruby --version
Execution error (UnsupportedClassVersionError) at java.lang.ClassLoader/defineClass1 (ClassLoader.java:-2).
com/puppetlabs/puppetserver/EnvironmentRegistry has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Expected Behavior
This is what it looked like on EL8 running puppetserver 7:
HOST2 ~# puppetserver ruby --version
jruby 9.3.4.0 (2.6.8) 2022-03-23 eff48c1ebf OpenJDK 64-Bit Server VM 25.412-b08 on 1.8.0_412-b08 +jit [x86_64-linux]
And, on the first host after downgrading to puppetserver-7.17.2-1:
HOST1 ~# puppetserver ruby --version
jruby 9.3.14.0 (2.6.8) 2024-02-20 0db23ddd14 OpenJDK 64-Bit Server VM 25.422-b05 on 1.8.0_422-b05 +jit [x86_64-linux]
Steps to Reproduce
yum localinstall https://yum.puppetlabs.com/puppet8/el/8/x86_64/puppetserver-8.6.2-1.el8.noarch.rpm
puppetserver ruby --version
Environment
- Version 8.6.2, 8.6.1
- Platform Alma Linux 8.10, 8.9