lack of debug logging for federation flows

Bug #1389586 reported by Steve Martinelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Steve Martinelli

Bug Description

There is a distinct lack of debug logging in the federation branch of the code, making debugging certain mapping assertions harder than it needs to be:

steve:keystone$ grep 'LOG' -r keystone/contrib/federation/*
keystone/contrib/federation/core.py:LOG = logging.getLogger(__name__)
keystone/contrib/federation/idp.py:LOG = log.getLogger(__name__)
keystone/contrib/federation/idp.py: LOG.error(msg)
keystone/contrib/federation/idp.py: LOG.error(msg)
keystone/contrib/federation/utils.py:LOG = log.getLogger(__name__)
keystone/contrib/federation/utils.py: LOG.warning(_('Ignoring user name %s'),

We should add some more debug logging.

Changed in keystone:
assignee: nobody → Rodrigo Duarte (rodrigodsousa)
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/132995

Changed in keystone:
assignee: Rodrigo Duarte (rodrigodsousa) → Steve Martinelli (stevemar)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/132995
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=c6730f3a01e1eaafd2689a7847f079d68ed70717
Submitter: Jenkins
Branch: master

commit c6730f3a01e1eaafd2689a7847f079d68ed70717
Author: Steve Martinelli <email address hidden>
Date: Thu Nov 6 05:28:21 2014 -0500

    Additional debug logs for federation flows

    Adds debug logging for federation flows, specifically around the
    mapping functions.

    Change-Id: I40ed26173937d2b6b74f6228cf8e61373ea88b86
    Closes-Bug: #1389586

Changed in keystone:
status: In Progress → Fix Committed
Changed in keystone:
milestone: none → kilo-1
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (feature/hierarchical-multitenancy)

Fix proposed to branch: feature/hierarchical-multitenancy
Review: https://review.openstack.org/138182

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (feature/hierarchical-multitenancy)

Change abandoned by Morgan Fainberg (<email address hidden>) on branch: feature/hierarchical-multitenancy
Review: https://review.openstack.org/138182

Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: kilo-1 → 2015.1.0
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.