-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.16.0
Running satellite-installer on Satellite 6.16 get the following Info that 'Java 0' is detect, but it is actually already running jre-17, which the debug output also showed:
****************
2024-11-10 11:24:20 [DEBUG ] [root] Executing: puppetserver --version
2024-11-10 11:24:20 [DEBUG ] [root] puppetserver version: 8.6.2
2024-11-10 11:24:20 [DEBUG ] [pre] Found Puppetserver 8
2024-11-10 11:24:20 [DEBUG ] [root] Executing: source /etc/sysconfig/puppetserver ; $JAVA_BIN -version
2024-11-10 11:24:20 [DEBUG ] [root] openjdk version "17.0.13" 2024-10-15 LTS
2024-11-10 11:24:20 [DEBUG ] [root] OpenJDK Runtime Environment (Red_Hat-17.0.13.0.11-1) (build 17.0.13+11-LTS)
2024-11-10 11:24:20 [DEBUG ] [root] OpenJDK 64-Bit Server VM (Red_Hat-17.0.13.0.11-1) (build 17.0.13+11-LTS, mixed mode, sharing)
2024-11-10 11:24:20 [INFO ] [pre] Detected Java 0 which is too old for Puppetserver 8 2024-11-10 11:24:20 [DEBUG ] [pre] Getting running services
*******************
Reproducer is to add the following line to /etc/sysconfig/puppetserver ->
~~~
JAVA_BIN=/usr/lib/jvm/jre-17/bin/java
~~~
- depends on
-
SAT-29422 Fixes #38012 - Handle Java versions newer than 8 by ekohl · Pull Request #994 · theforeman/foreman-installer · GitHub
- Closed