[MDEV-4132] MariaDB Galera mysqldump fails to produce error messages, rsync_wan does not exist Created: 2013-02-04 Updated: 2013-11-26 Resolved: 2013-11-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.28a-galera |
| Fix Version/s: | 5.5.34-galera |
| Type: | Bug | Priority: | Minor |
| Reporter: | Tomas Gustavsson | Assignee: | Seppo Jaakola |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera | ||
| Environment: |
Ubuntu 12.04, repository install |
||
| Attachments: |
|
||||||||||
| Sub-Tasks: |
|
| Description |
|
Following the instructions on: The mysqldump SST Script does not seem to work by default. I get an "no such file or directory" error. The script has a number of lines where it attempts to use a function 'err', only the function isn't defined in the script:
rsync_wan as described does not exist. But rsync works fine. |
| Comments |
| Comment by Elena Stepanova [ 2013-02-04 ] |
|
Hi Tomas, Could you please provide the full error log from the node where you are getting "no such file" error? Thanks. |
| Comment by Tomas Gustavsson [ 2013-02-04 ] |
|
Attaching two files. node0.txt is from the first nodein the cluster, i.e. the one started with gcomm:// node1.txt is the second node that I start trying to connect to the first node, i.e. started with gcomm://192.168.1222.192 |
| Comment by Elena Stepanova [ 2013-02-04 ] |
|
This is a bad error message. What in fact happens is that you don't have wsrep_sst_auth in your configuration (see http://www.codership.com/wiki/doku.php?id=mysql_options_0.8), so your wsrep_sst_mysqldump gets an empty user name, as we can see in the log: Try 1/3: 'wsrep_sst_mysqldump --user '' --password '' ... It is supposed to throw a nice message "USER cannot be nil", only it doesn't work. It needs to be fixed in the script. Meanwhile, if you want to use mysqldump, you can try to configure it and see where it gets you (there might be more wrong error messages on the way). |
| Comment by Elena Stepanova [ 2013-02-04 ] |
|
Updated the description with examples of not working error messages. |
| Comment by Tomas Gustavsson [ 2013-02-04 ] |
|
Ok after fiddling a lot with grant's I managed to get mysqldump state transfer to work. The only setting needed was the wsrep_sst_auth as you said. No other problems encountered, except that it only says "operation not permitted" in the error instead of "host 'galera1' is not permissed to connect to this MariaDB", which was the real error message. |
| Comment by Elena Stepanova [ 2013-03-01 ] |
|
The part about rsync_wan is extracted into a subtask, the main task stays with the bad error messages in mysqldump. |
| Comment by Nirbhay Choubey (Inactive) [ 2013-11-26 ] |
|
This issue has already been fixed :
|