Suggest python-ldap/python-ldappool packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Low
|
Unassigned | ||
Liberty |
Won't Fix
|
Undecided
|
Unassigned | ||
keystone (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Description]
Some customers require to configure LDAP or AD as the authentication backend
for Keystone.
Since Juno, the LDAP auth backend of keystone requires the ldappool module to exists
on the system.
If the system doesn't have this package installed or gets removed by any of its
reverse dependencies or auto remove, the following exception is raised by keystone:
2016-08-07 06:47:24.486089 Traceback (most recent call last):
2016-08-07 06:47:24.486107 File "/var/www/
2016-08-07 06:47:24.486164 application = wsgi_server.
2016-08-07 06:47:24.486176 File "/usr/lib/
2016-08-07 06:47:24.486223 startup_
2016-08-07 06:47:24.486234 File "/usr/lib/
2016-08-07 06:47:24.486275 drivers = backends.
2016-08-07 06:47:24.486285 File "/usr/lib/
2016-08-07 06:47:24.486327 _IDENTITY_API = identity.Manager()
2016-08-07 06:47:24.486338 File "/usr/lib/
2016-08-07 06:47:24.486501 init(self, *args, **kwargs)
2016-08-07 06:47:24.486515 File "/usr/lib/
2016-08-07 06:47:24.486594 init(self, *args, **kwargs)
2016-08-07 06:47:24.486606 File "/usr/lib/
2016-08-07 06:47:24.486622 self.__
2016-08-07 06:47:24.486630 File "/usr/lib/
2016-08-07 06:47:24.486884 super(Manager, self)._
2016-08-07 06:47:24.486899 File "/usr/lib/
2016-08-07 06:47:24.486957 self.driver = load_driver(
2016-08-07 06:47:24.486968 File "/usr/lib/
2016-08-07 06:47:24.486982 invoke_args=args)
2016-08-07 06:47:24.486993 File "/usr/lib/
2016-08-07 06:47:24.487053 verify_
2016-08-07 06:47:24.487064 File "/usr/lib/
2016-08-07 06:47:24.487119 verify_
2016-08-07 06:47:24.487132 File "/usr/lib/
2016-08-07 06:47:24.487265 self._on_
2016-08-07 06:47:24.487278 File "/usr/lib/
2016-08-07 06:47:24.487295 verify_
2016-08-07 06:47:24.487304 File "/usr/lib/
2016-08-07 06:47:24.487330 verify_
2016-08-07 06:47:24.487340 File "/usr/lib/
2016-08-07 06:47:24.487352 plugin = ep.resolve()
2016-08-07 06:47:24.487360 File "/usr/lib/
2016-08-07 06:47:24.487815 module = __import_
2016-08-07 06:47:24.487841 File "/usr/lib/
2016-08-07 06:47:24.487947 from keystone.common import ldap as common_ldap
2016-08-07 06:47:24.487959 File "/usr/lib/
2016-08-07 06:47:24.487994 from keystone.
2016-08-07 06:47:24.488005 File "/usr/lib/
2016-08-07 06:47:24.488319 import ldappool
2016-08-07 06:47:24.488353 ImportError: No module named ldappool
[Suggested Solution]
Add the python-ldap and python-ldappool packages as Suggested packages
for keystone.
tags: | added: sts |
Changed in cloud-archive: | |
status: | New → Fix Committed |
Changed in keystone (Ubuntu Xenial): | |
status: | New → Won't Fix |
Changed in cloud-archive: | |
importance: | Undecided → Low |
The issue here is that @kilo/wily, ldappool and ldap where hard dependencies (when they should not have been). This was corrected for liberty, making these packages eligible for removal on upgrades.
Adding them as Recommends it probably the right thing todo here.