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.

Bug 1912822

Summary: sync_repl: when completing an operation in the pending list, it can select the wrong operation
Product: Red Hat Enterprise Linux 8 Reporter: Varun Mylaraiah <mvarun>
Component: 389-ds-baseAssignee: thierry bordaz <tbordaz>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: ldap-maint, mreynolds, pcech, rcritten, sgouvern, sorlov, tbordaz, tscherf, twoerner
Target Milestone: rcKeywords: Regression, TestBlocker, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-1.4-8040020210203193446-866effaa Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:45:44 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 Varun Mylaraiah 2021-01-05 11:40:49 UTC
Description of problem:

Cloned
https://pagure.io/freeipa/issue/8538

The nightly test test_dns_locations.py::TestDNSLocations::test_without_locations is failing when the repo updates-testing is enabled, see PR 468 [testing_master_testing].
logs, report

The issue appeared with 389-ds update to 389-ds-base-1.4.3.13-1.fc32.x86_64 and seems indeed linked to the new version, as we can see errors in dirsrv error log:

[11/Oct/2020:05:20:44.915642535 +0000] - ERR - content-sync-plugin - ignore_op_pl can not retrieve an operation (0x7f4cf370fe00) in pending list
[11/Oct/2020:05:20:46.108335425 +0000] - ERR - content-sync-plugin - ignore_op_pl can not retrieve an operation (0x7f4cf370f600) in pending list
[11/Oct/2020:05:20:46.151355081 +0000] - ERR - content-sync-plugin - ignore_op_pl can not retrieve an operation (0x7f4cf370f600) in pending list
[11/Oct/2020:05:20:47.282344683 +0000] - ERR - content-sync-plugin - ignore_op_pl can not retrieve an operation (0x7f4cef172400) in pending list
[...]
[11/Oct/2020:05:22:58.728373068 +0000] - ERR - content-sync-plugin - ignore_op_pl operation (0x7f4cdbebbe00) from the pending list
[11/Oct/2020:05:22:58.780623922 +0000] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUV - Rebuilding the replication changelog RUV, this may take several minutes...
[11/Oct/2020:05:22:58.781926757 +0000] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUV - Rebuilding replication changelog RUV complete.  Result 0 (Success)
[11/Oct/2020:05:22:58.786714788 +0000] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUV - Rebuilding the replication changelog RUV, this may take several minutes...
[11/Oct/2020:05:22:58.787986129 +0000] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUV - Rebuilding replication changelog RUV complete.  Result 0 (Success)
[11/Oct/2020:05:22:58.799454840 +0000] - ERR - content-sync-plugin - ignore_op_pl can not retrieve an operation (0x7f4cdbea1a00) in pending list
[11/Oct/2020:05:22:59.977005627 +0000] - INFO - NSMMReplicationPlugin - repl5_tot_run - Beginning total update of replica "agmt="cn=meToreplica1.ipa.test" (replica1:389)".
[11/Oct/2020:05:22:59.982389030 +0000] - NOTICE - NSMMReplicationPlugin - replica_subentry_check - Need to create replication keep alive entry <cn=repl keep alive 4,dc=ipa,dc=test>
[11/Oct/2020:05:22:59.983814557 +0000] - INFO - NSMMReplicationPlugin - replica_subentry_create - add dn: cn=repl keep alive 4,dc=ipa,dc=test
objectclass: top
objectclass: ldapsubentry
objectclass: extensibleObject
cn: repl keep alive 4
[11/Oct/2020:05:23:02.774513033 +0000] - INFO - NSMMReplicationPlugin - repl5_tot_run - Finished total update of replica "agmt="cn=meToreplica1.ipa.test" (replica1:389)". Sent 499 entries.
[11/Oct/2020:05:23:04.777601506 +0000] - ERR - content-sync-plugin - ignore_op_pl can not retrieve an operation (0x7f4cdbea1a00) in pending list

The issue may be linked to https://github.com/389ds/389-ds-base/issues/4363, @tbordaz is already investigating.

Comment 1 Varun Mylaraiah 2021-01-05 11:45:36 UTC
Failure in test_dns_locations.py::TestDNSLocations

ipa-server version: 4.9.0
389-ds-base-version: 1.4.3.16

Job Details:
http://idm-artifacts.usersys.redhat.com/trigger-test-suite/master/4174/trigger//report.html 
http://idm-artifacts.usersys.redhat.com/trigger-test-suite/master/4175/trigger//report.html

Comment 4 thierry bordaz 2021-01-19 11:12:46 UTC
upstream ticket https://github.com/389ds/389-ds-base/issues/4526

Comment 7 thierry bordaz 2021-01-27 11:54:10 UTC
Fix pushed upstream => POST

Comment 14 errata-xmlrpc 2021-05-18 15:45:44 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 (389-ds:1.4 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:1835

Comment 15 Red Hat Bugzilla 2023-09-15 00:57:42 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days