Hide Forgot
Description of problem: In a replicated environment, there is a need to sometimes check if two databases are fully synchronized: * same number of entries * for each entry, same number of attributes with same pairs keys:values Such tool will help Support to quickly identify missing entries and entries which have discrepancies ( example: different values for a given attribute ) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Upstream ticket: https://pagure.io/389-ds-base/issue/49239
Fixed upstream (1.3.7) http://www.port389.org/docs/389ds/design/repl-diff-tool-design.html
Looks good
[root@qeos-44 ds]# py.test -v dirsrvtests/tests/suites/ds_tools/replcheck_test.py ================== test session starts ================== platform linux -- Python 3.6.3, pytest-3.4.1, 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-855.el7.x86_64-x86_64-with-redhat-7.5-Maipo', 'Packages': {'pytest': '3.4.1', 'py': '1.5.2', 'pluggy': '0.6.0'}, 'Plugins': {'metadata': '1.6.0', 'html': '1.16.1'}} 389-ds-base: 1.3.7.5-18.el7 nss: 3.34.0-4.el7 nspr: 4.17.0-1.el7 openldap: 2.4.44-13.el7 svrcore: 4.1.3-2.el7 rootdir: /mnt/tests/rhds/tests/upstream/ds, inifile: plugins: metadata-1.6.0, html-1.16.1 collected 5 items dirsrvtests/tests/suites/ds_tools/replcheck_test.py::test_check_ruv PASSED [ 20%] dirsrvtests/tests/suites/ds_tools/replcheck_test.py::test_missing_entries PASSED [ 40%] dirsrvtests/tests/suites/ds_tools/replcheck_test.py::test_tombstones PASSED [ 60%] dirsrvtests/tests/suites/ds_tools/replcheck_test.py::test_conflict_entries PASSED [ 80%] dirsrvtests/tests/suites/ds_tools/replcheck_test.py::test_inconsistencies PASSED [100%] ================== 5 passed in 184.81 seconds ================== Marking 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-2018:0811