Logs sent to Monasca can be lost in Fluent

Bug #1855700 reported by Doug Szumski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Doug Szumski
Rocky
Won't Fix
Medium
Mark Goddard
Stein
Won't Fix
Medium
Mark Goddard
Train
Won't Fix
Medium
Mark Goddard
Ussuri
Fix Released
Medium
Doug Szumski

Bug Description

Monasca Fluentd output plugin is configured to use an in memory buffer. If a Fluentd container is shut down, killed, crashes, etc. then logs buffered to memory may not be sent to the Monasca Log API. We should buffer to file to fix this.

Changed in kolla-ansible:
assignee: nobody → Doug Szumski (dszumski)
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/666271
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=5293b1294f5a67107f247f462840ef145bf2ef44
Submitter: Zuul
Branch: master

commit 5293b1294f5a67107f247f462840ef145bf2ef44
Author: Doug Szumski <email address hidden>
Date: Wed Jun 19 11:27:14 2019 +0000

    Enable buffering to file for Monasca logs

    This enables buffering to file, rather than memory for Monasca logs.
    A dedicated docker volume is used for the file buffer. If a post
    to the Monasca Log API fails, retries will be made using an exponential
    backoff algorithm with a maximum retry interval of 30mins. The maximum
    interval is set relatively low to try and reduce the risk of large
    buffers accumulating, and therefore the risk of overloading the Monasca
    Log API.

    Closes-Bug: #1855700
    Change-Id: Ib5286e9dbaf2bc92d2f4960b2131223ab5dbdbec

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/712426

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/712427

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (stable/train)

Change abandoned by Mark Goddard (<email address hidden>) on branch: stable/train
Review: https://review.opendev.org/712426
Reason: Not backporting

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (stable/rocky)

Change abandoned by Mark Goddard (<email address hidden>) on branch: stable/rocky
Review: https://review.opendev.org/712427
Reason: Not backporting

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (stable/stein)

Change abandoned by Mark Goddard (<email address hidden>) on branch: stable/stein
Review: https://review.opendev.org/671081
Reason: Not backporting

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.