Comment 26 for bug 1664025

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-percona-cluster (master)

Reviewed: https://review.openstack.org/438917
Committed: https://git.openstack.org/cgit/openstack/charm-percona-cluster/commit/?id=fddc1b78f4251db97129f5246fff92fefb18353f
Submitter: Jenkins
Branch: master

commit fddc1b78f4251db97129f5246fff92fefb18353f
Author: James Page <email address hidden>
Date: Tue Feb 28 11:57:43 2017 +0100

    Ensure bootstrap-pxc mysqld not in unit cgroup

    The bootstrap process for percona-xtradb-cluster requires execution
    of a non-standard init.d scrip target to start the mysqld in wsrep
    new cluster mode.

    The processes started by the operation where ending up in the cgroup
    associated with the Juju unit daemon, which on restart (as a result
    of a upgrade to juju for example) would result in the mysql daemon
    being killed and not restarted.

    Use systemd-run to ensure that the bootstrap-pxc operation ends up
    in a distinct cgroup so that this does not happen.

    Change-Id: Iff998c4c23fcad71cffe9bbee60df7f00d2c9893
    Closes-Bug: 1664025