Seems like the scripts got broken and don't work even in 10.0.31, but sst-mariabackup works.
The following patch (taken from upstream) works for MariaDB 10.1.31. New nodes cannot join the galera cluster without this patch. diff --git a/scripts/wsrep_sst_xtrabackup-v2.sh b/scripts/wsrep_sst_xtrabackup-v2.sh index 64dd182..9104daf 100644 --- a/scripts/wsrep_sst_xtrabackup-v2.sh +++ b/scripts/wsrep_sst_xtrabackup-v2.sh @@ -644,7 +644,7 @@ wait_for_listen() for i in {1..300} do - LSOF_OUT=$(lsof -sTCP:LISTEN -i TCP:${PORT} -a -c nc -c socat -F c) + LSOF_OUT=$(lsof -sTCP:LISTEN -i TCP:${PORT} -a -c nc -c socat -F c 2> /dev/null || :) [ -n "${LSOF_OUT}" ] && break sleep 0.2 done
http://lists.askmonty.org/pipermail/commits/2018-February/012037.html
*** Bug 649902 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e3d747771e9672671db9031afa532da2002e3c commit a1e3d747771e9672671db9031afa532da2002e3c Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-03-09 01:03:32 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-03-09 01:03:32 +0000 dev-db/mariadb: Version bump for 10.2.13 Include fixes for xtradbackup-v2 sst and my_addr_resolve build failure Bug: https://bugs.gentoo.org/648216 Closes: https://bugs.gentoo.org/648474 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-db/mariadb/Manifest | 2 + dev-db/mariadb/mariadb-10.2.13.ebuild | 1008 +++++++++++++++++++++++++++++++++ 2 files changed, 1010 insertions(+)}
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc56a036496c38e299e0592f2cd4d86eeb83f298 commit fc56a036496c38e299e0592f2cd4d86eeb83f298 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-03-09 01:25:06 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-03-09 01:25:06 +0000 dev-db/mariadb: Revbump for xtrabackup-sst patch Upstream patch for MDEV-15254 Closes: https://bugs.gentoo.org/648216 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-db/mariadb/Manifest | 1 - dev-db/mariadb/{mariadb-10.1.31.ebuild => mariadb-10.1.31-r1.ebuild} | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-)
Thank you