Skip to content

Add support for 3.0.x repo#247

Open
Arakmar wants to merge 2 commits into
voxpupuli:masterfrom
Arakmar:master
Open

Add support for 3.0.x repo#247
Arakmar wants to merge 2 commits into
voxpupuli:masterfrom
Arakmar:master

Conversation

@Arakmar

@Arakmar Arakmar commented Oct 26, 2025

Copy link
Copy Markdown

Support for 3.0.x added for apt and yum repo
The default has been kept to 2.7.x for now

@bastelfreak

Copy link
Copy Markdown
Member

@Arakmar thanks for the PR! Can you add some tests for it that use the new repo?

@bastelfreak

Copy link
Copy Markdown
Member

@Arakmar ping :)

@bastelfreak bastelfreak added the enhancement New feature or request label Dec 13, 2025
@Arakmar Arakmar force-pushed the master branch 2 times, most recently from 1f16aed to ca3cc73 Compare January 2, 2026 21:02
During upgrade test, checking the admin socket file presence is not enough.
We need to wait it's really ready to accept connections.
The exec is splitted between the two cases :
- Initial run and no .my.cnf file, we build the full mysql cmd
- .my.cnf already exists, we use it
@Arakmar

Arakmar commented Jan 2, 2026

Copy link
Copy Markdown
Author

I added one acceptance test about the migration to 3.x.
It triggered some timing problems in case of upgrades (which wasn't tested before), no problem on first run. To fix that, I adjusted the admin socket check to be more reliable.

Also, there are no 3.x packages for Debian 11 and Redhat 8 in the proxysql repo.
I'm not really sure where github actions are getting the test matrix, from operatingsystem_support ?

lroehrs added a commit to ScaleCommerce/puppet-proxysql that referenced this pull request Apr 2, 2026
SC-specific changes:
- Use .my.proxysql.cnf instead of .my.cnf to avoid conflicts with
  MySQL on hosts running both MySQL and ProxySQL
- Remove Sensitive[String] password types and .unwrap calls for
  compatibility with existing Hiera data and Puppet 7 setups

Upstream PR voxpupuli#247 (not yet merged):
- Add ProxySQL 3.0.x repository support for APT and YUM
- Improve admin socket readiness check: use actual mysql SELECT 1
  query instead of just testing socket file existence
- Handle first-run (no .my.cnf) vs subsequent runs (with .my.cnf)

Document all SC customizations in README.
@bwitt

bwitt commented Apr 13, 2026

Copy link
Copy Markdown

Also, there are no 3.x packages for Debian 11 and Redhat 8 in the proxysql repo.
I'm not really sure where github actions are getting the test matrix, from operatingsystem_support ?

@Arakmar it's from metadata.json. See https://github.com/voxpupuli/puppet_metadata for more info.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants