Bug https://pagure.io/freeipa/issue/7790 and my log analysis of other installations show repeatedly that 389-DS complains about a missing index on ipaconfigstring.
Unindexed Component #1 (notes=U) - Date/Time: 03/Dec/2018:17:42:08 - Connection Number: 289891 - Operation Number: 16 - Etime: 0.0000473303 - Nentries: 1 - IP Address: 172.16.1.81 - Search Base: cn=ops-ovc-ipa-1.ops.example.com,cn=masters,cn=ipa,cn=etc,dc=example,dc=com - Search Scope: 2 (subtree) - Search Filter: (&(objectclass=ipaconfigobject)(ipaconfigstring=enabledservice)(cn=ca)) - Bind DN: uid=admin,cn=users,cn=accounts,dc=example,dc=com
The ipaConfigString attribute is used in service definition in the cn=masters,cn=ipa,cn=etc,$SUFFIX subtree. It is queried to find active services, servers with a CA, the CA renewal master, and so on. The attribute is not only used during installation and in ipactl, but also in virtually any command that deals with CA, certs, and vault/KRA. Since not every IPA server has to be a CA master, clients and servers use a search with filter (ipaConfigString=enabledService) to locate a CA or KRA server.
ipaConfigString
cn=masters,cn=ipa,cn=etc,$SUFFIX
ipactl
(ipaConfigString=enabledService)
logconf.pl
logconf shows unindexed filters with ipaconfigstring.
There should be no unindexed filters.
freeipa-server-4.7.2-0
IPA should add an eq and maybe also a pres index on ipaconfigstring
eq
pres
ipaconfigstring
dn: cn=ipaconfigstring,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config objectClass: top objectClass: nsIndex cn: ipaconfigstring nsIndexType: eq nsIndexType: pres nsSystemIndex: false
Metadata Update from @cheimes: - Issue set to the milestone: FreeIPA 4.6.5 - Issue tagged with: performance
Metadata Update from @cheimes: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2649
Metadata Update from @cheimes: - Issue assigned to cheimes
master:
ipa-4-6:
ipa-4-7:
The new indices will be available in 4.7.3 and next 4.6 update.
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)