Bug 1929067

Summary: PKI instance creation failed with new 389-ds-base build
Product: Red Hat Enterprise Linux 8 Reporter: Kaleem <ksiddiqu>
Component: pki-coreAssignee: Jack Magne <jmagne>
Status: CLOSED ERRATA QA Contact: PKI QE <bugzilla-pkiqe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: aakkiang, abokovoy, edewata, gswami, jmagne, lmiksik, mreynolds, rcritten, rhcs-maint, sveerank
Target Milestone: rcKeywords: Regression, TestBlocker, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pki-core-10.6-8040020210225170414.d4d99205 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1933146 1933147 1949136 (view as bug list) Environment:
Last Closed: 2021-05-18 15:25:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1933146, 1933147, 1949136    
Attachments:
Description Flags
ipa server install , ds error , ca debug log combined in one file. none

Description Kaleem 2021-02-16 08:04:56 UTC
Created attachment 1757198 [details]
ipa server install , ds error ,  ca debug log combined in one file.

Description of problem:

PKI instance creation failed with following error message 

Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
  [1/28]: configuring certificate server instance
Failed to configure CA instance: CalledProcessError(Command ['/usr/sbin/pkispawn', '-s', 'CA', '-f', '/tmp/tmpznto2c35', '--debug'] returned non-zero exit status 1: 'INFO: Connecting to LDAP server at ldap://ci-vm-10-0-102-13.testrealm.test:389\nINFO: Connecting to LDAP server at ldap://ci-vm-10-0-102-13.testrealm.test:389\nDEBUG: Installing Maven dependencies: 
....
.......
....
See the installation logs and the following files/directories for more information:
  /var/log/pki/pki-tomcat
  [error] RuntimeError: CA configuration failed.
CA configuration failed.



Version-Release number of selected component (if applicable):
[root@ci-vm-10-0-102-13 ca]# rpm -q ipa-server 389-ds-base pki-ca
ipa-server-4.9.2-1.module+el8.4.0+9973+3d202164.x86_64
389-ds-base-1.4.3.16-10.module+el8.4.0+9902+6195a65d.x86_64
pki-ca-10.10.4-1.module+el8.4.0+9861+7cddd5b6.noarch
[root@ci-vm-10-0-102-13 ca]# 


How reproducible:
Always

Steps to Reproduce:
1. Install IPA server with latest nightly compose

Actual results:
PKI instance creation fails during IPA install

Expected results:
PKI instance creation should be successful during IPA install

Additional info:
Please find the attached log files (ipa-server-install.log, erros log from dirsrv, ca debug logs)

Comment 6 Jack Magne 2021-02-22 22:18:47 UTC
Checkins:

v10.10:

commit 21735b429228bef5e4d56ad154685d4942e9fe25 (HEAD -> v10.10, origin/v10.10)
Author: jmagne <jmagne>
Date:   Mon Feb 22 13:44:20 2021 -0800

    pkispawn fails against 389-ds 1.4.3.19 #3458 (#3465)
    
    Add suggested patch from stanislavlevin to solve this issue.
    Also add f34 to the ipa tests,this time really add the tests.
    Upon further review, back out of f34 tests until the infractructure
    supports it.
    
    Also hardcode tomcat app setting in spec file for the moment to
    avoid possible glitches on certain platform.
    
    Co-authored-by: Jack Magne <jmagne>

master:

commit 48778b2f63cd6d7d4372eeb6b87570c23d862e46 (HEAD -> master, origin/master, origin/HEAD)
Author: jmagne <jmagne>
Date:   Mon Feb 22 13:44:20 2021 -0800

    pkispawn fails against 389-ds 1.4.3.19 #3458 (#3465)
    
    Add suggested patch from stanislavlevin to solve this issue.
    Also add f34 to the ipa tests,this time really add the tests.
    Upon further review, back out of f34 tests until the infractructure
    supports it.
    
    Also hardcode tomcat app setting in spec file for the moment to
    avoid possible glitches on certain platform.
    
    Co-authored-by: Jack Magne <jmagne>

Marking POST:

Comment 13 Alex Scheel 2021-02-25 14:45:46 UTC
Requesting z-stream on this BZ so we can fix 8.2.z where RHDS has already shipped the fix.

Comment 17 mreynolds 2021-03-01 20:26:43 UTC
Fixed in DS:

389-ds-1.4-8040020210301201527-866effaa

Comment 27 errata-xmlrpc 2021-05-18 15:25:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1775