[MDEV-7752] There is no bootstrap command option for MariaDB Galera Cluster in CentOS 7 Created: 2015-03-11 Updated: 2015-11-20 Resolved: 2015-11-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements, Galera |
| Affects Version/s: | 10.0.16-galera |
| Fix Version/s: | 10.1.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Shahriyar Rzayev | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | systemd, verified | ||
| Environment: |
CentOS 7 |
||
| Issue Links: |
|
||||||||||||||||
| Description |
|
After installing MariaDB Galera from YUM repo, could not find bootstrap command option for starting cluster:
As with PXC:
|
| Comments |
| Comment by Sergei Golubchik [ 2015-03-11 ] | ||||||||||||||||||||||||||||||
|
Did you install mariadb from yum.mariadb.org or from the CentOS 7 repository? | ||||||||||||||||||||||||||||||
| Comment by Shahriyar Rzayev [ 2015-03-11 ] | ||||||||||||||||||||||||||||||
|
I have installed it from CentOS 7 repo:
| ||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-03-12 ] | ||||||||||||||||||||||||||||||
|
There is still /etc/init.d/mysql bootstrap As I understand, MariaDB doesn't actually install a unit file, apparently it's some default magic that allows to start/stop the service with systemctl, and this magic only covers basic operations like start/stop. Assigned to serg for now, in case we want to do something about it in the server package as well. If it's only Galera cluster that needs the service, please reassign. | ||||||||||||||||||||||||||||||
| Comment by Shahriyar Rzayev [ 2015-03-12 ] | ||||||||||||||||||||||||||||||
|
As a workaround use:
Because it is still supported for backward compatibility, but surely it will be removed with upcoming releases. | ||||||||||||||||||||||||||||||
| Comment by Shahriyar Rzayev [ 2015-03-13 ] | ||||||||||||||||||||||||||||||
|
Also must note that,
But in fact it is up and running:
| ||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-05-12 ] | ||||||||||||||||||||||||||||||
|
Should adding "_SYSTEMCTL_SKIP_REDIRECT=true" in init script be a potential solution? https://github.com/codership/mysql-wsrep/commit/a0ba0d7e176551c7e13daa2ef8974d8aade2dfc7.patch | ||||||||||||||||||||||||||||||
| Comment by sirotopr [ 2015-10-17 ] | ||||||||||||||||||||||||||||||
|
I'm facing the same bug with Debian packages for version 10.0.21 from MariaDB repo. It gets a bit worse because
fails silently. Unlike systemctl, there is no error output. Thus the user might think, as I did, that everything is going fine. | ||||||||||||||||||||||||||||||
| Comment by Sven Lankes [ 2015-10-21 ] | ||||||||||||||||||||||||||||||
|
As a workaround this works for me:
| ||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2015-10-30 ] | ||||||||||||||||||||||||||||||
|
So | ||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-10-30 ] | ||||||||||||||||||||||||||||||
|
danblack : | ||||||||||||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2015-11-20 ] | ||||||||||||||||||||||||||||||
|
In 10.0.22-galera, any of the following commands can be used to bootstrap :
|