Fluentd log parsing cannot grok Horizon logs

Bug #1898174 reported by Stig Telfer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Confirmed
Medium
Doug Szumski
Stein
Confirmed
Medium
Doug Szumski
Train
Confirmed
Medium
Doug Szumski
Ussuri
Confirmed
Medium
Doug Szumski
Victoria
Confirmed
Medium
Doug Szumski

Bug Description

It appears that all logs from Horizon are throwing parse errors from fluentd of this form:

got incomplete line before first line from /var/log/kolla/horizon/horizon.log: "[Wed Sep 30 17:02:00.196771 2020] [:error] [pid 16] Logging out user \\"\\".\\n"

Horizon logs take this form:

[Wed Sep 30 17:02:00.196771 2020] [:error] [pid 16] Logging out user "".

This is not the same format as logs from other OpenStack services, but is apparently being parsed as though it is.

This issue was seen on Rocky and Train OpenStack releases.

Revision history for this message
Doug Szumski (dszumski) wrote :

A quick fix could be to exclude the Horizon log from 00-global.conf and process this log with other Apache logs. The format isn't the same as the access logs, but we're not currently doing much parsing on them anyway.

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.