Comment 2 for bug 1201686

Revision history for this message
Stewart Smith (stewart) wrote : Re: [Bug 1201686] Re: xb_galera_sst failures in XB Jenkins

Raghavendra D Prabhu <email address hidden> writes:
> "sh: ip: command not found"
>
>
> So, either iproute2 needs to be installed or I need to set
> wsrep_node_address explicitly

Why not use 127.0.0.1 ?

> b) socat needs to be installed
>
> This is critical (or need to workaround with a my.cnf containing [sst]
> section, can take longer).

You can patch our puppet: lp:percona-dev-puppet to install the needed
packages.

> 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
> 130712 19:58:56 [Warning] Can't create test file /var/lib/mysql/jhc-new-centos6-64.lower-test
> /mnt/workspace/percona-xtrabackup-2.1-param/BUILD_TYPE/release/Host/centos6-64/xtrabackuptarget/galera55/test/server/bin//mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
> 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.

You don't get run as root, so you'll have to work around it. Everything
is run as user Jenkins, which doesn't have sudo or anything :)

> ${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?

you shouldn't need it.

--
Stewart Smith