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 1984091 - persistent search returns entries even when an error is returned by content-sync-plugin [rhel-8.4.0.z]
Summary: persistent search returns entries even when an error is returned by content-s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: LDAP Maintainers
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On: 1983921
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-20 16:19 UTC by RHEL Program Management Team
Modified: 2021-08-12 16:26 UTC (History)
4 users (show)

Fixed In Version: 389-ds-1.4-8040020210721074904.96015a92
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1983921
Environment:
Last Closed: 2021-08-10 13:59:33 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3079 0 None None None 2021-08-10 13:59:40 UTC

Comment 1 thierry bordaz 2021-07-21 07:31:29 UTC
Fix pushed upstream => POST

Comment 6 Akshay Adhikari 2021-07-28 11:46:33 UTC
Build tested: 389-ds-base-1.4.3.16-19.module+el8.4.0+11894+f5bb5c43.x86_64

Steps:

1) Create an instance with sample entries

2) Enable Content Synchronization and Retro Changelog Plugin

# ldapmodify -D "cn=directory manager" -w password -p 389 -h localhost
dn: cn=Content Synchronization,cn=plugins,cn=config
changetype: modify
replace: nsslapd-pluginEnabled
nsslapd-pluginEnabled: on

modifying entry "cn=Content Synchronization,cn=plugins,cn=config"

dn: cn=Retro Changelog Plugin,cn=plugins,cn=config
changetype: modify
replace: nsslapd-pluginEnabled
nsslapd-pluginEnabled: on

modifying entry "cn=Retro Changelog Plugin,cn=plugins,cn=config"

3) Restarted the instance

4) Performed a persistent search on cn=monitor :

# ldapsearch -LLL -h localhost -p 389 -D "cn=directory manager" -w password -E sync=rp -b 'cn=monitor'
SyncInfo Received


No entry is returned.

An ERROR message is displayed in the error log showing the issue.

[28/Jul/2021:07:35:29.624617855 -0400] - ERR - content-sync-plugin - sync_create_state_control - Entries are missing nsuniqueid. Unable to proceed.
[28/Jul/2021:07:35:29.624941108 -0400] - ERR - send_ldap_search_entry_ext - Error 1 returned by pre entry plugins for entry cn=snmp,cn=monitor


Marking as VERIFIED.

Comment 10 errata-xmlrpc 2021-08-10 13:59: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 (Low: 389-ds:1.4 security and bug fix update), 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/RHSA-2021:3079


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