Skip to content

(CAT-2124) Add support for Ubuntu 24 - #1002

Merged
imaqsood merged 4 commits into
mainfrom
CAT-2124
Nov 25, 2026
Merged

imaqsood merged 4 commits into
mainfrom
CAT-2124

Conversation

@skyamgarp

@skyamgarp skyamgarp commented Nov 6, 2024 •

Copy link
Copy Markdown
Contributor

Summary

Adds Ubuntu 24.04 (Noble) to the supported operating systems in metadata.json.

Rebased onto current main. The earlier .fixtures.yml change (pinning puppet_agent to v4.21.0) was dropped, because main now uses an unpinned puppet_agent fixture.

Additional Context

  • Root cause and the steps to reproduce. (If applicable) N/A, this is a new platform support addition.
  • Thought process behind the implementation: Ubuntu 24.04 uses the same Docker apt repository and systemd service handling as 22.04, so only the supported-OS metadata needs to change. Spec and acceptance results will confirm this.

Related Issues (if any)

CAT-2124

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@jst-cyr

jst-cyr commented Jun 30, 2026

Copy link
Copy Markdown
Member

@skyamgarp : I noticed this draft of a PR to add Ubuntu 24 support. It doesn't seem like it got completed. Is there something we need before we can move forward again with this?

@jst-cyr jst-cyr linked an issue Jun 30, 2026 that may be closed by this pull request
@mpdude

mpdude commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

@jst-cyr While you're at it, do you think Ubuntu 26 support would be feasible as well?

@jst-cyr

jst-cyr commented Nov 18, 2026

Copy link
Copy Markdown
Member

@jst-cyr While you're at it, do you think Ubuntu 26 support would be feasible as well?

@mpdude : Ubuntu 26.04 support is planned for our modules eventually, but is not currently on the short-term backlog. We're still digging through things like Ubuntu 24 at the moment (for this module, at least). There are a few modules that have gotten to the point of catching up and have Ubuntu 26 support PRs, but we haven't done one for this module yet. Feel free to open one, though, and I'll make sure it gets into the queue!

skyamgarp and others added 3 commits November 23, 2026 10:27
The provision service returns HTTP 500 for the ubuntu-2404-lts VM image,
which fails every Ubuntu 24.04 acceptance job before any test runs.
Exclude ubuntu-24.04 from the provision_service job and add a separate
job that provisions it with litmusimage/ubuntu:24.04 via docker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…provisioner"

Docker-in-docker is not usable for this module's acceptance tests, so
restore the provision_service workflow configuration.

This reverts commit 0ae766a.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The before(:suite) hook ran `apt-get purge -y container-tools`
unconditionally in CI. On Ubuntu 24.04 the package does not exist, so apt
exits non-zero ("Unable to locate package") and the whole suite aborts
before any example runs, even though the host is already in the desired
state.

Only purge when the package is installed, so the step is a no-op where
it is absent. A genuine purge failure still fails the run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jst-cyr

jst-cyr commented Nov 23, 2026

Copy link
Copy Markdown
Member

@skyamgarp : I did some investigating into the failure and it looks like a purge for the container-tools package is failing because the container-tools package isn't on our Ubuntu 24.04 runners. I'm adding some checks on that purge line so that it doesn't fail in that scenario, since what we want is for the package not to be there and it is correctly not there.

Going to rerun the tests and see if this resolves the issue.

@jst-cyr
jst-cyr marked this pull request as ready for review November 23, 2026 18:53
@jst-cyr
jst-cyr requested a review from a team as a code owner November 23, 2026 18:53
@jst-cyr

jst-cyr commented Nov 23, 2026

Copy link
Copy Markdown
Member

✅ Acceptance Test Results: https://github.com/puppetlabs/puppetlabs-docker/actions/runs/45236245850?pr=1002

Green across the board, including both Ubuntu 24.04 runs. The tests are showing that the fix for the container-tools package purge resolved the issue in the test setup, so we now have passing acceptance tests for Ubuntu 24.04.

@imaqsood
imaqsood merged commit a719ac2 into main Nov 25, 2026
26 checks passed
@imaqsood
imaqsood deleted the CAT-2124 branch November 25, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Ubuntu 24.04 LTS

4 participants