Logging inconsistency in 3.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Low
|
Unassigned | ||
MAAS documentation |
Triaged
|
Medium
|
Unassigned |
Bug Description
maas: 3.5.0-16308-
Previously the doc explained cases for snap and deb respectively, and now there is a consolidated section for 3.5.
https:/
https:/
Issue 1: doc
> In 3.5, the MAAS snap uses the pebble service manager instead of
> supervisord. This means that the systemd component was renamed to
> snap.maas.
> intercepted stdout of the services running under Pebble. The region and
> rack logs are cached there, as well (i.e., regiond.log and rackd.log
> are no more (supervisord was redirecting the stdout of the respective
> services).
I don't think this is applicable to deb.
Issue 2: empty log files
Log files are still created but empty. That confuses users.
$ dpkg -S /var/log/maas/
maas-common, maas-rack-
$ wc -l /var/log/
0 /var/log/
Issue 3: log files are necessary for compliance and governance reasons
Mainly managing logs in journald is fine. However, collecting logs and forwarding those to the centralized management system is one of the important part of compliance and governance requirements in enterprise.
Not having anything under /var/log/ is problematic since most of the agents have rules like /var/log/* or /var/log/**/*log
e.g. our grafana-agent charm with a generic machine relation
https:/
And Ubuntu itself still have rsyslogd in ubuntu-minimal to save logs as files by default. I expect MAAS saves logs to files in addition to journald.
description: | updated |
description: | updated |
Changed in maas: | |
milestone: | none → 3.6.x |
tags: | added: bug-council |
Changed in maas-doc: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in maas: | |
milestone: | 3.6.x → 3.7.x |
Hi Nobuto,
thank you for the feedback.
I'm marking this as low prio as the bug here is that we are still creating some logs folder.
Regarding to your feedback about logging in general it is more a feature request rather than a bug. I'm marking this with `bug-council` so that we can discuss this next thursday (and create a jira ticket in case). In case we will take actions on this we will create a ticket in our product feedback board to keep track of it and we will post the link here as well