wsrep_sst_xtrabackup script bug

Bug #1085859 reported by marsxu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Fix Committed
Undecided
Unassigned
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Incomplete
Undecided
Unassigned

Bug Description

OS:redhat 5.7 x64
PXC: Percona-XtraDB-Cluster-server-5.5.28-23.7.369.rhel5

  SST log report:
121203 17:55:11 [Note] WSREP: Node 0 (data_node176) requested state transfer from '*any*'. Selected 1 (data_node175)(SYNCED) as donor.
121203 17:55:11 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 43112)
121203 17:55:11 [Note] WSREP: Running: 'wsrep_sst_xtrabackup --role 'donor' --address '10.11.157.176:5020/xtrabackup_sst' --auth 'dba:dba' --socket '/DATA/data_node/mysql5000.sock' --datadir '/DATA/data_node/' --defaults-file '/DATA/cnf_node/my5000.cnf' --gtid 'ad0ed784-18f0-11e2-0800-a1252f7bb2ca:43112''
121203 17:55:11 [Note] WSREP: sst_donor_thread signaled with 0
WSREP_SST: [ERROR] innobackupex finished with error: 13. Check /DATA/data_node//innobackup.backup.log (20121203 17:55:18.037)
121203 17:55:18 [ERROR] WSREP: Failed to read from: wsrep_sst_xtrabackup --role 'donor' --address '10.11.157.176:5020/xtrabackup_sst' --auth 'dba:dba' --socket '/DATA/data_node/mysql5000.sock' --datadir '/DATA/data_node/' --defaults-file '/DATA/cnf_node/my5000.cnf' --gtid 'ad0ed784-18f0-11e2-0800-a1252f7bb2ca:43112'
121203 17:55:18 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup --role 'donor' --address '10.11.157.176:5020/xtrabackup_sst' --auth 'dba:dba' --socket '/DATA/data_node/mysql5000.sock' --datadir '/DATA/data_node/' --defaults-file '/DATA/cnf_node/my5000.cnf' --gtid 'ad0ed784-18f0-11e2-0800-a1252f7bb2ca:43112': 22 (Invalid argument)
121203 17:55:18 [Warning] WSREP: 1 (data_node175): State transfer to 0 (data_node176) failed: -1 (Operation not permitted)

Script modify:
117 # This file and variable seems to have no effect and probably should be deleted
118 #XTRABACKUP_PID=$(mktemp --tmpdir wsrep_sst_xtrabackupXXXX.pid)
119 XTRABACKUP_PID=$(mktemp -p ${TMPDIR} wsrep_sst_xtrabackupXXXX.pid)

May be I command version problem?

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

mktemp uses $TMPDIR or /tmp (in that order) if --tmpdir is
provided and that is used as relative path to the path fragment
generated from wsrep_sst_xtrabackupXXXX.pid

Do you have permission issues with /tmp?

You can check /DATA/data_node//innobackup.backup.log for the
directory it used.

Changed in percona-xtradb-cluster:
status: New → Incomplete
Revision history for this message
Alex Yurchenko (ayurchen) wrote :

this ticket is duplicate of lp:1080829

Changed in codership-mysql:
status: New → Fix Committed
Revision history for this message
marsxu (xjxyxgq) wrote :

mktemp version is 1.5 in Oracle Linux Server release 5.7,this version haven't paramter --tmpdir.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.