Hi Dimitri,
According to its d/changelog this is fixed in the Debian revision
2.0.1-3:
* [3c7b0b4] Ship /var/log/pacemaker, the new default directory of the detail
logs.
Without this directory the default configuration emits errors and the
detail log is simply not written.
The /var/log/pacemaker.log* detail log files from Pacemaker 1 are not
moved automatically on upgrade, but this new /var/log/pacemaker
directory and its contents are removed when purging pacemaker-common.
The owner and mode of the log directory is set to let clients like
crm_resource --force-start running as any user in the haclient group
write their messages into the detail log. The logrotate config relies
on these settings as well.
** Also affects: pacemaker (Debian)
Importance: Undecided
Status: New
** Changed in: pacemaker (Debian)
Status: New => Fix Released
** Changed in: pacemaker (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to pacemaker in Ubuntu.
https://bugs.launchpad.net/bugs/1828223
Title:
pacemaker v2 appears to be missing log directory
Status in pacemaker package in Ubuntu:
Triaged
Status in pacemaker package in Debian:
Fix Released
Bug description:
# journalctl -u pacemaker | grep 'logging to'
May 08 12:30:49 nice-mako pacemakerd[325]: error: Directory
'/var/log/pacemaker' does not exist: logging to
'/var/log/pacemaker/pacemaker.log' is disabled
May 08 12:30:49 nice-mako pacemaker-fenced[329]: error: Directory
'/var/log/pacemaker' does not exist: logging to
'/var/log/pacemaker/pacemaker.log' is disabled
May 08 12:30:49 nice-mako pacemaker-based[328]: error: Directory
'/var/log/pacemaker' does not exist: logging to
'/var/log/pacemaker/pacemaker.log' is disabled
May 08 12:30:49 nice-mako pacemaker-schedulerd[332]: error: Directory
'/var/log/pacemaker' does not exist: logging to
'/var/log/pacemaker/pacemaker.log' is disabled
May 08 12:30:49 nice-mako pacemaker-attrd[331]: error: Directory
'/var/log/pacemaker' does not exist: logging to
'/var/log/pacemaker/pacemaker.log' is disabled
May 08 12:30:49 nice-mako pacemaker-execd[330]: error: Directory
'/var/log/pacemaker' does not exist: logging to
'/var/log/pacemaker/pacemaker.log' is disabled
May 08 12:30:49 nice-mako pacemaker-controld[333]: error: Directory
'/var/log/pacemaker' does not exist: logging to
'/var/log/pacemaker/pacemaker.log' is disabled
I guess pacemaker v2 should either be configured to log to journal by
default, or that directory needs to be created? or configuration
changed to log to /var/log/pacemaker.log?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1828223/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp