RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2076633 - ipa-server-install fails with 'RuntimeError: CA configuration failed'
Summary: ipa-server-install fails with 'RuntimeError: CA configuration failed'
Keywords:
Status: CLOSED DUPLICATE of bug 2075154
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pki-core
Version: 9.1
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: RHCS Maintainers
QA Contact: PKI QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-19 14:16 UTC by Varun Mylaraiah
Modified: 2022-04-25 15:29 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-25 15:29:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-119242 0 None None None 2022-04-19 14:28:35 UTC

Description Varun Mylaraiah 2022-04-19 14:16:27 UTC
Description of problem:
 ipa-server-install fails with 'RuntimeError: CA configuration failed'

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install IPA server 


Actual results: Install fails at CA configuration

Done configuring Kerberos KDC (krb5kdc).
2022-04-19T13:38:03+0000 Configuring kadmin
2022-04-19T13:38:03+0000   [1/2]: starting kadmin 
2022-04-19T13:38:03+0000   [2/2]: configuring kadmin to start on boot
2022-04-19T13:38:03+0000 Done configuring kadmin.
2022-04-19T13:38:03+0000 Configuring ipa-custodia
2022-04-19T13:38:03+0000   [1/5]: Making sure custodia container exists
2022-04-19T13:38:03+0000   [2/5]: Generating ipa-custodia config file
2022-04-19T13:38:03+0000   [3/5]: Generating ipa-custodia keys
2022-04-19T13:38:03+0000   [4/5]: starting ipa-custodia 
2022-04-19T13:38:03+0000   [5/5]: configuring ipa-custodia to start on boot
2022-04-19T13:38:03+0000 Done configuring ipa-custodia.
2022-04-19T13:38:03+0000 Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
2022-04-19T13:38:03+0000   [1/29]: configuring certificate server instance
2022-04-19T13:38:03+0000   [error] RuntimeError: CA configuration failed.
2022-04-19T13:38:03+0000 
2022-04-19T13:38:03+0000 STDERR: Checking DNS domain testrealm.test., please wait ...
2022-04-19T13:38:03+0000 Checking DNS domain 201.0.10.in-addr.arpa., please wait ...
2022-04-19T13:38:03+0000 DNS zone 201.0.10.in-addr.arpa. already exists in DNS and is handled by server(s): ['infoblox-trust01.intranet.prod.int.rdu2.redhat.com.', 'infoblox-trust01.intranet.prod.int.phx2.redhat.com.', 'ns02.intranet.prod.int.phx2.redhat.com.', 'ns01.intranet.prod.int.phx2.redhat.com.']
2022-04-19T13:38:03+0000 Synchronizing time
2022-04-19T13:38:03+0000 No SRV records of NTP servers found and no NTP server or pool address was provided.
2022-04-19T13:38:03+0000 Attempting to sync time with chronyc.
2022-04-19T13:38:03+0000 Process chronyc waitsync failed to sync time!
2022-04-19T13:38:03+0000 Unable to sync time with chrony server, assuming the time is in sync. Please check that 123 UDP port is opened, and any time server is on network.
2022-04-19T13:38:03+0000 Validate installation settings ...
2022-04-19T13:38:03+0000 Create file system structures ...
2022-04-19T13:38:03+0000 Perform SELinux labeling ...
2022-04-19T13:38:03+0000 Create database backend: dc=testrealm,dc=test ...
2022-04-19T13:38:03+0000 Perform post-installation tasks ...
2022-04-19T13:38:03+0000 Failed to configure CA instance
2022-04-19T13:38:03+0000 See the installation logs and the following files/directories for more information:
2022-04-19T13:38:03+0000   /var/log/pki/pki-tomcat
2022-04-19T13:38:03+0000 CA configuration failed.
2022-04-19T13:38:03+0000 The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

Expected results: IPA install should be successful.

Comment 4 Rob Crittenden 2022-04-19 14:47:28 UTC
Please provide the CA spawn and debug logs.

Comment 7 Rob Crittenden 2022-04-20 13:13:58 UTC
I can reproduce this as well. Re-assigning to the pki team for investigation.

Comment 11 Endi Sukma Dewata 2022-04-25 15:29:25 UTC
Hi, I think this is the same issue reported in bug #2077764
(i.e. same stack trace) which was caused by an incomplete
update of PKI packages in RHEL 9.1 (bug #2075154), so I'll
mark this as a duplicate.

The update should be complete now so please try again. Feel
free to reopen if it's still a problem. Thanks!

*** This bug has been marked as a duplicate of bug 2075154 ***


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