[MDEV-14255] Broken SST on Debian in 10.2.10 Created: 2017-11-02 Updated: 2019-12-09 Resolved: 2019-12-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, wsrep |
| Affects Version/s: | 10.2.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | DEZILLIUM LIMITED | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Incomplete | Votes: | 3 |
| Labels: | galera, need_feedback | ||
| Environment: |
Debian 9.2 |
||
| Description |
|
Hello, MariaDB is broken (again) on Debian. 10.2.6: broken libmariadb3 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:
Thank you |
| Comments |
| Comment by DEZILLIUM LIMITED [ 2017-11-02 ] | ||||||||||||||||||||||||||||||
|
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:
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):
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. | ||||||||||||||||||||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2017-11-28 ] | ||||||||||||||||||||||||||||||
|
I cannot reproduce error in 'routines:ssl3_get_record:wrong version number' on jessie with 10.2.10 when generating certificates like in https://github.com/AndriiNikitin/mariadb-environs/blob/master/_plugin/configure/m-all/configure_ssl.sh - maybe it is some problem with your SSL certificates? Both encrypt=3 and encrypt=4 does work in tests I tried with mentioned fix from Could you confirm exact algorithm or commands used while creating certificates or provide non-sensitive output of command like: If you wish I can share full exact commands used to generate docker image(s), so you may spot eventual difference. | ||||||||||||||||||||||||||||||
| Comment by Andrii Nikitin (Inactive) [ 2017-11-28 ] | ||||||||||||||||||||||||||||||
|
Tried in debian stretch 9.2 as well - both encrypt=3 and encrypt=4 work as expected. | ||||||||||||||||||||||||||||||
| Comment by DEZILLIUM LIMITED [ 2017-12-21 ] | ||||||||||||||||||||||||||||||
|
Revisiting this since after another server was brought to 10.2.10, that server dropped off the cluster with the wrong ssl version error. openssl version openssl x509 -inform pem -in client-cert.pem -noout -text | ||||||||||||||||||||||||||||||
| Comment by Zdravelina Sokolovska (Inactive) [ 2018-02-12 ] | ||||||||||||||||||||||||||||||
|
the used Environment:Debian 9.2 is obsoleted by Debian 9.3 | ||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2019-12-04 ] | ||||||||||||||||||||||||||||||
|
Does this problem exists on more recent version of 10.2 e.g. on 10.2.29 ? |