Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
With rhel 8.5 build, a persistent search on "cn=monitor" can be proceed and entries are returned, even if errors log shows :
"sync-plugin - sync_create_state_control - Entries are missing nsuniqueid. Unable to proceed"
With rhel 9.0, the same persistent search won't return any entry, because additional checking is done on sync_create_state_control :
[19/Jul/2021:11:45:30.174646214 -0400] - ERR - content-sync-plugin - sync_create_state_control - Entries are missing nsuniqueid. Unable to proceed.
[19/Jul/2021:11:45:30.179232382 -0400] - ERR - send_ldap_search_entry_ext - Error 1 returned by pre entry plugins for entry cn=monitor
We should have the same level of control in RHEL 8.5 and persistent search should be interrupted when sync_repl control can't be performed on the requested entries.
Version-Release number of selected component (if applicable):
89-ds-base-0:1.4.3.23-4.module+el8.5.0+11627+16aed726
How reproducible:
Always
Steps to Reproduce:
- Create an instance with sample entries
- Enabled Content Synchronization and Retro Changelog Plugin
- Restarted the instance
- Performed a persistent search on cn=monitor :
# ldapsearch -LLL -h localhost -p 1389 -D "cn=directory manager" -w secret12 -E sync=rp -b 'cn=monitor'
Actual results:
Entries are returned :
dn: cn=monitor
...
dn: cn=counters,cn=monitor
...
dn: cn=disk space,cn=monitor
...
dn: cn=snmp,cn=monitor
...
Expected results:
No entry is returned
An ERR message is displayed in errors log showing the issue
Additional info:
With 389-ds-base-1.4.3.23-7.module+el8.5.0+11979+655d714b.x86_64
Manual steps performed (see https://bugzilla.redhat.com/show_bug.cgi?id=1960723#c1) for details:
- Create an instance with sample entries
- Enabled Content Synchronization and Retro Changelog Plugin
- Restart the instance
- Perform a persistent search on cn=monitor :
# ldapsearch -LLL -h localhost -p 1389 -D "cn=directory manager" -w secret12 -E sync=rp -b 'cn=monitor'
SyncInfo Received
^C
No entry is returned
In errors log :
[06/Aug/2021:06:06:56.633142659 -0400] - ERR - content-sync-plugin - sync_create_state_control - Entries are missing nsuniqueid. Unable to proceed.
[06/Aug/2021:06:06:56.640760793 -0400] - ERR - send_ldap_search_entry_ext - Error 1 returned by pre entry plugins for entry cn=snmp,cn=monitor
Marking as verified:tested
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 (389-ds-base bug fix and enhancement 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/RHBA-2021:4203