Bug description
The role picks the Java package by Solr major version (roles/apache_solr/vars/main.yml): Solr 9 maps to java-17-openjdk-headless. RHEL 10 ships no OpenJDK 17 (21 is the default, 25 is available), so installing Solr 9, the version the README example uses, fails on RHEL 10. Solr 10 maps to java-21-openjdk-headless and is unaffected.
Steps to reproduce
- On Rocky Linux 10.2 with EPEL 10, run
dnf repoquery --whatprovides java-17-openjdk-headless: nothing.
- Deploy the role with
apache_solr__version: '9.4.0': the Java install task fails.
Expected behavior
On RHEL 10 the role installs a Java that the distribution ships and Solr 9 supports, or aborts with a clear message, as keycloak does for Keycloak 24 (#368).
Environment
LFOps main, Rocky Linux 10.2.
Bug description
The role picks the Java package by Solr major version (
roles/apache_solr/vars/main.yml): Solr 9 maps tojava-17-openjdk-headless. RHEL 10 ships no OpenJDK 17 (21 is the default, 25 is available), so installing Solr 9, the version the README example uses, fails on RHEL 10. Solr 10 maps tojava-21-openjdk-headlessand is unaffected.Steps to reproduce
dnf repoquery --whatprovides java-17-openjdk-headless: nothing.apache_solr__version: '9.4.0': the Java install task fails.Expected behavior
On RHEL 10 the role installs a Java that the distribution ships and Solr 9 supports, or aborts with a clear message, as
keycloakdoes for Keycloak 24 (#368).Environment
LFOps main, Rocky Linux 10.2.