colinmollenhour / mariadb-galera-swarm

MariaDb Galera Cluster container based on official mariadb image which can auto-bootstrap and recover cluster state.
https://hub.docker.com/r/colinmollenhour/mariadb-galera-swarm
Apache License 2.0
217 stars 102 forks source link

xtrabackup is missing #48

Closed jsenecal closed 6 years ago

jsenecal commented 6 years ago

Seems like the executable innobackupex is missing in the latest image.

2018-08-15 20:59:34 140531140695808 [Warning] WSREP: Gap in state sequence. Need state transfer.
2018-08-15 20:59:34 140528732927744 [Note] WSREP: Running: 'wsrep_sst_xtrabackup-v2 --role 'joiner' --address '10.0.4.226' --datadir '/var/lib/mysql/'   --parent '43'  '' ' WSREP_SST: [ERROR] innobackupex not in path: /usr/sbin:/sbin:/usr//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin (20180815 20:59:34.823)
2018-08-15 20:59:34 140528732927744 [ERROR] WSREP: Failed to read 'ready <addr>' from: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '10.0.4.226' --datadir '/var/lib/mysql/'   --parent '43'  ''   Read: '(null)'
2018-08-15 20:59:34 140528732927744 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '10.0.4.226' --datadir '/var/lib/mysql/'   --parent '43'  '' : 2 (No such file or directory)
2018-08-15 20:59:34 140531140695808 [ERROR] WSREP: Failed to prepare for 'xtrabackup-v2' SST. Unrecoverable.
2018-08-15 20:59:34 140531140695808 [ERROR] Aborting

Installing percona-xtrabackup fixes that issue.

jsenecal commented 6 years ago

Fixed by #49