-
Notifications
You must be signed in to change notification settings - Fork 89
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_replication: terminology updates, "SLAVE" is deprecated #70
Comments
@klingac thanks for reporting the issue! |
cc @banyek |
I created a PR #71 |
Closed via #71 (merged). |
@klingac thanks for reporting the issue! I've just released community.mysql 1.1.2 containing the fix which tarbal is available here to download and use. The changes will also appear in the Ansible package patch release. How to install in manually, refer to this document If you have any issues related to the changes made by me in #71 , please use the previous release and let me know. Thanks! |
@Andersson007 thank you very much for your work here.
|
@klingac thanks for the feedback!
Thanks! |
Not to forget, I created the issue |
SUMMARY
Since terminology updates in MySQL(from version 8) and MariaDB(from version 10.5.1) expresions, that contain "SLAVE" are deprecated.
E.g.
SHOW SLAVE STATUS
is changing toSHOW REPLICA STATUS
.If we use PyMysql on the server side (only option for non-deprecated
pyhton3
), we get this errorThis makes us unable to use
mysql_replication
module with python3.Same problem is for modul modes
startslave
,stopslave
,resetslave
andresetslaveall
.ISSUE TYPE
COMPONENT NAME
mysql_replication
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Run playbook below against servers with e.g. Ubuntu 20.04 LTS with replicated MySQL. It will result to error.
EXPECTED RESULTS
We expect something like this (shortened output)
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: