Discrepancy between methods of viewing ipa-servers replication agreements

Solution Verified - Updated -

Issue

  • The results of the commands below do not match and confuse the customer to rely on those results.


    ipa-replica-manage list $(hostname -f) --- ipa topologysegment-find domain --leftnode=$(hostname -f) ipa topologysegment-find domain --rightnode=$(hostname -f)
  • Here is an example of the issue;

    [root@ipaserver01 ~]# ipa-replica-manage list $(hostname -f)
    ipaserver02.example.ipa: replica
    ipaserver03.example.ipa: replica
    ipaserver04.example.ipa: replica
    ipaserver05.example.ipa: replica
    ipaserver06.example.ipa: replica
    
    
    [root@ipaserver01 ~]# ipa topologysegment-find domain --leftnode=$(hostname -f)
    ------------------
    3 segments matched
    ------------------
    Segment name: ipaserver01.example.ipa-to-ipaserver02.example.ipa
    Left node: ipaserver01.example.ipa
    Right node: ipaserver02.example.ipa
    Connectivity: both
    
    Segment name: ipaserver01.example.ipa-to-ipaserver03.example.ipa
    Left node: ipaserver01.example.ipa
    Right node: ipaserver03.example.ipa
    Connectivity: both
    
    Segment name: ipaserver01.example.ipa-to-ipaserver05.example.ipa
    Left node: ipaserver01.example.ipa
    Right node: ipaserver05.example.ipa
    Connectivity: both
    ----------------------------
    Number of entries returned 3
    ----------------------------
    
    
    [root@ipaserver01 ~]# ipa topologysegment-find domain --rightnode=$(hostname -f)
    -----------------
    1 segment matched
    -----------------
    Segment name: ipaserver07.example.ipa-to-ipaserver01.example.ipa
    Left node: ipaserver07.example.ipa
    Right node: ipaserver01.example.ipa
    Connectivity: both
    ----------------------------
    Number of entries returned 1
    ----------------------------
    
  • Note that if we cross the results we can check that ipaserver04, ipaserver06, and ipaserver07 does not matches.

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • Identity Management (IPA)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content