Bug 1185774

Summary: Missing warning for invalid replica backoff configuration
Product: Red Hat Enterprise Linux 7 Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: aadhikar, mreynolds, nkinder, rmeggins
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.7.5-6.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 14:15:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Viktor Ashirov 2015-01-26 09:21:12 UTC
Description of a problem:
In the scenario where attributes nsds5ReplicaBackoffMin > nsds5ReplicaBackoffMax were set using dse.ldif, an error/warning is logged to indicate the inconsistency only on the server startup. It should be logged when configuration is performed using cn=config as well. 

Version-Release number of selected component (if applicable):
389-ds-base-1.3.3.1-11.el7.x86_64


Steps to Reproduce:
1. Set up a replica
2. Configure nsds5ReplicaBackoffMin > nsds5ReplicaBackoffMax using cn=config.

Actual results:
The warning is not logged.

Expected results:
The warning is logged.
[23/Jan/2015:15:37:48 +0100] NSMMReplicationPlugin - Backoff minimum (10) can not be greater than the backoff maximum (3).  Using default values: min (3) max (300)

Comment 2 Noriko Hosoi 2015-01-28 00:28:08 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/48006

Comment 3 Noriko Hosoi 2015-03-06 20:11:32 UTC
Per 389-ds-base ticket triage, put to post 1.3.5.

Comment 7 Noriko Hosoi 2015-03-06 23:14:20 UTC
I cannot figure out how to disable setting the target version...
This bug is supposed to be set post rhel-7.3.0 (7.4.0?), but it's not allowed.
Setting 7.3.0 for now.

Comment 9 Akshay Adhikari 2018-02-01 12:31:20 UTC
============================================================================ test session starts ============================================================================
platform linux -- Python 3.6.3, pytest-3.4.0, py-1.5.2, pluggy-0.6.0 -- /opt/rh/rh-python36/root/usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.6.3', 'Platform': 'Linux-3.10.0-837.el7.x86_64-x86_64-with-redhat-7.5-Maipo', 'Packages': {'pytest': '3.4.0', 'py': '1.5.2', 'pluggy': '0.6.0'}, 'Plugins': {'metadata': '1.5.1', 'html': '1.16.1'}}
389-ds-base: 1.3.7.5-13.el7
nss: 3.34.0-4.el7
nspr: 4.17.0-1.el7
openldap: 2.4.44-12.el7
svrcore: 4.1.3-2.el7

rootdir: /export/tests, inifile:
plugins: metadata-1.5.1, html-1.16.1
collected 13 items                                                                                                                                                          

suites/replication/acceptance_test.py::test_add_entry PASSED                                                                                                          [  7%]
suites/replication/acceptance_test.py::test_modify_entry PASSED                                                                                                       [ 15%]
suites/replication/acceptance_test.py::test_delete_entry PASSED                                                                                                       [ 23%]
suites/replication/acceptance_test.py::test_modrdn_entry[0] PASSED                                                                                                    [ 30%]
suites/replication/acceptance_test.py::test_modrdn_entry[1] PASSED                                                                                                    [ 38%]
suites/replication/acceptance_test.py::test_modrdn_after_pause PASSED                                                                                                 [ 46%]
suites/replication/acceptance_test.py::test_modify_stripattrs PASSED                                                                                                  [ 53%]
suites/replication/acceptance_test.py::test_new_suffix PASSED                                                                                                         [ 61%]
suites/replication/acceptance_test.py::test_many_attrs PASSED                                                                                                         [ 69%]
suites/replication/acceptance_test.py::test_double_delete PASSED                                                                                                      [ 76%]
suites/replication/acceptance_test.py::test_password_repl_error PASSED                                                                                                [ 84%]
suites/replication/acceptance_test.py::test_invalid_agmt PASSED                                                                                                       [ 92%]
suites/replication/acceptance_test.py::test_warining_for_invalid_replica PASSED                                                                                       [100%]

------------------------------------------------------- generated xml file: /mnt/tests/rhds/tests/upstream/report.xml -------------------------------------------------------
------------------------------------------------------ generated html file: /mnt/tests/rhds/tests/upstream/report.html ------------------------------------------------------
======================================================================== 13 passed in 218.27 seconds ========================================================================

Comment 12 errata-xmlrpc 2018-04-10 14:15:15 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:0811