commit f77cc7a861117b5fe1a0993bd848b26cd47a385a
Author: Andy McCrae <email address hidden>
Date: Thu Aug 20 12:14:35 2015 +0100
Allow a log dir that isn't the "service_name"
Galera logs by default to /var/log/mysql_logs these logs are being
ignored and not mounted properly on the host server, because the
service_name that is used to mount the log directory is "galera" and not
"mysql_logs".
This patch adds an option to set the log_directory specifically inside
the env.d yml files, but defaults to "service_name" when the
log_directory option isn't set. This will mean functionality remains
unchanged for all services.
Additionally, the log_directory has changed to "mysql_logs" for galera
containers, to resolve the galera log issue.
Reviewed: https:/ /review. openstack. org/215081 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=f77cc7a8611 17b5fe1a0993bd8 48b26cd47a385a
Committed: https:/
Submitter: Jenkins
Branch: master
commit f77cc7a861117b5 fe1a0993bd848b2 6cd47a385a
Author: Andy McCrae <email address hidden>
Date: Thu Aug 20 12:14:35 2015 +0100
Allow a log dir that isn't the "service_name"
Galera logs by default to /var/log/mysql_logs these logs are being
ignored and not mounted properly on the host server, because the
service_name that is used to mount the log directory is "galera" and not
"mysql_logs".
This patch adds an option to set the log_directory specifically inside
the env.d yml files, but defaults to "service_name" when the
log_directory option isn't set. This will mean functionality remains
unchanged for all services.
Additionally, the log_directory has changed to "mysql_logs" for galera
containers, to resolve the galera log issue.
Change-Id: I18400248da4551 56dbba31b9c2ff2 54b58c51673
Closes-Bug: #1486955