Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1510341

Summary: Third KRA installation in topology fails
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED DUPLICATE QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: ftweedal, pvoborni, rcritten, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 23:38:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Vobornik 2017-11-07 09:23:00 UTC
Cloned from upstream: https://pagure.io/freeipa/issue/7220

When running the test `TestInstallWithCA_KRA_DNS2`, it fails at the step `test_replica2_ipa_kra_install`, which installs a third KRA to a replica:
```
[2/9]: configuring KRA instance

2017-10-16T14:57:00Z DEBUG The ipa-kra-install command failed, exception: RuntimeError: KRA configuration failed.
2017-10-16T14:57:00Z ERROR KRA configuration failed.
2017-10-16T14:57:00Z ERROR The ipa-kra-install command failed. See /var/log/ipaserver-kra-install.log for more information
```

The same happens in the test `TestInstallWithCA_KRA2`.
(FreeIPA version freeipa-server-4.5.90test-0.fc25.x86_64)

[![debug.gz](/freeipa/issue/raw/597a34c747d576925dd5a38a9f0848e346aa9592bad94558f0fc37fa1b4a9b69-debug.gz)](/freeipa/issue/raw/597a34c747d576925dd5a38a9f0848e346aa9592bad94558f0fc37fa1b4a9b69-debug.gz)
[![ipaserver-kra-install.log.gz](/freeipa/issue/raw/032ce7b5cd5b101a30abd3861a45e0f37deee8bacfb1ba77837285aaad1debe7-ipaserver-kra-install.log.gz)](/freeipa/issue/raw/032ce7b5cd5b101a30abd3861a45e0f37deee8bacfb1ba77837285aaad1debe7-ipaserver-kra-install.log.gz)
[![pki-kra-spawn.20171016145515.log.gz](/freeipa/issue/raw/e4afed3a3c172f97ece2ee527d33374d4dfb0546bef113448b292dd249eeaf13-pki-kra-spawn.20171016145515.log.gz)](/freeipa/issue/raw/e4afed3a3c172f97ece2ee527d33374d4dfb0546bef113448b292dd249eeaf13-pki-kra-spawn.20171016145515.log.gz)

Comment 2 Petr Vobornik 2017-11-07 09:23:19 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7220

Comment 3 Fraser Tweedale 2017-12-12 23:38:45 UTC
This was fixed on Dogtag side:

PKI upstream ticket: https://pagure.io/dogtagpki/issue/2557
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1402280

The only change in IPA was to re-enable the disabled tests, which
does not need backport.  So I'm closing this as DUPLICATE of BZ 1402280.

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