Skip to content

apache_tomcat: the role aborts on RHEL 10, where tomcat is Tomcat 10.1 #371

Description

@NavidSassan

Bug description

On RHEL 10 the tomcat package is Tomcat 10.1; Tomcat 9 is packaged as tomcat9 (Red Hat's "Considerations in adopting RHEL 10", appendix A.2). The role installs tomcat, tomcat-webapps and tomcat-admin-webapps and only ships templates for 9.0, so its version check (roles/apache_tomcat/tasks/main.yml:42) aborts the run on RHEL 10.

Steps to reproduce

  1. On Rocky Linux 10.2, run dnf repoquery --latest-limit 1 tomcat: tomcat-10.1.49.
  2. Deploy the role: the assert fails, because __apache_tomcat__supported_versions only lists 9.0.

Expected behavior

The role supports RHEL 10, either by installing the tomcat9* packages there or by shipping templates for 10.1. Tomcat 10.1 implements Jakarta EE 10 (jakarta.* namespace), so webapps built against javax.* do not run on it.

Environment

LFOps main, Rocky Linux 10.2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions