#5966 Missing 'ipa-ca' records for replica installed by replica promotion
Closed: Fixed Opened by mbasti.

A/AAAA records are not added for replica.

Steps to reproduce:
1. [master]# ipa-server-install
1. [replica]# ipa-replica-install
1. [replica]# ipa-ca-install
1. A/AAAA records in 'ipa-ca' does not contain IP addresses of replica


Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=837369 (Red Hat Enterprise Linux 7)

master:

  • 5693d195501611c6abe9dbdf1370b898ffa6b3c7 CA replica promotion: add proper CA DNS records

ipa-4-3:

  • 8502fe4883d33afab57cfc4cb4695ed8061daa7e CA replica promotion: add proper CA DNS records

ipa-4-3:

  • afee95a82e13732fbdb72a6c07e8241da29154d0 CA replica promotion: fix forgotten import

Bug detected:

[ipa.ipatests.test_integration.host.Host.replica1.cmd23]   [25/25]: Updating DNS CA records
[ipa.ipatests.test_integration.host.Host.replica1.cmd23] Updating DNS system records
[ipa.ipatests.test_integration.host.Host.replica1.cmd23]   [error] AttributeError: ldap2 is not connected (ldap2_140624950979984 in MainThread)
[ipa.ipatests.test_integration.host.Host.replica1.cmd23] ipa.ipapython.install.cli.install_tool(Replica): ERROR    ldap2 is not connected (ldap2_140624950979984 in MainThread)
[ipa.ipatests.test_integration.host.Host.replica1.cmd23] ipa.ipapython.install.cli.install_tool(Replica): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
[ipa.ipatests.test_integration.host.Host.replica1.cmd23] Your system may be partly configured.
[ipa.ipatests.test_integration.host.Host.replica1.cmd23] Run /usr/sbin/ipa-server-install --uninstall to clean up.

master:

  • a155f692e7ad7807a5ea28250d1e72b3e821991e Fix replica install with CA

Patch for ipa-4-3 needed

ipa-4-3:

  • 4edd39fb05dfd92924fc7f0c37fee3d269edf298 Fix replica install with CA

Metadata Update from @mbasti:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.3.2

Metadata