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.
Reviewed: https:/ /review. openstack. org/438917 /git.openstack. org/cgit/ openstack/ charm-percona- cluster/ commit/ ?id=fddc1b78f42 51db97129f5246f ff92fefb18353f
Committed: https:/
Submitter: Jenkins
Branch: master
commit fddc1b78f4251db 97129f5246fff92 fefb18353f
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: Iff998c4c23fcad 71cffe9bbee60df 7f00d2c9893
Closes-Bug: 1664025