Bug 767024
| Summary: | MMR: when a subtree is deleted and the backend is exported with -r, importing the ldif fails. | ||
|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Noriko Hosoi <nhosoi> |
| Component: | Replication - General | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED DUPLICATE | QA Contact: | Chandrasekar Kannan <ckannan> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.2.10 | CC: | benl, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-13 16:19:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Upstream ticket: https://fedorahosted.org/389/ticket/8 Note: https://fedorahosted.org/389/ticket/8 is closed as a duplicate of ticket 2. marking as screened because it has been cloned upstream *** This bug has been marked as a duplicate of bug 736431 *** |
Description of problem: Steps to reproduce: 1) set up MMR 2) create a subtree in the database dc=example,dc=com | ou=orgunit0 | \ ou=orgunit00 ou=orgunit01 | \ uid=tuser000 uid=tuser010 uid=tuser001 uid=tuser011 Delete ou=orgunit0 3) shutdown the server 4) export the backend: # /usr/lib[64]/dirsrv/slapd-ID/db2ldif -n userRoot -r 5) import the exported file # /usr/lib[64]/dirsrv/slapd-ID/ldif2db -n userRoot -i /path/to/ldif/file [..] - import userRoot: Processing file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" [..] - import userRoot: Finished scanning file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" (18 entries) [..] - import userRoot: WARNING: Skipping entry "nsuniqueid=ceb8df01-252711e1-856cfebb-9066bfc6,ou=orgunit00,ou=orgunit0,dc=example,dc=com" which has no parent, ending at line 201 of file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" [..] - import userRoot: WARNING: Skipping entry "nsuniqueid=ceb8df02-252711e1-856cfebb-9066bfc6,ou=orgunit01,ou=orgunit0,dc=example,dc=com" which has no parent, ending at line 218 of file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" [..] - import userRoot: WARNING: Skipping entry "nsuniqueid=ceb8df03-252711e1-856cfebb-9066bfc6,uid=tuser000,ou=orgunit00,ou=orgunit0,dc=example,dc=com" which has no parent, ending at line 240 of file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" [..] - import userRoot: WARNING: Skipping entry "nsuniqueid=ceb8df04-252711e1-856cfebb-9066bfc6,uid=tuser001,ou=orgunit00,ou=orgunit0,dc=example,dc=com" which has no parent, ending at line 262 of file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" [..] - import userRoot: WARNING: Skipping entry "nsuniqueid=ceb8df05-252711e1-856cfebb-9066bfc6,uid=tuser010,ou=orgunit01,ou=orgunit0,dc=example,dc=com" which has no parent, ending at line 284 of file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" [..] - import userRoot: WARNING: Skipping entry "nsuniqueid=ceb8df06-252711e1-856cfebb-9066bfc6,uid=tuser011,ou=orgunit01,ou=orgunit0,dc=example,dc=com" which has no parent, ending at line 306 of file "/var/lib/dirsrv/slapd-kiki0/ldif/kiki0-userRoot-2011_12_12_172236.ldif" [..] - import userRoot: WARNING: bad entry: ID 12 [..] - import userRoot: WARNING: bad entry: ID 13 [...] [..] - import userRoot: WARNING: bad entry: ID 16 [..] - import userRoot: WARNING: bad entry: ID 17 [..] - import userRoot: Workers finished; cleaning up... [..] - import userRoot: Workers cleaned up. [..] - import userRoot: Cleaning up producer thread... [..] - import userRoot: Indexing complete. Post-processing... [..] - import userRoot: Flushing caches... [..] - import userRoot: Closing files... [..] - All database threads now stopped [..] - import userRoot: Import complete. Processed 18 entries (6 were skipped) in 5 seconds. (3.60 entries/sec)