xb_galera_sst failures in XB Jenkins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Raghavendra D Prabhu | ||
2.0 |
Fix Released
|
High
|
Raghavendra D Prabhu | ||
2.1 |
Fix Released
|
High
|
Raghavendra D Prabhu |
Bug Description
After rebuilding build-xtradb-
130712 20:19:33 [ERROR] WSREP: Failed to read 'ready <addr>' from: wsrep_sst_
Read: '(null)'
130712 20:19:33 [ERROR] WSREP: Process completed with error: wsrep_sst_
130712 20:19:33 [ERROR] WSREP: Failed to prepare for 'xtrabackup' SST. Unrecoverable.
130712 20:19:33 [ERROR] Aborting
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 116 lines (+36/-5)3 files modifiedtest/t/bug983720_galerainfo.sh (+9/-1)
test/t/xb_galera_info.sh (+7/-1)
test/t/xb_galera_sst.sh (+20/-3)
- Alexey Kopytov (community): Needs Resubmitting
-
Diff: 120 lines (+39/-4) (has conflicts)3 files modifiedtest/t/bug983720_galerainfo.sh (+9/-1)
test/t/xb_galera_info.sh (+7/-1)
test/t/xb_galera_sst.sh (+23/-2)
- Alexey Kopytov (community): Approve
-
Diff: 117 lines (+36/-6)3 files modifiedtest/t/bug983720_galerainfo.sh (+9/-1)
test/t/xb_galera_info.sh (+7/-1)
test/t/xb_galera_sst.sh (+20/-4)
Few issues:
a)
"sh: ip: command not found"
So, either iproute2 needs to be installed or I need to set wsrep_node_address explicitly
b) socat needs to be installed
This is critical (or need to workaround with a my.cnf containing [sst] section, can take longer).
c)
130712 19:58:56 [Warning] Ignoring user change to 'jenkins' because the user was set to 'mysql' earlier on the command line
130712 19:58:56 [Warning] Can't create test file /var/lib/ mysql/jhc- new-centos6- 64.lower- test mysql/jhc- new-centos6- 64.lower- test percona- xtrabackup- 2.1-param/ BUILD_TYPE/ release/ Host/centos6- 64/xtrabackupta rget/galera55/ test/server/ bin//mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
130712 19:58:56 [Warning] Can't create test file /var/lib/
/mnt/workspace/
130712 19:58:56 [Warning] One can only use the --user switch if running as root
This is not critical, however, I am not sure about this warning.
${MYSQLD} --basedir= $MYSQL_ BASEDIR --user=$USER --help --verbose --wsrep- sst-method= rsync| grep -q wsrep
should --user=$USER be not passed here? I guess not passing this makes it run as jenkins user which I guess is fine?