[MDEV-9007] [PATCH] Bootstrap does not work in CentOS start script Created: 2015-10-24 Updated: 2015-12-31 Resolved: 2015-11-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.1.8 |
| Fix Version/s: | 10.1.9 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Michaël de groot | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch, systemd | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.1.9-1 | ||||||||
| Description |
|
Hi everybody, In the Centos7 start script there is no way to bootstrap a new cluster. Cheers, Config:
|
| Comments |
| Comment by Elena Stepanova [ 2015-10-25 ] | |||
|
michaeldg, I assume it was about 10.1.8? service redirects the job to systemctl, and our systemd service does not have a bootstrap option, so apparently it's just ignored. To bootstrap a cluster via systemctl, one can do the following
svoj, danblack, any ideas what we should do? Remove 'bootstrap' from the init script, to avoid confusion? | |||
| Comment by Michaël de groot [ 2015-10-25 ] | |||
|
Cheers, it was indeed about 10.1.8. Perhaps the init script can set these environments before it redirects? | |||
| Comment by Daniel Black [ 2015-10-25 ] | |||
|
> any ideas what we should do? yes > Remove 'bootstrap' from the init script, to avoid confusion? Like the planned mariadb@bootstrap, make a service mariadb bootstrap error out and inform the user to use a galera_new_cluster (to be added) script. | |||
| Comment by Daniel Black [ 2015-10-25 ] | |||
|
sudo service mysql bootstrap Please use galera_new_cluster to start the mariadb service [FAILED]srep-new-cluster | |||
| Comment by Daniel Black [ 2015-10-26 ] | |||
|
nirbhay_c you where going to look at this before the GA release? Still interested? | |||
| Comment by Nirbhay Choubey (Inactive) [ 2015-10-27 ] | |||
|
danblack Yes, I can take care of this. | |||
| Comment by alex zver [ 2015-12-31 ] | |||
|
This is an issue with MariaDB-server-10.1.10-1.el7.centos.x86_64. | |||
| Comment by Nirbhay Choubey (Inactive) [ 2015-12-31 ] | |||
|
As noted in the following link use galera_new_cluster instead. |