Bug 1579702

Summary: Replication stops working when MemberOf plugin is enabled on hub and consumer [rhel-7.5.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: urgent Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: urgent    
Version: 7.5CC: mreynolds, msauton, nkinder, rmeggins, spichugi
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.7.5-22 Doc Type: Bug Fix
Doc Text:
Previously, if an update operation on a replication hub server triggered the memberOf plug-in to update an entry, the update failed to be logged in to the Directory Server changelog. Consequently, replication stopped working. With this update, Directory Server running as a replication hub no longer writes to the changelog if the update operation was internal. As a result, replication no longer fails when using the memberOf plug-in on replication hubs.
Story Points: ---
Clone Of: 1574602 Environment:
Last Closed: 2018-06-26 16:49:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1574602    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-05-18 07:23:02 UTC
This bug has been copied from bug #1574602 and has been proposed to be backported to 7.5 z-stream (EUS).

Comment 4 Simon Pichugin 2018-06-11 15:07:53 UTC
dirsrvtests/tests/suites/memberof_plugin/regression_test.py::test_memberof_with_repl verifies thew ussue.

=========================== test session starts ===========================
platform linux -- Python 3.6.3, pytest-3.6.1, py-1.5.3, 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-862.el7.x86_64-x86_64-with-redhat-7.5-Maipo', 'Packages': {'pytest': '3.6.1', 'py': '1.5.3', 'pluggy': '0.6.0'}, 'Plugins': {'metadata': '1.7.0', 'html': '1.19.0'}}
389-ds-base: 1.3.7.5-23.el7_5
nss: 3.34.0-4.el7
nspr: 4.17.0-1.el7
openldap: 2.4.44-13.el7
svrcore: 4.1.3-2.el7
FIPS: 0

rootdir: /mnt/tests/rhds/tests/upstream/ds, inifile:
plugins: metadata-1.7.0, html-1.19.0
collected 3 items

dirsrvtests/tests/suites/memberof_plugin/regression_test.py::test_memberof_with_repl PASSED                                                                                            [ 33%]
dirsrvtests/tests/suites/memberof_plugin/regression_test.py::test_scheme_violation_errors_logged PASSED                                                                                [ 66%]
dirsrvtests/tests/suites/memberof_plugin/regression_test.py::test_memberof_with_changelog_reset PASSED                                                                                 [100%]

======================== 3 passed in 211.99 seconds ========================

Marking as verified.

Comment 6 mreynolds 2018-06-19 15:13:14 UTC
Fixing a space issue, otherwise good!

Comment 8 errata-xmlrpc 2018-06-26 16:49:33 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:1988