Galera does not start due to using wrong xtrabackup version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Denis Meltsaykin |
Bug Description
Detailed bug description:
Fuel MU5 upgrade appears to work, but afterwards the mysql cluster isn't running.
Clone Set: clone_p_mysqld [p_mysqld]
show stopped nodes. There is no way to get the nodes to start.
Problem was diagnosed as having the wrong version of xtrabackup installed. The latest version of Galera uses SST v3 and so requires xtrabackup with SST v3 support (xtrabackup=2.3.7)
Reproducibility:
unknown
Workaround:
1. Run "pcs status" on a controller node and see which node(s) is stopped under "Clone Set: clone_p_mysqld [p_mysqld]". Call this nodeA
2. Update percona-xtrabackup on nodeA see:
apt-cache policy percona-xtrabackup
verify it will upgrade to percona-xtrabackup v2.3.7 and version is available. As long as version is available you can force an upgrade via "apt-get install percona-
3. Clean up mysql service on nodeA:
export OCF_ROOT=
export OCF_RESOURCE_
export OCF_RESKEY_
psc resource ban p_mysql [nodeA]
export OCF_RESOURCE_
export OCF_ROOT=
export OCF_RESKEY_
bash -x /usr/lib/
4. Check if mysql replicated ok (see fuel /var/log/
5. Find constraint of mysql on nodeA in pcs:
pcs constraint list --full
pcs clear p_mysqld [nodeA]
6. Check pcs status
pcs status
7. Upgrade percona-xtrabackup on other nodes by repeating steps above on other nodes
Impact:
mysql cluster doesn't work
Additional information:
Current theory is that mysql-wsrep respository has a dependency on xtrabackup, but the minimum version of xtrabackup either doesn't exist or is too low.
Changed in mos: | |
milestone: | none → 9.2-mu-7 |
assignee: | nobody → MOS Maintenance (mos-maintenance) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in mos: | |
assignee: | MOS Maintenance (mos-maintenance) → Oleksiy Molchanov (omolchanov) |
status: | Confirmed → In Progress |
Changed in mos: | |
assignee: | Oleksiy Molchanov (omolchanov) → Denis Meltsaykin (dmeltsaykin) |
Feel free to use MU6, it contains xtrabcakup version 2.3.7
https:/ /docs.mirantis. com/openstack/ fuel/fuel- 9.2/maintenance -updates/ published- updates/ maint-update- 6/updated- packages- 6.html