Rsyslog configuration is missing for HAProxy

Bug #1953672 reported by Chris Sibbitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Unassigned

Bug Description

Description
===========
The log file for haproxy (/var/log/containers/haproxy/haproxy.log) is not being picked up by rsyslog for forwarding. It's missing the rsyslog-specific configuration that other services have in order to enable it.

Steps to reproduce
==================
* Examine the forwarded rsyslog stream
* Notice that haproxy logs are missing
* Notice that there is no THT parameter to control logging sources for haproxy

Expected result
===============
haproxy logs should be configured as logging sources in rsyslog

Actual result
=============
They are not

Environment
===========
Originally observed on Train (See: https://bugzilla.redhat.com/show_bug.cgi?id=2026290) but the bug is in the current code as well

Logs & Configs
==============
Here is an example of (approximately) the output that is expected: https://bugzilla.redhat.com/show_bug.cgi?id=2026290#c3

Fix is here: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/820217

Changed in tripleo:
status: New → In Progress
Revision history for this message
Juan Badia Payno (jbadiapa) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/820217
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/c3bb91338627c600d3def901113e995095c2e2b5
Submitter: "Zuul (22348)"
Branch: master

commit c3bb91338627c600d3def901113e995095c2e2b5
Author: Chris Sibbitt <email address hidden>
Date: Thu Dec 2 12:54:56 2021 -0500

    Missing rsyslog parameters for HAProxy

    Services need to provide this rsyslog configuration in order for
    their logs to get ingested by rsyslog for forwarding.

    Closes-Bug: 1953672
    Change-Id: I0da99239275fa7f53f032ca4a85460e6111738b4

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/821618

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/821619

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ussuri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/821618
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/2d9d3a058bf09af6a4a8c6f14141d7a010764d97
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 2d9d3a058bf09af6a4a8c6f14141d7a010764d97
Author: Chris Sibbitt <email address hidden>
Date: Thu Dec 2 12:54:56 2021 -0500

    Missing rsyslog parameters for HAProxy

    Services need to provide this rsyslog configuration in order for
    their logs to get ingested by rsyslog for forwarding.

    Closes-Bug: 1953672
    Change-Id: I0da99239275fa7f53f032ca4a85460e6111738b4
    (cherry picked from commit c3bb91338627c600d3def901113e995095c2e2b5)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/821619
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/630e330f9144527f463a10850258ff131477dc16
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 630e330f9144527f463a10850258ff131477dc16
Author: Chris Sibbitt <email address hidden>
Date: Thu Dec 2 12:54:56 2021 -0500

    Missing rsyslog parameters for HAProxy

    Services need to provide this rsyslog configuration in order for
    their logs to get ingested by rsyslog for forwarding.

    Closes-Bug: 1953672
    Change-Id: I0da99239275fa7f53f032ca4a85460e6111738b4
    (cherry picked from commit c3bb91338627c600d3def901113e995095c2e2b5)

tags: added: in-stable-victoria
tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/821620
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/d0e0f027548e0f4d97c4431f37204a5e822f1c7d
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit d0e0f027548e0f4d97c4431f37204a5e822f1c7d
Author: Chris Sibbitt <email address hidden>
Date: Thu Dec 2 12:54:56 2021 -0500

    Missing rsyslog parameters for HAProxy

    Services need to provide this rsyslog configuration in order for
    their logs to get ingested by rsyslog for forwarding.

    Closes-Bug: 1953672
    Change-Id: I0da99239275fa7f53f032ca4a85460e6111738b4
    (cherry picked from commit c3bb91338627c600d3def901113e995095c2e2b5)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/821621
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/ab7d4a7ea9f351da38008f788f8b1e04417a124d
Submitter: "Zuul (22348)"
Branch: stable/train

commit ab7d4a7ea9f351da38008f788f8b1e04417a124d
Author: Chris Sibbitt <email address hidden>
Date: Thu Dec 2 12:54:56 2021 -0500

    Missing rsyslog parameters for HAProxy

    Services need to provide this rsyslog configuration in order for
    their logs to get ingested by rsyslog for forwarding.

    Closes-Bug: 1953672
    Change-Id: I0da99239275fa7f53f032ca4a85460e6111738b4
    (cherry picked from commit c3bb91338627c600d3def901113e995095c2e2b5)
    (cherry picked from commit d0e0f027548e0f4d97c4431f37204a5e822f1c7d)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.4.6

This issue was fixed in the openstack/tripleo-heat-templates 12.4.6 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 16.0.0

This issue was fixed in the openstack/tripleo-heat-templates 16.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 13.6.0

This issue was fixed in the openstack/tripleo-heat-templates 13.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates train-eol

This issue was fixed in the openstack/tripleo-heat-templates train-eol 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.