Create logging strategy for containers

Registered by Michał Jastrzębski

Currently we don't aggregate logs at all. If containers die, we lose all logs. Not every containers logs to stdout, so docker logs won't work there. We need to create single strategy to work on logging.

Blueprint information

Status:
Complete
Approver:
Sam Yaple
Priority:
Essential
Drafter:
Michał Jastrzębski
Direction:
Approved
Assignee:
Michał Jastrzębski
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon liberty-rc1
Started by
Steven Dake
Completed by
Sam Yaple

Related branches

Sprints

Whiteboard

At the mid-cycle it was agreed as an initial step we would create a data volume container for logging. This container would allow all logs to aggregate to a single location. Additional blueprints have been created to do more with the logs from there (such as process them in ELKStack), or at the operators discretion, do nothing with the logs and just have them accessible in that central logging container location. -- SamYaple

https://etherpad.openstack.org/p/kolla-logging-stack - discussion etherpad

Gerrit topic: https://review.openstack.org/#q,topic:bp/logging-container,n,z

Addressed by: https://review.openstack.org/208275
    Add log aggregation for Ansible into 'log_data'

Addressed by: https://review.openstack.org/214589
    rsyslog container

Addressed by: https://review.openstack.org/215062
    Ansible bits to rsyslog

Addressed by: https://review.openstack.org/215181
    Templates for rsyslog

Addressed by: https://review.openstack.org/225637
    Glance logging to rsyslog

Addressed by: https://review.openstack.org/226760
    Nova logging to rsyslog

Addressed by: https://review.openstack.org/226820
    Heat logging to rsyslog

Addressed by: https://review.openstack.org/227275
    Neutron logging to rsyslog

Addressed by: https://review.openstack.org/227311
    Keystone logging to rsyslog

Addressed by: https://review.openstack.org/227412
    Cinder logging to rsyslog

Addressed by: https://review.openstack.org/227881
    Swift logging to rsyslog

Addressed by: https://review.openstack.org/227900
    Murano logging to rsyslog

Addressed by: https://review.openstack.org/228595
    Make oslo.log work properly with syslog

Gerrit topic: https://review.openstack.org/#q,topic:bug/1500566,n,z

Addressed by: https://review.openstack.org/228675
    Fix oslo.log

Addressed by: https://review.openstack.org/228715
    Make oslo.log work correctly on RDO platforms

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.