[MDEV-10464] Unable to start bootstrap mode in Ubuntu 14.04.4 LTS & MariaDB 10.1.16 Created: 2016-07-29 Updated: 2019-05-21 Resolved: 2019-05-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.1.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Iñigo Martinez | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
After upgrading our Ubuntu 14.04.2 and MariaDB 10.1.5 to latest version available, we cannot start in bootstrap mode anymore. (14.04.4 LTS and MariaDB 10.1.16). We have temporary fixed by adding manually wsrep-new-cluster to my.cnf file, but this is not the proper way. T |
| Comments |
| Comment by Nirbhay Choubey (Inactive) [ 2016-07-29 ] |
|
inigoml What command(s) did you try to execute in order to bootstrap the cluster node? |
| Comment by Iñigo Martinez [ 2016-07-29 ] |
|
service mysql bootstrap Same command we used since we installed the server. Of course, second node is shutdown. Since init.d script has not changed we think this problem is due to a change at "service" command behaviour at Ubuntu. Now it doesn't accept parameters. I cannot share logs because currently I don't have access to database server but I have found this problem in two server cluster upgraded to Ubuntu 14.04.4 LTS. |
| Comment by Iñigo Martinez [ 2016-08-01 ] |
|
By the way, I've verified that galera_new_cluster script exists. However, this script is only valid for linux distributions using systemd (for example Ubuntu 16.04 LTS), but Ubuntu 14.04 DOES NOT USE systemd. |
| Comment by Iñigo Martinez [ 2016-08-01 ] |
|
It's an initclt problem. Start is never executed by /etc/init.d/mysql script and is run by initctl start command that not passes --wsrep-new-cluster parameter. WORKAROUND: Delete or rename /etc/init/mysql.conf |