Debug statement breaks live ldap

Bug #1185555 reported by Sahdev Zala on 2013-05-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Sahdev Zala

Bug Description

    def search_s(self, dn, scope, query, attrlist=None):
        if LOG.isEnabledFor(logging.DEBUG):
                'LDAP search: dn=%(dn)s, scope=%(scope)s, query=%(query)s, '
                'attrs=%(attrs)s') % {
                    'dn': dn,
                    'scope': scope,
                    'query': query,
                    'attrlist': attrlist})

breaks the live ldap test with'key error'... attrs vs attrlist.

Sahdev Zala (spzala) on 2013-05-29
Changed in keystone:
assignee: nobody → Sahdev Zala (spzala)
Dolph Mathews (dolph) on 2013-05-29
Changed in keystone:
status: New → Confirmed
importance: Undecided → High

Fix proposed to branch: master

Changed in keystone:
status: Confirmed → In Progress

Submitter: Jenkins
Branch: master

commit d67e31b70ca648c8ca0a3cb76f421b3be257d4c5
Author: Sahdev Zala <email address hidden>
Date: Wed May 29 15:08:32 2013 -0500

    Fix the debug statement.

    Fixes bug1185555

    Change-Id: Ia3932bd4ca6cc786e9cc8bdac48f5313c915b228

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-07-17
Changed in keystone:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in keystone:
milestone: havana-2 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers