Skip to content

fix: Xtrabackup setup for EL10#510

Open
tffnychng wants to merge 4 commits intosous-chefs:mainfrom
tffnychng:backup-el10
Open

fix: Xtrabackup setup for EL10#510
tffnychng wants to merge 4 commits intosous-chefs:mainfrom
tffnychng:backup-el10

Conversation

@tffnychng
Copy link
Copy Markdown

  • enabled xtrabackup specific percona repo for el10

Description

Describe what this change achieves.

Issues Resolved

List any existing issues this PR resolves.

Check List

  • All commit messages follow Conventional Commits format
    • Required: This triggers our automated CHANGELOG and release pipeline (release-please)
    • Without conventional commits, your changes cannot be released
    • Examples: fix: resolve bug in resource, feat: add new property, docs: update README
  • New functionality includes testing
  • New functionality has been documented in the README if applicable

⚠️ Important: Automated Release Workflow

DO NOT manually edit these files:

  • metadata.rb version - Managed by release-please
  • CHANGELOG.md - Auto-generated from conventional commits
  • ❌ Version tags - Created automatically on release

The release process:

  1. Merge PR with conventional commits → release-please creates a release PR
  2. Merge release PR → automatic version bump, CHANGELOG update, and Supermarket publish
  3. Your changes are released! 🎉

Need help? See Conventional Commits guide

* enabled xtrabackup specific percona repo for el10

Signed-off-by: Tiffany Chang <tiffkc525@gmail.com>
Comment thread metadata.rb Outdated
supports 'debian'
supports 'redhat'
supports 'ubuntu'
supports 'almalinux'
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ramereth this was how I ended up testing with almalinux instances on openstack to get around my issues with dokken, I'll be removing this line after further testing but I wanted to point this out and ask if there's a better way to go about it since I'm not sure if this is good practice.

# ver = version.tr('.', '')
# describe package 'percona-server-devel' do
# it { should be_installed }
#end
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also a bit unsure if this test case is supposed to be here since devel packages aren't installed by default

Comment thread recipes/package_repo.rb
gpgcheck node['percona']['yum']['gpgcheck']
sslverify node['percona']['yum']['sslverify']
end
end
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I was wondering if the xtrabackup should only be enabled when the xtrabackup is package should be downloaded? The way I currently have it set up is that it's automatically enabled on any rhel os version over 10.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't follow, can you please elaborate?

Copy link
Copy Markdown
Author

@tffnychng tffnychng Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering if the xtrabackup repo should be enabled only when default['percona']['backup']['configure'] is true and disabled otherwise because that would be the only time this repo needs to be enabled.

@tffnychng tffnychng marked this pull request as ready for review March 10, 2026 19:44
@tffnychng tffnychng requested a review from a team as a code owner March 10, 2026 19:44
Copy link
Copy Markdown
Contributor

@ramereth ramereth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also please fix the markdown issues in the Changelog so the CI will run?

Comment on lines +83 to +86
# ver = version.tr('.', '')
# describe package 'percona-server-devel' do
# it { should be_installed }
# end
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented out?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mentioned this in an earlier comment but ['percona']['client']['install_devel_package'] is false by default so this test was failing, I just wanted to confirm if it should be removed before I took it out so I had it commented out for now.

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.

2 participants