No handlers could be found for logger "keystoneclient..."

Bug #936404 reported by Joseph Heck
64
This bug affects 9 people
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Low
Jamie Lennox

Bug Description

most commands result in this line being printed: 'No handlers could be found for logger "keystoneclient.v2_0.client"'

Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in keystone:
assignee: nobody → Russell Bryant (russellb)
status: Confirmed → In Progress
Changed in keystone:
assignee: Russell Bryant (russellb) → nobody
status: In Progress → Confirmed
Dolph Mathews (dolph)
summary: - fix logging error message
+ No handlers could be found for logger "keystoneclient.v2_0.client"
Thierry Carrez (ttx)
affects: keystone → python-keystoneclient
Revision history for this message
Dolph Mathews (dolph) wrote : Re: No handlers could be found for logger "keystoneclient.v2_0.client"

Raised the priority on this bug now that middleware.auth_token has been moved into keystoneclient.

Changed in python-keystoneclient:
importance: Low → High
summary: - No handlers could be found for logger "keystoneclient.v2_0.client"
+ No handlers could be found for logger ""keystoneclient..."
summary: - No handlers could be found for logger ""keystoneclient..."
+ No handlers could be found for logger "keystoneclient..."
Revision history for this message
Chmouel Boudjnah (chmouel) wrote :

is that for swift ? because we have fixed it here :

https://review.openstack.org/#/c/18446/

Revision history for this message
Dolph Mathews (dolph) wrote :

Chmouel: in general, however I've lowered the priority again since auth_token can be handed an existing logger (thanks!)

This still affects CLI usage

Changed in python-keystoneclient:
importance: High → Low
Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

so does keystoneclient.middleware.auth_token

Changed in python-keystoneclient:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
ZhiQiang Fan (aji-zqfan)
Changed in python-keystoneclient:
status: Confirmed → In Progress
Changed in python-keystoneclient:
assignee: ZhiQiang Fan (aji-zqfan) → Jamie Lennox (jamielennox)
Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

sorry for it, actually i already have a fix in my local branch, but seems more problems are rising when test, especially huge amount of screen logs when running test, (mainly printed by middleware.auth_token module) and i already upload other patch to fix those problem first

sorry again, wish i have more time to working on openstack

Dolph Mathews (dolph)
tags: removed: python-keystoneclient
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/88097
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=59daf4bf02b60a523d7f68004b75316086e91d2a
Submitter: Jenkins
Branch: master

commit 59daf4bf02b60a523d7f68004b75316086e91d2a
Author: Brant Knudson <email address hidden>
Date: Wed Apr 16 17:07:03 2014 -0500

    CLI always configures logging

    When the keystone CLI wound up logging something and --debug
    wasn't set, a message was printed that 'No handlers could be
    found for logger <whatever>'. This is because Python logging
    was only configured when the --debug option was set.

    This change makes it so that logging is always configured. If
    --debug is used then the level is DEBUG and if it's not used
    then the level is WARNING.

    Change-Id: Ib01d1072acff0d6ede468b0ecab4f871459014ee
    Closes-Bug: #936404

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.9.0
Dolph Mathews (dolph)
Changed in python-keystoneclient:
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.