Hi. Installed the latest version of PXC yesterday in our test environment. We've been using xtrabackup for SST and has been working well up to now. It seems to be broken in the latest version though. Here is what I have installed:Percona-XtraDB-Cluster-shared-5.5.28-23.7.369.rhel5Percona-XtraDB-Cluster-galera-2.0-1.117.rhel5Percona-XtraDB-Cluster-server-5.5.28-23.7.369.rhel5Percona-XtraDB-Cluster-client-5.5.28-23.7.369.rhel5percona-xtrabackup-2.0.3-470.rhel5Two issues...1) innobackupex looks in the wsrep.cnf file for the datadir. As most of us probably have this configured in my.cnf instead, innobackupex will bomb out. I added datadir to wsrep.cnf also and it was able to continue2) after the db was fully transferred to the recipient node (based on size of datadir), the SST process terminates prematurely with the following. innobackex completed OK though. First log is from donor, second from recipient:DONOR:121116 8:45:32 [Note] WSREP: Running: 'wsrep_sst_xtrabackup --role 'donor' --address '10.1.8.233:4444/xtrabackup_sst' --auth '***:***' --socket '/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file '/etc/mysql/wsrep.cnf' --gtid 'f472d7be-2e86-11e2-0800-cf63dfd4bfa3:421807''121116 8:45:32 [Note] WSREP: sst_donor_thread signaled with 0mktemp: invalid option -- -Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]121116 9:21:09 [Note] WSREP: Provider paused at f472d7be-2e86-11e2-0800-cf63dfd4bfa3:421807121116 9:25:11 [Note] WSREP: Provider resumed./usr//bin/wsrep_sst_xtrabackup: line 37: $1: unbound variable121116 9:25:13 [ERROR] WSREP: Failed to read from: wsrep_sst_xtrabackup --role 'donor' --address '10.1.8.233:4444/xtrabackup_sst' --auth '***:***' --socket '/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file '/etc/mysql/wsrep.cnf' --gtid 'f472d7be-2e86-11e2-0800-cf63dfd4bfa3:421807'121116 9:25:13 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup --role 'donor' --address '10.1.8.233:4444/xtrabackup_sst' --auth '***:***' --socket '/var/lib/mysql/mysql.sock' --datadir '/var/lib/mysql/' --defaults-file '/etc/mysql/wsrep.cnf' --gtid 'f472d7be-2e86-11e2-0800-cf63dfd4bfa3:421807': 1 (Operation not permitted)121116 9:25:13 [Warning] WSREP: 0 (): State transfer to 1 () failed: -1 (Operation not permitted)121116 9:25:13 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 421807)121116 9:25:13 [Note] WSREP: Member 0 () synced with group.121116 9:25:13 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 421807)121116 9:25:13 [Note] WSREP: Synchronized with group, ready for connections121116 9:25:13 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.121116 9:25:14 [Note] WSREP: view(view_id(PRIM,03efd9aa-2ff2-11e2-0800-8f099c644f65,7) memb {03efd9aa-2ff2-11e2-0800-8f099c644f65,} joined {} left {} partitioned {e1c9287a-2ff3-11e2-0800-a5873d6c135d,})121116 9:25:14 [Note] WSREP: forgetting e1c9287a-2ff3-11e2-0800-a5873d6c135d (tcp://10.1.8.233:4567)121116 9:25:14 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1RECIPIENT:121116 8:45:31 [Note] WSREP: Prepared SST request: xtrabackup|10.1.8.233:4444/xtrabackup_sst121116 8:45:31 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.121116 8:45:31 [Note] WSREP: Assign initial position for certification: 421807, protocol version: 2121116 8:45:31 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (f472d7be-2e86-11e2-0800-cf63dfd4bfa3): 1 (Operation not permitted)at galera/src/replicator_str.cpp:prepare_for_IST():440. IST will be unavailable.121116 8:45:31 [Note] WSREP: Node 1 () requested state transfer from '*any*'. Selected 0 ()(SYNCED) as donor.121116 8:45:31 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 421807)121116 8:45:31 [Note] WSREP: Requesting state transfer: success, donor: 0tar: xtrabackup_checkpoints: time stamp 2012-11-16 09:25:11 is 1 s in the futuretar: xtrabackup_binary: time stamp 2012-11-16 09:25:13 is 1 s in the future121116 9:25:12 [Warning] WSREP: 0 (): State transfer to 1 () failed: -1 (Operation not permitted)121116 9:25:12 [ERROR] WSREP: gcs/src/gcs_group.c:gcs_group_handle_join_msg():712: Will never receive state. Need to abort.121116 9:25:12 [Note] WSREP: gcomm: terminating thread121116 9:25:12 [Note] WSREP: gcomm: joining thread121116 9:25:12 [Note] WSREP: gcomm: closing backend121116 9:25:13 [Note] WSREP: view(view_id(NON_PRIM,03efd9aa-2ff2-11e2-0800-8f099c644f65,6) memb {e1c9287a-2ff3-11e2-0800-a5873d6c135d,} joined {} left {} partitioned {03efd9aa-2ff2-11e2-0800-8f099c644f65,})121116 9:25:13 [Note] WSREP: view((empty))121116 9:25:13 [Note] WSREP: gcomm: closed121116 9:25:13 [Note] WSREP: /usr/sbin/mysqld: Terminated.WSREP_SST: [ERROR] Parent mysqld process (PID:6995) terminated unexpectedly. (20121116 09:25:13.866)121116 09:25:13 mysqld_safe mysqld from pid file /var/lib/mysql/r8-qadb-node1.pid endedThanks!
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.