HTTPD keystone.py wsgi script still referencing logging.DEBUG

Bug #1220012 reported by Morgan Fainberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Morgan Fainberg

Bug Description

The HTTPD keystone.py script is still referencing logging.DEBUG on line 46: https://github.com/openstack/keystone/blob/master/httpd/keystone.py#L46

Since the move to oslo logging, this is no longer valid (as oslo log does not expose the DEBUG level in this manner).

This will cause a failure in loading the WSGI application from HTTPD.

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

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

Changed in keystone:
assignee: nobody → Morgan Fainberg (mdrnstm)
status: New → In Progress
Changed in keystone:
importance: Undecided → Low
Changed in keystone:
importance: Low → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/44776
Committed: http://github.com/openstack/keystone/commit/d98dca9f983e8fbee21d874c22170952f7d781c2
Submitter: Jenkins
Branch: master

commit d98dca9f983e8fbee21d874c22170952f7d781c2
Author: Morgan Fainberg <email address hidden>
Date: Mon Sep 2 17:07:32 2013 -0700

    Update keystone wsgi httpd script for oslo logging

    When updating to the oslo logging module, it appears that this script
    was missed, and erroneously still references .DEBUG, which is not
    available in the oslo logging module. This commit corrects the issue
    and updates the reference to oslo log module to not be aliased to
    "logging".

    The extra logic to set the debug on the instantiated logger is still
    needed to ensure all logging is seen (startup config logging, etc).

    fixes-bug: 1220012
    Change-Id: If5b4f9f28cb9d05f914848cbdb54b10c2c5f3b2d

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: havana-3 → 2013.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.