Keystone HTTP metrics are missing

Bug #1535577 reported by Simon Pasquier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
High
Éric Lemoine
0.8
Won't Fix
Medium
LMA-Toolchain Fuel Plugins

Bug Description

Tested with MOS 8 (#452).

The keystone WSGI logstreamer and decoder aren't working for at least 2 reasons:

1. the /var/log/apache2/ directory can only be accessed by root

2. the Apache log format has changed:
    decoder configuration: '%h %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"'
    Apache configuration:'%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"'

Issue #2 is easy to fix. Issue #1 is more problematic.

Tags: logs
no longer affects: lma-toolchain/0.9
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :
Revision history for this message
Éric Lemoine (elemoine) wrote :

> 1. the /var/log/apache2/ directory can only be accessed by root

I confirm that this issue is fixed in recent MOS 8 builds (build 483 in my case).

Revision history for this message
Éric Lemoine (elemoine) wrote :

And in fact the Apache log format change has no impact. The change https://bugs.launchpad.net/lma-toolchain/+bug/1535663 suffices and fixes the problem for us.

Revision history for this message
Éric Lemoine (elemoine) wrote :

Simon, may we change the status of this bug? Fixed committed? Or Fixed released?

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

@Eric I'm not sure why Gerrit didn't update the bug status after you updated the commit message.

Revision history for this message
Éric Lemoine (elemoine) wrote :

Simon, I used Related-Bug.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-plugin-lma-collector (master)

Reviewed: https://review.openstack.org/273960
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-collector/commit/?id=27193b6e1963238c10b0653aaab7c76abff02cc4
Submitter: Jenkins
Branch: master

commit 27193b6e1963238c10b0653aaab7c76abff02cc4
Author: Éric Lemoine <email address hidden>
Date: Fri Jan 29 01:25:02 2016 -0800

    Change Apache log format

    This is to match the log format currently used in Fuel. In the future
    we should make this configurable.

    Change-Id: I4c996e4f425a6b4b50cb89aa28167667cb5d7a46
    Related-Bug: #1535577

Changed in lma-toolchain:
status: Triaged → Fix Committed
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → elemoine (elemoine)
Changed in lma-toolchain:
status: Fix Committed → Fix Released
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.