Bug 2028447 - After ipa-backup completes, starting pki-tomcatd service failed with result 'timeout'
Summary: After ipa-backup completes, starting pki-tomcatd service failed with result '...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pki-core
Version: 8.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: RHCS Maintainers
QA Contact: idm-cs-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-02 12:20 UTC by Sam Wachira
Modified: 2023-08-01 14:55 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:
ckelley: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCS-3494 0 None None None 2022-12-06 15:16:13 UTC
Red Hat Issue Tracker RHELPLAN-104555 0 None None None 2021-12-02 12:45:21 UTC

Comment 12 Florence Blanc-Renaud 2022-02-04 15:55:13 UTC
@mreynolds, thanks for the explanations.

Summary
--------

on startup, PKI server makes a VLV search that can take so much time that the startup sequence considers that PKI timed-out.

The culprit VLV search is the following:
SRCH base="ou=keyRepository,ou=kra,o=kra,o=ipaca" scope=1 filter="(&(&(objectClass=top)(objectClass=keyRecord))(serialno=*))" attrs=ALL

PKI needs to configure VLV indexes in order to speed up this type of query. Currently, the following is defined (from ./base/kra/shared/conf/vlv.ldif):

dn: cn=allKeys-pki-tomcat,cn=ipaca,cn=ldbm database,cn=plugins,cn=config
objectClass: top
objectClass: vlvSearch
vlvFilter: (&(serialno=*)(!(realm=*)))
vlvScope: 1
vlvBase: ou=keyRepository,ou=kra,o=kra,o=ipaca
cn: allKeys-pki-tomcat

but it doesn't correspond to the searxh filter used in the slow query, and cannot improve its performance.

PKI needs to define VLV indexes corresponding to the queries it performs. Hence moving this BZ to PKI component.


Note You need to log in before you can comment on or make changes to this bug.