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.
Cause: tombstone resurrection did not consider the case its parent entry had become a conflict entry. Also, resurrected tombstone treatment was missing in the entryrdn index.
Consequence: The parent-child relationship was confused when a tombstone was resurrected.
Fix: Even if the parent of a tombstone entry has become a conflict entry, the parent-child relationship is correctly managed.
Result: The DIT structure is properly maintained under the stress.
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47750
Example:
dn: ou=test,ou=projects,nsuniqueid=bd44c40a-afc711e3-9b7bd5e4-7027b69c
+o=org246,ou=ou0,dc=example,dc=com
Trying to resurrect ou=test and adding a glue entry ou=projects. Then, the add fails due to its parent not found since o=org246 is a conflict.
210 create_glue_entry ( Slapi_PBlock *pb, char *sessionid, Slapi_DN *dn, const char *uniqueid, CSN *opcsn )
239 op_result= do_create_glue_entry(rdn, superiordn, uniqueid, "missingEntry", opcsn);
254 case LDAP_NO_SUCH_OBJECT:
255 /* The parent is missing */
256 {
257 /* JCMREPL - Create the parent ... recursion?... but what's the uniqueid? */
258 PR_ASSERT(0); /* JCMREPL */ <== This assertion fails.
259 }
Created attachment 894899[details]
test script & data
How to run the test script:
1) setup 3 way mmr (M0 <--> M1 <--> M2 <--> M0)
2) untar the attached tar file reproducer.tar
reproducer/
reproducer/testou.X
reproducer/reproducer.sh
reproducer/test.ldif
3) update reproducer.sh to adjust the servers
port0=389
port1=390
port2=391
DMPW="Secret123"
suffix="dc=example,dc=com"
4) ldapmodify -x ... -af test.ldif
5) sh -x reproducer.sh
If you see a log "Can't resurrect tombstone to glue reason 'deletedEntryHasChildren', Try with conflict dn o=bees##,ou=organizations,<suffix>, error=68" in the error log and the test goes to the end (loop count 200), the bug is verified.
Comment 3Jesse Adelman, Collab.Net
2014-07-28 23:40:32 UTC
Any chance of this getting out of QA and into a release for 5.X and 6.X? :) Thanks.
Comment 4Jesse Adelman, Collab.Net
2014-07-28 23:43:44 UTC
(In reply to Jesse Adelman, Collab.Net from comment #3)
> Any chance of this getting out of QA and into a release for 5.X and 6.X? :)
> Thanks.
Can you wait until RHEL 6.6 is released? Should be another couple of months. That's the only way to get a "supported" fix for this issue.
For RHEL 5, we will need to do an EPEL5 release from the latest 1.2.11 branch.
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.
http://rhn.redhat.com/errata/RHBA-2014-1385.html