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.
The version was 389-ds-base-1.3.3.9-1 (F21).
A write operation (like a DEL) can update nsuniqueid index. in betxn_postop when it tries to update the changelog/ruv, it tries to update the replica agreements and so acquire the RA locks.
If at the same time, the replica agreement is started, it triggers an internal search to retrieve the current ruv. It does internal search using nsuniqueid and so while it is holding the RA lock it accesses the nsuniqueid index.
Could be related to fix:
Ticket 47368 - IPA server dirsrv RUV entry data excluded from replication
How to reproduce:
I reproduced it several times on VM F21 with ticket47787_test.py
(In reply to Sankar Ramalingam from comment #3)
> To verify this bug, I think its enough to run the upstream test
> ticket47787_test.py on RHEL7.2 with latest 389-ds-base.
Yes, Thierry noted it in the ticket https://fedorahosted.org/389/ticket/48179. Please repeat the testcase several times. Just once may not be good enough...
> How to reproduce:
> I reproduced it several times on VM F21 with ticket47787_test.py
Thanks!
Comment 5Sankar Ramalingam
2015-09-14 08:53:16 UTC
I repeated the tests 4 times on a latest RHEL7.2 VM and I didn't see any deadlock/failure in the tests. Hence, marking the bug as Verified.
Build tested:
389-ds-base-1.3.4.0-15.el7.x86_64
389-ds-base-libs-1.3.4.0-15.el7.x86_64
DEBUG:lib389:running: /usr/sbin/remove-ds.pl -i slapd-master_1
Instance slapd-master_1 removed.
INFO:lib389:dir (sys) : //etc/sysconfig
INFO:lib389:dir (priv): /home/sramling/.dirsrv
INFO:lib389:List from /home/sramling/.dirsrv
INFO:lib389:list instance {'RUN_DIR': '/var/run/dirsrv', 'DS_ROOT': '', 'SERVER_DIR': '/usr/lib64/dirsrv', 'INST_DIR': '/usr/lib64/dirsrv/slapd-master_2', 'SERVERBIN_DIR': '/usr/sbin', 'CONFIG_DIR': '/etc/dirsrv/slapd-master_2', 'PRODUCT_NAME': 'slapd'}
DEBUG:lib389:running: /usr/sbin/remove-ds.pl -i slapd-master_2
Instance slapd-master_2 removed.
INFO:ticket47787_test:Testcase PASSED
PASSED
================================================================= 3 passed in 108.10 seconds ==================================================================
[root@dhcp35-196 sramling]# ./run_dirsrv.sh ticket47787_test.py
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://rhn.redhat.com/errata/RHBA-2015-2351.html