yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01133
[Bug 1100461] Re: LDAP connection error due to incorrect debug statements
** Changed in: keystone
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1100461
Title:
LDAP connection error due to incorrect debug statements
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
The debugging statements in the keystone\common\ldap\core.py,
LOG.debug(_("LDAP init: url=%s", url)) and
LOG.debug(_("LDAP bind: dn=%s", user)) throws following error while trying to connect to the LDAP:
TypeError: ugettext() takes exactly 2 arguments (3 given)
Adam Young kindly verified the problem and provided the solution.
To recreate,
1. Start Keystone with LDAP backend
2. Run keystone command e.g. keystone tenant-create --name=test
Note: There are few other similar debug statements in the same class
i.e. class LdapWrapper
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1100461/+subscriptions