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.
Description of problem:
When installing ipa server with two replicas in a "star" topology I get star topology for "domain" suffix and line topology for "ca" suffix.
Version-Release number of selected component (if applicable):
ipa-server-4.6.5-6.el7.x86_64
How reproducible:
4 of 6 times in my experiments
Steps to Reproduce:
Having 3 machines with hostnames master1.testrelm.test, replica1.testrelm.test, replica2.testrelm.test
1. On master1 execute:
ipa-server-install -n testrelm.test -r TESTRELM.TEST -p Secret123 -a Secret123 --domain-level=1 -U --setup-dns --forwarder 192.168.121.1 --auto-reverse
echo Secret123 | kinit admin
ipa dnsrecord-add testrelm.test replica1.testrelm.test. --a-rec REPLICA1_IP
ipa dnsrecord-add testrelm.test replica2.testrelm.test. --a-rec REPLICA2_IP
ipa dnsconfig-mod --allow-sync-ptr=true
2. On replica1 execute:
ipa-client-install -U --domain testrelm.test --realm TESTRELM.TEST -p admin -w Secret123 --server master1.testrelm.test
echo Secret123 | kinit admin
ipa-replica-install -p Secret123 -w Secret123 -U --setup-ca --ip-address REPLICA1_IP -r TESTRELM.TEST
3. On replica2 execute:
ipa-client-install -U --domain testrelm.test --realm TESTRELM.TEST -p admin -w Secret123 --server master1.testrelm.test
echo Secret123 | kinit admin
ipa-replica-install -p Secret123 -w Secret123 -U --setup-ca --ip-address REPLICA2_IP -r TESTRELM.TEST
4. On master execute ipa topologysegment-find ca
Actual results:
------------------
2 segments matched
------------------
Segment name: master1.testrelm.test-to-replica1.testrelm.test
Left node: master1.testrelm.test
Right node: replica1.testrelm.test
Connectivity: both
Segment name: replica1.testrelm.test-to-replica2.testrelm.test
Left node: replica1.testrelm.test
Right node: replica2.testrelm.test
Connectivity: both
----------------------------
Number of entries returned 2
----------------------------
Expected results:
------------------
2 segments matched
------------------
Segment name: master1.testrelm.test-to-replica1.testrelm.test
Left node: master1.testrelm.test
Right node: replica1.testrelm.test
Connectivity: both
Segment name: master1.testrelm.test-to-replica2.testrelm.test
Left node: master1.testrelm.test
Right node: replica2.testrelm.test
Connectivity: both
----------------------------
Number of entries returned 2
----------------------------
Additional info:
Output of "ipa topologysegment-find domain" is as expected:
------------------
2 segments matched
------------------
Segment name: master1.testrelm.test-to-replica1.testrelm.test
Left node: master1.testrelm.test
Right node: replica1.testrelm.test
Connectivity: both
Segment name: master1.testrelm.test-to-replica2.testrelm.test
Left node: master1.testrelm.test
Right node: replica2.testrelm.test
Connectivity: both
----------------------------
Number of entries returned 2
----------------------------
On Fedora 28 (freeipa-server-4.7.2-1.1.fc28.x86_64) and on RHEL8.0 (ipa-server-4.7.1-11.module+el8+2842+7481110c.x86_64) I get expected result -- star topology for both ca and domain suffixes:
[root@master1 vagrant]# ipa topologysegment-find ca
------------------
2 segments matched
------------------
Segment name: master1.testrelm.test-to-replica1.testrelm.test
Left node: master1.testrelm.test
Right node: replica1.testrelm.test
Connectivity: both
Segment name: master1.testrelm.test-to-replica2.testrelm.test
Left node: master1.testrelm.test
Right node: replica2.testrelm.test
Connectivity: both
----------------------------
Number of entries returned 2
----------------------------
[root@master1 vagrant]# ipa topologysegment-find domain
------------------
2 segments matched
------------------
Segment name: master1.testrelm.test-to-replica1.testrelm.test
Left node: master1.testrelm.test
Right node: replica1.testrelm.test
Connectivity: both
Segment name: master1.testrelm.test-to-replica2.testrelm.test
Left node: master1.testrelm.test
Right node: replica2.testrelm.test
Connectivity: both
----------------------------
Number of entries returned 2
----------------------------
Comment 3Florence Blanc-Renaud
2019-05-03 09:07:51 UTC
version:
ipa-server-4.6.5-8.el7.x86_64
Steps:
Steps used as mentioned in description.
Actual result:
[root@master ~]# ipa topologysegment-find ca
------------------
2 segments matched
------------------
Segment name: master.testrelm.test-to-replica1.testrelm.test
Left node: master.testrelm.test
Right node: replica1.testrelm.test
Connectivity: both
Segment name: master.testrelm.test-to-replica2.testrelm.test
Left node: master.testrelm.test
Right node: replica2.testrelm.test
Connectivity: both
----------------------------
Number of entries returned 2
----------------------------
[root@master ~]#
[root@master ~]# ipa topologysegment-find domain
------------------
2 segments matched
------------------
Segment name: master.testrelm.test-to-replica1.testrelm.test
Left node: master.testrelm.test
Right node: replica1.testrelm.test
Connectivity: both
Segment name: master.testrelm.test-to-replica2.testrelm.test
Left node: master.testrelm.test
Right node: replica2.testrelm.test
Connectivity: both
----------------------------
Number of entries returned 2
----------------------------
Based on above observations, marking the bug as verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2019:2241