[MDEV-9793] getting mysqld crypto key from key version failed Created: 2016-03-26 Updated: 2016-03-30 Resolved: 2016-03-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.1.13 |
| Fix Version/s: | 10.1.14 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Ramsay | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
win7x64 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
a server with encryption enabled fails to start. reverting to 10.1.12 works as expected. 10.1.13 error is reported in log file as:
I have tried multiple installs, both without removing previous version and also with clean installs. The same thing happens each time so does not appear to be transient. |
| Comments |
| Comment by Elena Stepanova [ 2016-03-27 ] | |||||
|
Please attach the full error log and your cnf file(s). | |||||
| Comment by Andrew Ramsay [ 2016-03-27 ] | |||||
|
apologies - now attached | |||||
| Comment by Elena Stepanova [ 2016-03-28 ] | |||||
|
Thanks.
Looks related to amramsay, how do you update the instance? Did you run the MSI? Or did you stop the server manually and switch the binaries? It's just to make sure there was no kill/recovery performed by an automatic update in the middle (although it's highly unlikely, given the narrow time interval). Still, might be a consequence or another representation of | |||||
| Comment by Andrew Ramsay [ 2016-03-28 ] | |||||
|
Without first stopping the existing instance, I ran the MSI which appeared to complete successfully. I then stop the running service to switch config and reinstate already existing data path, reset the service to point to new config, and restart - then I get the error. Doing exactly the same between 10.1.11 and 10.1.12 doesn't get the error. To go back to the previous version, I uninstalled 10.1.13 first. In all cases AFAIK there was no kill/recovery, of any kind, performed. | |||||
| Comment by Jan Lindström (Inactive) [ 2016-03-30 ] | |||||
|
Hi, no need for more information, I could repeat this with original test case for
| |||||
| Comment by Jan Lindström (Inactive) [ 2016-03-30 ] | |||||
|
commit 37a65e3335bd2dc28574b2f938d2a18b1b52f8cb Make sure that we read all possible encryption keys from checkpoint | |||||
| Comment by Jan Lindström (Inactive) [ 2016-03-30 ] | |||||
|
Rest of the bug is duplicate of | |||||
| Comment by Jan Lindström (Inactive) [ 2016-03-30 ] | |||||
|
I will close this bug report as there is a way to recover from this and actual bug is handled on |