#6083 Replica install fails with old IPA master
Closed: Fixed None Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1354493

Description of problem:

This is seen when 7.3 replica is created from 6.8 based IPA master.


Version-Release number of selected component (if applicable):
[root@dhcp207-81 ~]# rpm -q ipa-server 389-ds-base
ipa-server-4.4.0-1.el7.x86_64
389-ds-base-1.3.5.10-1.el7.x86_64
[root@dhcp207-81 ~]#

How reproducible:
Always

Steps to Reproduce:
1. Install a 6.8 IPA master
2. Copy copy-to-ca-schema.py and run it on 6.8 IPA master
3. Create replica gpg file for 7.3 replica on 6.8 IPA master and copy it to 7.3
replica
4. Run ipa-replica-install on 7.3 replica with gpg file

Actual results:
ipa-replica-install fails with following error

Restarting the directory server
Restarting the KDC
Configuring DNS (named)
  [1/8]: generating rndc key file
  [2/8]: setting up our own record
  [3/8]: adding NS record to the zones
  [4/8]: setting up kerberos principal
  [5/8]: setting up named.conf
  [6/8]: setting up server configuration
  [error] NotFound: container entry (cn=servers,cn=dns) not found
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

ipa.ipapython.install.cli.install_tool(Replica): ERROR    container entry (cn=servers,cn=dns) not found
ipa.ipapython.install.cli.install_tool(Replica): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information


Expected results:
ipa-replica-install should be successful

Additional Info:
(1) Please find the attached replica-install log file.

The same error can be reproduced when setting up 4.4.0 replica against 4.3.1 master:

Configuring DNS (named)
  [1/8]: generating rndc key file
  [2/8]: setting up our own record
  [3/8]: adding NS record to the zones
  [4/8]: setting up kerberos principal
  [5/8]: setting up named.conf
  [6/8]: setting up server configuration
  [error] NotFound: container entry (cn=servers,cn=dns) not found
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

ipa.ipapython.install.cli.install_tool(Replica): ERROR    container entry (cn=servers,cn=dns) not found
ipa.ipapython.install.cli.install_tool(Replica): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information

master:

  • 37bfd1f DNS install: Ensure that DNS servers container exists

Metadata Update from @pvoborni:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.4.1

7 years ago

Login to comment on this ticket.

Metadata