-
Notifications
You must be signed in to change notification settings - Fork 88
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
No replication support for Mariadb < 10.5.1 #335
Comments
It seems #252 has broken mariadb versions < 10.5.1 support. Mariadb versions 10.2, 10.3 and 10.4 had releases this year, so IMHO they should be supported. |
@kzinas-adv @nerijus hello, thanks for reporting this! |
i submitted a PR #336. @nerijus @kzinas-adv could you please add the lines i added in plugins/modules/mysql_replication.py and check, it would be great (we have testing against mariadb 10.3 but anyway). |
Yes checked now it works with MariaDB-server-10.4.24-1.el8.x86_64. |
@kzinas-adv thanks for checking! So once @rsicart reviews the code, we'll merge the PR and will backport and release |
Thanks everyone for your contribution! We'll release |
SUMMARY
You cannot set replication for older MariaDB releases using recent community.mysql (> 3.0.x).
with mysql_replication module using both slave_pos or replica_pos
ISSUE TYPE
COMPONENT NAME
mysql_replication
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Fedora release 35 (Thirty Five)
STEPS TO REPRODUCE
Set replication with mysql_replication module for Mariadb prior to 10.5.1 (which still does not support replica_pos)
EXPECTED RESULTS
Successfully set replication config
ACTUAL RESULTS
If I use slave_pos:
If I use replica_pos:
The text was updated successfully, but these errors were encountered: