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.
Bug 1398594 - ipa topologysuffix-verify should only warn about maximum number of replication agreements.
Summary: ipa topologysuffix-verify should only warn about maximum number of replicatio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-25 11:30 UTC by German Parente
Modified: 2020-03-11 15:25 UTC (History)
4 users (show)

Fixed In Version: ipa-4.5.4-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 16:40:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0918 0 None None None 2018-04-10 16:41:35 UTC

Description German Parente 2016-11-25 11:30:08 UTC
Description of problem:

ipa topologysuffix-verify domain
========================================================
Replication topology of suffix "domain" contains errors.
========================================================
-------------------------------------------------------------
Recommended maximum number of agreements per replica exceeded
-------------------------------------------------------------
  Maximum number of agreements per replica: 4
  Server "p0029ipa03.unix.local" has 5 agreements with servers:
    i22ldap-ipa02.unix.local
    p0029ipa04.unix.local
    p00iuipa02.unix.local
    p029i35ipa02.unix.local
    p00iuipa02.unix.local


the message should turn into a warning or let's disable this check since lots of customers have more than 4 agreements per replica.


Version-Release number of selected component (if applicable): python2-ipaclient-4.4.0-12.el7.noarch 


Additional info:

source code:
========================
========================
        if max_agmts_errors:
            textui.print_dashed(unicode(_('Recommended maximum number of '
                                          'agreements per replica exceeded')))

========================
       # check if suggested maximum number of agreements per replica
        max_agmts_errors = []
        for m in master_cns:
            # chosen direction doesn't matter much given that 'both' is the
            # only allowed direction
            suppliers = graph.get_tails(m)
            if len(suppliers) > self.api.env.recommended_max_agmts:
                max_agmts_errors.append((m, suppliers))

=======================


    # Topology plugin
    ('recommended_max_agmts', 4),  # Recommended maximum number of replication
                                   # agreements
========================

Comment 1 Martin Bašti 2016-11-25 12:07:16 UTC
We have recommendation in docs that max 4 replication agreements should be used
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Linux_Domain_Identity_Authentication_and_Policy_Guide/index.html#replica-topology-recommendations

I'm totally against of removal this check, users should be informed that they don't follow recommendations and putting themselves to risk and inefficient replication.

But to not scary people we may transform this to warning.

Comment 3 Petr Vobornik 2016-12-02 17:35:48 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6533

Comment 6 Mohammad Rizwan 2018-01-10 12:49:00 UTC
version:
ipa-server-4.5.4-7.el7.x86_64

Steps:

1. Install Master with 5 replica just to exceed the recommended limit.
2. $ ipa topologysuffix-verify domain

Actual result:

[root@master ~]# ipa topologysuffix-verify domain
-------------------------------------------------------------
Recommended maximum number of agreements per replica exceeded
-------------------------------------------------------------
  Maximum number of agreements per replica: 4
  Server "master.testrelm.test" has 5 agreements with servers:
    replica1.testrelm.test
    replica2.testrelm.test
    replica3.testrelm.test
    replica4.testrelm.test
    replica5.testrelm.test

[root@master ~]# ipa server-find
---------------------
6 IPA servers matched
---------------------
  Server name: master.testrelm.test
  Min domain level: 0
  Max domain level: 1

  Server name: replica1.testrelm.test
  Min domain level: 0
  Max domain level: 1

  Server name: replica2.testrelm.test
  Min domain level: 0
  Max domain level: 1

  Server name: replica3.testrelm.test
  Min domain level: 0
  Max domain level: 1

  Server name: replica4.testrelm.test
  Min domain level: 0
  Max domain level: 1

  Server name: replica5.testrelm.test
  Min domain level: 0
  Max domain level: 1
----------------------------
Number of entries returned 6
----------------------------

Warning can be seen when recommended replication agreement exceeded.

Based on above observation marking the bug verified.

Comment 9 errata-xmlrpc 2018-04-10 16:40:25 UTC
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-2018:0918


Note You need to log in before you can comment on or make changes to this bug.