Bug 2254912

Summary: error 66 when deleting LDAP container with conflict LDAPSubEntry entries
Product: Red Hat Directory Server Reporter: Marc Sauton <msauton>
Component: 389-ds-baseAssignee: LDAP Maintainers <idm-ds-dev-bugs>
Status: CLOSED MIGRATED QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: high Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 11.7CC: idm-ds-dev-bugs, musoni, tbordaz, tmihinto
Target Milestone: DS12.5Keywords: Triaged
Target Release: dirsrv-12.5   
Hardware: All   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-26 13:50:28 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 Marc Sauton 2023-12-17 22:15:48 UTC
Description of problem:

this is related to 
  Add support for recursively deleting subentries #4970 
  https://github.com/389ds/389-ds-base/issues/4970

a customer has been trying to delete an entry but it has some conflict entries ( err 66 and "replication conflicts as children" )

concern is about a recent migration from ODSEE:
"In the previous DSEE environment they could delete an entry with these replication issues"


Version-Release number of selected component (if applicable):

probably RHDS-11.7 on RHEL-8.8 ( no sosreports but mention of 1.4.3.34 )


How reproducible:
on demand

Steps to Reproduce:
1.
2.
3.


Actual results:

[17/Dec/2023:14:23:17.331539318 +0200] conn=373395 op=146 RESULT err=66 tag=107 nentries=0 wtime=0.000060572 optime=0.265873223 etime=0.265926849
[17/Dec/2023:14:23:17.374193736 +0200] conn=373395 op=147 ABANDON targetop=NOTFOUND msgid=145

error log file:
[17/Dec/2023:14:23:17.069617086 +0200] - ERR - ldbm_back_delete - conn=373395 op=146 Deleting entry . . . has replication conflicts as children.


Expected results:


Additional info:

workaround: manual ldapdelete -r

  https://access.redhat.com/solutions/6509671
  RHDS - How to delete a subtree that contains entries which have the LDAPSubEntry objetClass?

Comment 3 Viktor Ashirov 2024-06-26 13:50:28 UTC
This BZ has been automatically migrated to Red Hat Issue Tracker https://issues.redhat.com/browse/DIRSRV-58. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.