It might also be useful to create /tmp/mysql_monitor.ocf.ra.debug dir in the charm which is used by mysql_monitor, see:
https://github.com/openstack/charm-percona-cluster/blob/1c4d99123235d9f4334a05988982d0dac54ebbd3/ocf/percona/mysql_monitor#L587-L606
I would use something under /var/log though instead of /tmp (we could modify the resource inline in the charm) because we capture /var/log/ in crashdumps.
It might also be useful to create /tmp/mysql_ monitor. ocf.ra. debug dir in the charm which is used by mysql_monitor, see:
https:/ /github. com/openstack/ charm-percona- cluster/ blob/1c4d991232 35d9f4334a05988 982d0dac54ebbd3 /ocf/percona/ mysql_monitor# L587-L606
I would use something under /var/log though instead of /tmp (we could modify the resource inline in the charm) because we capture /var/log/ in crashdumps.