-
Notifications
You must be signed in to change notification settings - Fork 794
MySQL 8.0: Grant required privileges to xtrabackup user #1478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQL 8.0: Grant required privileges to xtrabackup user #1478
Conversation
mysql::backup::xtrabackup is a classthat may have no external impact to Forge modules. This module is declared in 140 of 579 indexed public
|
815a2a6
to
b3ff102
Compare
1b1a11a
to
6054c24
Compare
Hey @jan-win1993, this looks like a solid change 👍. However, some issues need to be addressed before it can be merged. Firstly, it seems like our unit testing is not happy about some minor lint offences: And on the other hand, there seems to be two failures popping up across all OS: If you can take a look at those issues and make the appropriate changes to fix them, we will be happy to merge this PR. P.D. Do not worry about the SLES-15 OS failure as that issue has been going for a while and its unrelated to your changes. |
6054c24
to
6f320fa
Compare
Hey @LukasAud , |
Happy to see some activity on this PR. Apart from the current issue, there also seem to be conflicts between the PR and main. This is probably due to some recent merged PRs/bugfixes. @jan-win1993 whenever you have a moment, can you make sure your branch is up-to-date? That should make the merge process faster 👍 |
Hi @jan-win1993. It seems like this PR has been stale for a bit already. We are doing some clean-up around the modules to close unattended PRs. Please let us know if you are still interested in finishing this PR. Otherwise we will end up closing it soon. Also, if you decide to continue working on this, be aware that you will most likely need to rebase and resolve conflicts. Best of luck! |
Hi @LukasAud sorry for the late reply, I've made a new merge request. |
6f320fa
to
80af363
Compare
80af363
to
f4e690b
Compare
Hi @LukasAud. My new solution did not work with Puppet Agent 6, because the Facter::Core::Execution.with_env ist function only available with Puppet Agent 7. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks for your contribution, @jan-win1993. Great job. |
Since MySQL version 8.0 the backup user needs the following additional privileges:
https://docs.percona.com/percona-xtrabackup/latest/using_xtrabackup/privileges.html