Skip to content

packaging: Install java-17-openjdk-headless or java-21-openjdk-headless - #14417

Draft
weizhouapache wants to merge 1 commit into
apache:4.22from
weizhouapache:24-packaging-openjdk-headless
Draft

weizhouapache wants to merge 1 commit into
apache:4.22from
weizhouapache:24-packaging-openjdk-headless

Conversation

@weizhouapache

@weizhouapache weizhouapache commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Description

This PR changes the RPM packaging (EL8+ and SUSE 15 spec files) to require java-17-openjdk-headless or java-21-openjdk-headless instead of java-17-openjdk or java-21-openjdk for the management server, agent and usage packages.

CloudStack only needs the headless JRE at runtime. The full java-*-openjdk package pulls in GUI/desktop dependencies (X11, fonts, etc.) that are not needed on servers and hypervisor hosts, so the headless package reduces the installed footprint.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 20.39%. Comparing base (d3f0700) to head (b37bde6).

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #14417      +/-   ##
============================================
- Coverage     20.39%   20.39%   -0.01%     
  Complexity    21283    21283              
============================================
  Files          6481     6481              
  Lines        588040   588040              
  Branches      72021    72021              
============================================
- Hits         119957   119954       -3     
- Misses       455052   455053       +1     
- Partials      13031    13033       +2     
Flag Coverage Δ
uitests 3.70% <ø> (ø)
unittests 21.70% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 19576

@vishesh92

Copy link
Copy Markdown
Member

@blueorangutan package

@weizhouapache changes looks good. should we rebase it against 4.22?

@blueorangutan

Copy link
Copy Markdown

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with@weizhouapache changes looks good. should we rebase it against 4.22? SystemVM template(s). I'll keep you posted as I make progress.

@weizhouapache

Copy link
Copy Markdown
Member Author

@weizhouapache changes looks good. should we rebase it against 4.22?

make sense, will do

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✖️ suse15. SL-JID 19582

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants