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.
Bug 1603140 - Export produces a non-importable ldif file.
Summary: Export produces a non-importable ldif file.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 7.7
Assignee: Ludwig
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks: 1647919
TreeView+ depends on / blocked
 
Reported: 2018-07-19 09:49 UTC by German Parente
Modified: 2020-09-13 22:18 UTC (History)
7 users (show)

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
Clone Of:
Environment:
Last Closed: 2019-08-06 12:58:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 3291 0 None None None 2020-09-13 22:18:30 UTC
Red Hat Product Errata RHBA-2019:2152 0 None None None 2019-08-06 12:59:00 UTC

Description German Parente 2018-07-19 09:49:33 UTC
Description of problem:

A customer is exporting its data with "db2ldif -r" and the ldif has, as first entry, the ruv. The result is that the generated file is not straightfully imported:


# entry-id: 1
dn: nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=example,dc=com
objectClass: top
objectClass: nsTombstone
objectClass: extensibleobject
nsUniqueId: ffffffff-ffffffff-ffffffff-ffffffff
nsds50ruv: {replicageneration} 5b4e2610000000010000
nsds50ruv: {replica 1 ldap://example1.example.com:389} 5b4e261000010001000
 0 5b4e2610002300010000
nsds50ruv: {replica 2 ldap://example2.example.com:389}
dc: example
nscpEntryDN: dc=example,dc=com
nsruvReplicaLastModified: {replica 1 ldap://example1.example.com:389} 5b4e
 2610
nsruvReplicaLastModified: {replica 2 ldap://example2.example.com:389} 0000
 0000

# entry-id: 2
dn: dc=example,dc=com
objectClass;vucsn-5b4e2610000100010000: domain
objectClass;vucsn-5b4e2610000100010000: top
dc;vucsn-5b4e2610000100010000;mdcsn-5b4e2610000100010000: example
description;vucsn-5b4e2610000100010000: Root of the directory
creatorsName;vucsn-5b4e2610000100010000: cn=directory manager
modifiersName;vucsn-5b4e2610000100010000: cn=directory manager
createTimestamp;vucsn-5b4e2610000100010000: 20180717172328Z
modifyTimestamp;vucsn-5b4e2610000100010000: 20180717172328Z
nsUniqueId: 1e61a805-89e611e8-87c6f971-856b23a3

Version-Release number of selected component (if applicable): 389-ds-base-1.3.7.5-19.el7_5.x86_64


How reproducible: I have not managed to reproduce it yet. Only the customer.

Comment 2 mreynolds 2019-03-15 14:17:00 UTC
Upstream ticket

https://pagure.io/389-ds-base/issue/50232

Comment 4 Akshay Adhikari 2019-04-30 11:51:42 UTC
[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.

Comment 6 errata-xmlrpc 2019-08-06 12:58:42 UTC
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


Note You need to log in before you can comment on or make changes to this bug.