RabbitMQ logs are not being collected by Fluentd

Bug #1835501 reported by Doug Szumski
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Lev Klimin
Rocky
Fix Released
Medium
Mark Goddard
Stein
Fix Released
Medium
Lev Klimin
Train
Fix Released
Medium
Lev Klimin
Ussuri
Fix Released
Medium
Lev Klimin

Bug Description

The following report is based on a Centos deployment.

On Rocky:

* RabbitMQ log name defaults to `<email address hidden>`. The hostname is included by default because the log file name is not set in the Rabbit config. Fluentd is set to ingest the RabbitMQ log from `rabbit.log`, so it is never picked up.

* When the Fluentd config is fixed so that the log is ingested the pattern matching is broken, and Fluentd spits out parsing errors.

* We don't collect the SASL log

In Stein:

RabbitMQ is upgraded to 3.7.10 from 3.6.5

* The same issue with log file naming as in Rocky exists.

* The SASL log (which is not ingested in Rocky) becomes part of the main RabbitMQ log and the log format changes.

* An upgrade log now exists

* Crash logs now exist

The expected behaviour is at the very least Fluentd should ingest the main rabbitmq log so that we can alert on failures.

Doug Szumski (dszumski)
Changed in kolla-ansible:
assignee: nobody → Doug Szumski (dszumski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/692976

Changed in kolla-ansible:
assignee: Doug Szumski (dszumski) → Lev Klimin (lklimin)
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/692976
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=bf979282a1bf31a4897e007589e029ba92d2b40a
Submitter: Zuul
Branch: master

commit bf979282a1bf31a4897e007589e029ba92d2b40a
Author: lklimin <email address hidden>
Date: Tue Nov 5 13:44:13 2019 +0300

    Collect rabbitmq logs by fluentd

    Change-Id: I49b24545501085d5a44f4de73f0c6dd21e06e2a0
    Closes-Bug: #1835501

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/693764

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

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/693783

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

Reviewed: https://review.opendev.org/693764
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a33d86c67652d5426c8b5079c06c17afb586dd02
Submitter: Zuul
Branch: stable/train

commit a33d86c67652d5426c8b5079c06c17afb586dd02
Author: lklimin <email address hidden>
Date: Tue Nov 5 13:44:13 2019 +0300

    Collect rabbitmq logs by fluentd

    Change-Id: I49b24545501085d5a44f4de73f0c6dd21e06e2a0
    Closes-Bug: #1835501
    (cherry picked from commit bf979282a1bf31a4897e007589e029ba92d2b40a)

tags: added: in-stable-train
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/694275

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

Reviewed: https://review.opendev.org/693783
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=7d11946439a06bf04b40960650a4b649eedf04e1
Submitter: Zuul
Branch: stable/stein

commit 7d11946439a06bf04b40960650a4b649eedf04e1
Author: lklimin <email address hidden>
Date: Tue Nov 5 13:44:13 2019 +0300

    Collect rabbitmq logs by fluentd

    Change-Id: I49b24545501085d5a44f4de73f0c6dd21e06e2a0
    Closes-Bug: #1835501
    (cherry picked from commit bf979282a1bf31a4897e007589e029ba92d2b40a)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc2

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.2.0

This issue was fixed in the openstack/kolla-ansible 7.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.1.0

This issue was fixed in the openstack/kolla-ansible 8.1.0 release.

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.