Containers logging to stdout and rsyslog
The proposal is to start logging to stdout/stdout in the container as would be
a standard practice for logging in containers. This would allow the logs to get
picked up by the docker logging driver, and thus we can use "docker logs" to
view the logs of a process as one would usually expect. It would also help us
decouple a bit more the containers from the host, since we wouldn't be mounting
directories from it anymore. This will be done in a pluggable fashion. Furthermore, we will add integration with the Openshift Logging Stack or Viaq, and do so by adding an rsyslog container that forwards and processes the logs.
Blueprint information
- Status:
- Complete
- Approver:
- Alex Schultz
- Priority:
- Medium
- Drafter:
- Juan Antonio Osorio Robles
- Direction:
- Approved
- Assignee:
- Juan Antonio Osorio Robles
- Definition:
- Approved
- Series goal:
- Accepted for queens
- Implementation:
-
Implemented
- Milestone target:
- None
- Started by
- Alex Schultz
- Completed by
- Alex Schultz
Related branches
Related bugs
Sprints
Whiteboard
Queens has been released, Closing this out. Feel free to open bugs/new blueprints if there are still items to fix.
[2017-12-08] Moving out to queens-3 as it's been implemented except for a single patch. If more efforts are needed then this should be moved to Rocky
Addressed by: https:/
Add blueprint for Logging to stdout and rsyslog
Gerrit topic: https:/
Addressed by: https:/
Add validation to logging templates
Addressed by: https:/
Add option for keystone containers to log to stdout/stderr
Addressed by: https:/
Add option for nova containers to log to stdout/stderr
Addressed by: https:/
Add log_tag option to container definition
Gerrit topic: https:/
Addressed by: https:/
Add option for Glance API containers to log to stdout/stderr
Addressed by: https:/
Remove log-dir option from neutron-dhcp execution
Addressed by: https:/
Add option for Neutron containers to log to stdout/stderr
Addressed by: https:/
Add option for nova compute container to log to stdout/stderr
Addressed by: https:/
libvirt: Remove unnecessary binding of /var/log/
Addressed by: https:/
Add option for nova-libvirt container to log to stdout/stderr
Addressed by: https:/
Remove /dev/log mounting from mysql bundle resource
Addressed by: https:/
Add option for heat containers to log to stdout/stderr
Addressed by: https:/
Add rsyslog sidecar image for container image prepare
Addressed by: https:/
Move keystone init log container to files logging template
Addressed by: https:/
glance logging: Fix description and use yaml anchor
Addressed by: https:/
Add option for panko container to log to stdout/stderr
Addressed by: https:/
Enable keystone db sync to log to stdout
Addressed by: https:/
Add option for barbican API container to log to stdout/stderr
Gerrit topic: https:/
Addressed by: https:/
Add profile to configure the rsyslog sidecar container
Addressed by: https:/
Add rsyslog-sidecar resource and configuration
Addressed by: https:/
Add option for HAProxy (non-HA) container to log to stdout/stderr
Gerrit topic: https:/
Addressed by: https:/
Always load rsyslog-base container
Addressed by: https:/
Add profile to configure the rsyslog sidecar container
Addressed by: https:/
Add rsyslog-sidecar resource and configuration
Work Items
Dependency tree

* Blueprints in grey have been implemented.