#7176 ipa-replica-install does not create topologysegment
Closed: duplicate Opened by frenaud.

When a replica is installed in domain-level 1 using ipa-replica-install, the topologysegement entries are not created.

Steps to reproduce:
Install ipa master with

/usr/sbin/ipa-server-install -n $DOMAIN -r $REALM -p $PASSWORD -a $PASSWORD --setup-dns --forwarder $FORWARDER --auto-reverse -U

Install the replica with

/usr/sbin/ipa-client-install --domain $DOMAIN --realm $REALM -p admin -w $PASSWORD -U
kinit admin
ipa-replica-install

Check the topology suffixes:

ipa topologysuffix-find
---------------------------
2 topology suffixes matched
---------------------------
  Suffix name: ca
  Managed LDAP suffix DN: o=ipaca
  Suffix name: domain
  Managed LDAP suffix DN: dc=domain,dc=com
----------------------------
Number of entries returned 2
----------------------------

Check the topology segments:

ipa topologysegment-find domain
------------------
0 segments matched
------------------
----------------------------
Number of entries returned 0
----------------------------

This step should display topology segments from master to replica and from replica to master.

Attaching errors log from the master

errors

Reproducible with ipa from the master branch, commit 7902fc9a0


Duplicate of https://pagure.io/freeipa/issue/7228

Metadata Update from @frenaud:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

Metadata