keystone/releasenotes/notes/mapping_populate-521d92445505b8a3.yaml
Boris Bobrov b1fdad9875 Add mapping_populate command
Fetching users from LDAP requires creating public ids for them.
id_mapping_api does that. Creating public ids is slow, because it
requires performing N INSERTs for N users, and there is no way to
work around that. It leads to very slow responses to queries like
"list users".

By pre-creating these public ids we improve API users' experience.

Add keystone-manage mapping_populate command that creates id mapping entries
for users.

bp ldap-preprocessing
Partial-Bug: 1582585
Change-Id: I98f795854aee26f9e7f668372c47572d2b6d4f0f
2016-08-23 20:52:10 +00:00

14 lines
572 B
YAML

---
prelude: >
Add ``keystone-manage mapping_populate`` command, which
should be used when domain-specific LDAP backend is
used.
features:
- Add ``keystone-manage mapping_populate`` command.
This command will pre-populate a mapping table with all
users from LDAP, in order to improve future query
performance. It should be used when an LDAP is first
configured, or after calling ``keystone-manage mapping_purge``,
before any queries related to the domain are made. For more
information see ``keystone-manage mapping_populate --help``