rsyslog does not send system logs to fluentd

Bug #1780722 reported by Juan Badia Payno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Juan Badia Payno

Bug Description

As fluentd is configured on a container, it does not
set up properly rsyslog on the host to send the logs
to itself.

Example on the gate:
rsyslog on the host
http://logs.openstack.org/90/553190/9/check/tripleo-ci-centos-7-scenario001-multinode-oooq-container/13f80b6/logs/subnode-2/etc/rsyslog.d/
*** Just in case it's deleted ***
There is only a listen.conf file with the following line
$SystemLogSocketName /run/systemd/journal/syslog
***
however the rsyslog configuration on the fluentd container
http://logs.openstack.org/90/553190/9/check/tripleo-ci-centos-7-scenario001-multinode-oooq-container/13f80b6/logs/subnode-2/var/log/config-data/fluentd/etc/rsyslog.d/
*** Just in case it's deleted ***
There is only a fluentd.conf file with the following line
*.* @127.0.0.1:42185
***

Changed in tripleo:
assignee: nobody → Juan Badia Payno (jbadiapa)
status: New → In Progress
Changed in tripleo:
milestone: none → rocky-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/580937
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d30adea380f37280308d71c44c9f94e2ba3b1b15
Submitter: Zuul
Branch: master

commit d30adea380f37280308d71c44c9f94e2ba3b1b15
Author: Juan Badia Payno <email address hidden>
Date: Mon Jul 9 09:02:05 2018 +0200

    Fluentd configures rsyslog to send logs properly

    Fluentd configures rsyslog on the docker, but as the /etc/rsyslog.d directory
    is not mounted, the rsyslog service is not configured.

    This patch add the /etc/rsyslog.d directory to the fluentd container, so
    rsyslog service is configured

    Closes-Bug: #1780722
    Change-Id: I94bd6aaa5f9da86fa642ac1225db1aa3ad3d2754

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/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/583478

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

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b4 development milestone.

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/587496

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

Reviewed: https://review.openstack.org/583478
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7616d3c1e4528e79c764df720ea8120263ad00f0
Submitter: Zuul
Branch: stable/queens

commit 7616d3c1e4528e79c764df720ea8120263ad00f0
Author: Juan Badia Payno <email address hidden>
Date: Mon Jul 9 09:02:05 2018 +0200

    Fluentd configures rsyslog to send logs properly

    Fluentd configures rsyslog on the docker, but as the /etc/rsyslog.d directory
    is not mounted, the rsyslog service is not configured.

    This patch add the /etc/rsyslog.d directory to the fluentd container, so
    rsyslog service is configured

    Closes-Bug: #1780722
    Change-Id: I94bd6aaa5f9da86fa642ac1225db1aa3ad3d2754
    (cherry picked from commit d30adea380f37280308d71c44c9f94e2ba3b1b15)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.5

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

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

Reviewed: https://review.openstack.org/587496
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=05f4912a504b0755ed7fb0c06f10bb1159f0999c
Submitter: Zuul
Branch: stable/pike

commit 05f4912a504b0755ed7fb0c06f10bb1159f0999c
Author: Juan Badia Payno <email address hidden>
Date: Tue Jul 31 17:19:56 2018 +0200

    Fluentd configures rsyslog to send logs properly

    Fluentd configures rsyslog on the docker, but as the /etc/rsyslog.d directory
    is not mounted, the rsyslog service is not configured.

    This patch add the /etc/rsyslog.d directory to the fluentd container, so
    rsyslog service is configured

    Closes-Bug: #1780722
    (cherry picked from commit d30adea380f37280308d71c44c9f94e2ba3b1b15)
    Change-Id: Ie60757f1bfe919cca6b0290451ea059d762dcab8

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.16

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