Skip to content

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

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

(CAT-2124) Add support for Ubuntu 24#1655
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="

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.

3 participants