Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.2.10
-
Debian 9.2
Description
Hello,
MariaDB is broken (again) on Debian.
10.2.6: broken libmariadb3
10.2.7: unreleased for Debian
10.2.8: broken libmariadb3
10.2.9: working
10.2.10: broken sst
What ever testing is done for Debian and branch 10.2, is simply not working. 10.2 is supposed to be a stable release, yet so far half of the releases for that branch on Debian aren't working.
Enough with the rant, on to the details:
- version 10.2.10, packages from MariaDB for Debian
- Debian 9.2
- apt-get upgrade fails. syslog shows:
Nov 2 10:25:38 : 2017-11-02 10:25:38 140222833100544 [Warning] WSREP: Gap in state sequence. Need state transfer. |
Nov 2 10:25:38 : 2017-11-02 10:25:38 140222452963072 [Note] WSREP: Running: 'wsrep_sst_xtrabackup-v2 --role 'joiner' --address '[redacted]' --datadir '/var/lib/mysql/' --parent '23336' '' ' |
Nov 2 10:25:38 : /usr//bin/wsrep_sst_xtrabackup-v2: line 646: WSREP_SST_OPT_PORT: unbound variable |
Nov 2 10:25:38 : 2017-11-02 10:25:38 140222452963072 [ERROR] WSREP: Failed to read 'ready <addr>' from: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '[redacted]' --datadir '/var/lib/mysql/' --parent '23336' '' |
Nov 2 10:25:38 : #011Read: '(null)' |
Nov 2 10:25:38 : 2017-11-02 10:25:38 140222452963072 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '[redacted]' --datadir '/var/lib/mysql/' --parent '23336' '' : 1 (Operation not permitted) |
Nov 2 10:25:38 : 2017-11-02 10:25:38 140222833100544 [ERROR] WSREP: Failed to prepare for 'xtrabackup-v2' SST. Unrecoverable. |
Nov 2 10:25:38 : 2017-11-02 10:25:38 140222833100544 [ERROR] Aborting |
Nov 2 10:25:46 : Error in my_thread_global_end(): 1 threads didn't exit |
Thank you
Implementing the workaround in https://jira.mariadb.org/browse/MDEV-14256, results in even more issues.
SST cannot start because it cannot properly set up the encryption for it:
it also showed a deprecated warning:
That's weird, taking a look into /usr/bin/wsrep_sst_xtrabackup-v2:
# Check to see that the key matches the cert
verify_cert_matches_key $ssl_cert $ssl_key
fi
OK, new way to do things. The "encrypt = 4" option is present in 10.2.9 but there is no deprecation warning, let's do it the new way then. Check the release notes. Nada. Check the changelog. Nada. Had to go to Percona's documentation to get the info. And since the documentation is missing, here's what you need to change in your configuration (just for future reference, I'm almost positive nobody else uses encrypted SST on this planet):
[sst]
Even with those changes, the wrong ssl version error still shows up, as shown above. I will restate that the only change performed on this node was updating MariaDB. All other nodes in the cluster are exactly up to the same point as this node, except the MariaDB update. Forcing a different node to perform an SST works as expected.