-
Notifications
You must be signed in to change notification settings - Fork 90
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
Module is unable to bootstrap a new XtraDB cluster #118
Comments
It seems to fail because Percona uses a 2nd systemd service
Because of this quirky approach, puppetlabs-mysql will not be able receive a success message when trying to start the service. |
I see this happening now as well, what is the way to make this work ? |
@Yamakasi Perform a manual bootstrap, according to the Percona XtraDB docs. |
I just want to advise, this behaviour exists on Ubuntu 18.04 with percona 5.7, on the first node only you need to run
then re-run puppet to ensure config items are finalised, then puppet will run on other nodes fine |
@anthonysomerset you don't need a re-run. Ubuntu is not ideal for this type of software because grabbing the password is far from ideal. |
Working solution for Centos7:
Manifest
Service override file
Please let me know what you think. |
I've addressed this issue in 243e7c3:
I've verified that this works on CentOS 7 and also added a simple acceptance test (tests for Debian/Ubuntu are planned too). The upcoming release 2.0.0 of this module will contain all fixes. |
Thanks a lot @fraenki |
Version 2.0.0 has just been released. It includes acceptance tests for Galera, XtraDB and MariaDB on all supported operating systems: |
The module is unable to bootstrap a new cluster if the data directory does not exist:
In this case,
mysql::server::installdb
notifiesClass['mysql::server::service']
... as soon asExec[bootstrap_galera_cluster]
does it's thing, it breaks.The text was updated successfully, but these errors were encountered: