Skip to content

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

Open
skyamgarp wants to merge 1 commit into
mainfrom
CAT-2124
Open

skyamgarp wants to merge 1 commit into
mainfrom
CAT-2124

Conversation

@skyamgarp

Copy link
Copy Markdown
Contributor

Summary

Provide a detailed description of all the changes present in this pull request.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

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

@Tonguechaude

Copy link
Copy Markdown

@skyamgarp, @bastelfreak, @alexjfisher can we have some news?

When this PR was done the puppet-agent on Ubuntu 24.04 was not ready. What about now?

@Dan33l

Dan33l commented Jul 2, 2025 •

Copy link
Copy Markdown

@skyamgarp skyamgarp Can we have some news ?

After a quick review of code , it looks that only ruby driver should be updated. As possible diff :

 diff --git a/manifests/params.pp b/manifests/params.pp
index c53c4f6..2c6fe50 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -214,15 +214,8 @@ class mysql::params {
       }
 
       $ruby_package_name   =  $facts['os']['release']['major']  ? {
-        '9'     => 'ruby-mysql2', # stretch
-        '10'    => 'ruby-mysql2', # buster
-        '11'    => 'ruby-mysql2', # bullseye
-        '12'    => 'ruby-mysql2', # bookworm
         '16.04' => 'ruby-mysql', # xenial
-        '18.04' => 'ruby-mysql2', # bionic
-        '20.04' => 'ruby-mysql2', # focal
-        '22.04' => 'ruby-mysql2', # jammy
-        default => 'libmysql-ruby',
+        default => 'ruby-mysql2',
       }
     }

We are also impacted by this bug because systemd version is 255 with Ubuntu 24.04 :
https://jira.mariadb.org/browse/MDEV-35904

A fix can be to add a drop-in systemd file with content:

[Service]
Environment="MYSQLD_OPTS="
Environment="_WSREP_NEW_CLUSTER="

@jst-cyr

jst-cyr commented Oct 5, 2026

Copy link
Copy Markdown
Member

Rebasing and triggering off tests again to see if Ubuntu 24.04 tests pass.

@jst-cyr

jst-cyr commented Oct 5, 2026

Copy link
Copy Markdown
Member

ACCEPTANCE TEST RESULTS: https://github.com/puppetlabs/puppetlabs-mysql/actions/runs/37357646093

With the latest, the tests pass on Ubuntu 24.04, and only have failures on Debian 11, which also fail on nightly tests in main (so doesn't seem introduced by this PR).

I'm moving this to ready for review.

@jst-cyr
jst-cyr marked this pull request as ready for review October 5, 2026 19:05
@jst-cyr
jst-cyr requested review from a team, alexjfisher and bastelfreak as code owners October 5, 2026 19:05

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants