Bug 1603140
Summary: | Export produces a non-importable ldif file. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | German Parente <gparente> |
Component: | 389-ds-base | Assignee: | Ludwig <lkrispen> |
Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.6 | CC: | aadhikar, cpelland, mreynolds, nkinder, pasik, rmeggins, vashirov |
Target Milestone: | rc | ||
Target Release: | 7.7 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.3.9.1-2.el7 | Doc Type: | Bug Fix |
Doc Text: |
Cause: If replication is enabled for a suffix before the suffix entry is added the entryID of the RUV entry is smaller than the suffix entry and exported before the suffix entry.
Consequence: During import it is skipped because the suffix was not yet imported. A new RUV element will be created, but the data genration is different and replication will fail
Fix: check if the suffix is already exported when writing the RUV entry, if necessary delay the writing of the RUV entry
Result: a ldif export can be used for import and replication succeeds
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-06 12:58:42 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1647919 |
Description
German Parente
2018-07-19 09:49:33 UTC
Upstream ticket https://pagure.io/389-ds-base/issue/50232 [root@rhel7-aadhikar1 dirsrvtests]# py.test tests/tickets/ticket50232_test.py ============================================================================ test session starts ============================================================================ platform linux -- Python 3.6.3, pytest-4.4.0, py-1.8.0, pluggy-0.9.0 389-ds-base: 1.3.9.1-5.el7 nss: 3.43.0-6.el7 nspr: 4.21.0-1.el7 openldap: 2.4.44-21.el7_6 cyrus-sasl: 2.1.26-23.el7 FIPS: disabled rootdir: /root/389-ds-base/dirsrvtests plugins: metadata-1.8.0, html-1.20.0 collected 2 items tests/tickets/ticket50232_test.py .. [100%] ================================================================== 2 passed in 40.74 seconds =================================================================== Marking it as VERIFIED. 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://access.redhat.com/errata/RHBA-2019:2152 |