[LMA collector] HAProxy logs aren't collected

Bug #1480297 reported by Simon Pasquier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Plugins
Fix Committed
Medium
Simon Pasquier
7.0
Fix Committed
Medium
Simon Pasquier

Bug Description

HAProxy logs are at /var/log/haproxy.log but aren't collected by the LMA collector.

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

This will be fixed for MOS 7.0.

Changed in fuel-plugins:
assignee: nobody → Simon Pasquier (simon-pasquier)
milestone: none → 6.1
importance: Undecided → Medium
status: New → Won't Fix
Changed in fuel-plugins:
milestone: 6.1 → 7.0
status: Won't Fix → Confirmed
tags: added: lma
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

This issue is related to this upstream bug: https://bugs.launchpad.net/fuel/+bug/1481860

For MOS 6.1, HAProxy logs to /var/log/haproxy.log or /var/log/messages: it all depends on the way Puppet ordered the resources during the deployment of the environment and it can't be predicted. The following workaround will work in all cases for MOS 6.1.

Workaround
==========

Edit /etc/lma_collector/logstreamer-system.toml and modify this line:

file_match = '(?P<Service>daemon\.log|cron\.log|kern\.log|auth\.log|syslog|messages|debug)'

to this:

file_match = '(?P<Service>daemon\.log|cron\.log|kern\.log|auth\.log|syslog|messages|debug|haproxy\.log)'

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :
Changed in fuel-plugins:
status: Confirmed → In Progress
no longer affects: fuel-plugins/6.1
Changed in fuel-plugins:
milestone: 7.0 → 6.1
Changed in fuel-plugins:
status: In Progress → Fix Committed
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.