devstack: GNOCCHI_USE_MOD_WSGI no longer work by default

Bug #1472546 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
Fix Released
Low
Chris Dent

Bug Description

Hi,

In the devstack plugin GNOCCHI_USE_MOD_WSGI no longer work by default, devstack statup fail because it doesn't found /var/log/$APACHE_NAME/gnocchi.log and /var/log/$APACHE_NAME/gnocchi-access.log

Set GNOCCHI_SERVICE_PORT workaround the problem.

This is because "apache-gnocchi.template" can't have the CustomLog and ErrorLog.

Cheers,

Revision history for this message
Chris Dent (cdent) wrote :

Presumably the most direct fix here is to tail a different log when port is not set? (in start_gnocchi)

The only problem with that is that the name of the generic default log file is probably not the same across distros.

I haven't seen this because I always run with USE_SCREEN False (and so does the gate, usually) and tail_log is a noop then.

Changed in gnocchi:
assignee: nobody → Chris Dent (chdent)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gnocchi (master)

Fix proposed to branch: master
Review: https://review.openstack.org/202498

Changed in gnocchi:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (master)

Reviewed: https://review.openstack.org/202498
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=47eebd0bf3b5559372a62a10627227ac43ad0609
Submitter: Jenkins
Branch: master

commit 47eebd0bf3b5559372a62a10627227ac43ad0609
Author: Chris Dent <email address hidden>
Date: Thu Jul 16 10:58:10 2015 +0000

    Tail the correct apache log files in devstack

    When port is not set, we tail the default logs, which
    will be quite noisy. In the future there will likely be a
    devstack tool that helps make this less noisy.

    Change-Id: I2ab7fcf222dcf7af2f5b507790d6a83a574b5be1
    Closes-Bug: #1472546

Changed in gnocchi:
status: In Progress → Fix Committed
Julien Danjou (jdanjou)
Changed in gnocchi:
importance: Undecided → Low
Julien Danjou (jdanjou)
Changed in gnocchi:
milestone: none → 1.1.0
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.