Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-29340

OpenJDK 17 not detected correctly by the installer

XMLWordPrintable

    • Important
    • Yes

      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

      ~~~

              ehelms@redhat.com Eric Helms
              rhn-support-amiagarw Amit Agarwal
              Jameer Pathan Jameer Pathan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: