ceilometer api under mod_wsgi should allow multiple process

Bug #1370009 reported by Chris Dent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Chris Dent

Bug Description

Because of the configuration of the pecan app that hosts the ceilometer-api it is not possible to host the api under mod_wsgi when mod_wsgi is configured for multiple processes. See: http://docs.openstack.org/developer/ceilometer/install/mod_wsgi.html#limitation

This limitation can be overcome by using a separate (that is _explicit_) configuration option to control pecan's debug mode.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Changed in ceilometer:
assignee: nobody → Chris Dent (chdent)
status: New → In Progress
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → juno-rc1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/121823
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=8691ba8086348795fc70b8afce0f5ef6f94182b9
Submitter: Jenkins
Branch: master

commit 8691ba8086348795fc70b8afce0f5ef6f94182b9
Author: Chris Dent <email address hidden>
Date: Tue Sep 16 13:13:00 2014 +0100

    Allow pecan debug middleware to be turned off

    The Pecan DebugMiddleware is turned on or off based on the
    ceilometer.conf-wide debug setting. This is not useful for situations
    where running ceilometer-api under mod_wsgi with multiple processes
    is desired.

    This change adds a pecan_debug setting to the api section of config,
    defaulting to the DEFAULT debug value. mod_wsgi install docs updated
    accordingly.

    Configuration docs have not yet been udpated. They will be pending a
    fix to bug 1370030

    Closes-Bug: #1370009

    Change-Id: Ib4a472e3c8d1f34f64a5f3ab993c1211dee8af9a

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: juno-rc1 → 2014.2
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.