← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1687115] [NEW] LDAPServerConnectionError gives out too much info

 

Public bug reported:

Exception LDAPServerConnectionError
(https://git.openstack.org/cgit/openstack/keystone/tree/keystone/exception.py?h=12.0.0.0b1#n597)
is now implemented as a subclass of Error. It gives out too much info
about setup (that LDAP is used) and it should not set its error code.

Instead, it should be implemented as subclass of UnexpectedError and
debug_message_format should be used, like in
https://git.openstack.org/cgit/openstack/keystone/tree/keystone/exception.py?h=12.0.0.0b1#n491

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1687115

Title:
  LDAPServerConnectionError gives out too much info

Status in OpenStack Identity (keystone):
  New

Bug description:
  Exception LDAPServerConnectionError
  (https://git.openstack.org/cgit/openstack/keystone/tree/keystone/exception.py?h=12.0.0.0b1#n597)
  is now implemented as a subclass of Error. It gives out too much info
  about setup (that LDAP is used) and it should not set its error code.

  Instead, it should be implemented as subclass of UnexpectedError and
  debug_message_format should be used, like in
  https://git.openstack.org/cgit/openstack/keystone/tree/keystone/exception.py?h=12.0.0.0b1#n491

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1687115/+subscriptions


Follow ups