Bug 2109490
| Summary: | regression, backport issue 5353 to RHDS-11 - CLI - dsconf backend export breaks with multiple backends | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Marc Sauton <msauton> |
| Component: | 389-ds-base | Assignee: | mreynolds |
| Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> |
| Severity: | medium | Docs Contact: | Zuzana Zoubkova <zzoubkov> |
| Priority: | unspecified | ||
| Version: | 11.5 | CC: | aadhikar, afarley, asakure, emartyny, hkhot, jachapma, ldap-maint, mreynolds, tbordaz, tmihinto |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | dirsrv-11.6 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | redhat-ds-11-8070020221019193157-95958119 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-14 08:53:14 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
2022-07-21 11:41:21 UTC
Build tested: Steps: 1) Created two backends dsconf -D "cn=Directory Manager" ldap://`hostname` backend create --suffix="dc=example,dc=net" --be-name="example" dsconf -D "cn=Directory Manager" ldap://`hostname` backend create --suffix="dc=example,dc=com" --be-name="userroot" 2) List backends so confirm # dsconf -D "cn=Directory Manager" ldap://`hostname` backend suffix list 3) Perform an export operation dsconf test backend export userroot -U -l /var/lib/dirsrv/slapd-test/ldif/userRoot.ldif The export task has finished successfully dsconf is not breaking, Marking it as VERIFIED. Build Tested: 389-ds-base-1.4.3.31-5.module+el8dsrv+16686+3df5ff63.x86_64 Regression found when enabling replication, fixed upstream via https://github.com/389ds/389-ds-base/pull/5485 Verified bug with the following parameters: RHDS 11 package 389-ds-base-1.4.3.31-6.module+el8dsrv+16980+c4b9cd33 https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2217285 Steps: 1) Created multiple backends dsconf -D "cn=Directory Manager" -w password ldap://`hostname` backend create --suffix="dc=example,dc=net" --be-name="example" dsconf -D "cn=Directory Manager" -w password ldap://`hostname` backend create --suffix="dc=example,dc=com" --be-name="userroot" dsconf -D "cn=Directory Manager" -w password ldap://`hostname` backend create --suffix="dc=example,dc=test" --be-name="testRoot"" 2) List backends to confirm dsconf -D "cn=Directory Manager" -w password ldap://`hostname` backend suffix list dc=example,dc=com (userroot) dc=example,dc=net (example) dc=example,dc=test (testroot) 3) Perform an export operation on each be dsconf localhost backend export userroot -U -l /var/lib/dirsrv/slapd-localhost/ldif/userRoot.ldif The export task has finished successfully dsconf localhost backend export example -U -l /var/lib/dirsrv/slapd-localhost/ldif/example.ldif The export task has finished successfully dsconf localhost backend export testRoot -U -l /var/lib/dirsrv/slapd-localhost/ldif/testRoot.ldif The export task has finished successfully Setting to 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 (redhat-ds:11 bug fix and enhancement update), 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-2022:7929 |