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 1590974 - ipa-replica-install is failing with "error] DatabaseError: Operations error: The changelog directory [/var/lib/dirsrv/slapd-EXAMPLE-LOCAL/cldb] already exists and is not empty."
Summary: ipa-replica-install is failing with "error] DatabaseError: Operations error: ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.5
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Ludwig
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-13 20:14 UTC by aheverle
Modified: 2024-03-25 15:05 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-15 20:12:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error log from install (12.54 KB, text/plain)
2018-09-12 13:48 UTC, aheverle
no flags Details
audit log (263.08 KB, text/plain)
2018-10-11 17:20 UTC, aheverle
no flags Details

Description aheverle 2018-06-13 20:14:58 UTC
Description of problem:
When attempting an install of ipa-replica, it fails with with the error below.

#####
[28/42]: setting up initial replication
  [error] DatabaseError: Operations error: The changelog directory [/var/lib/dirsrv/slapd-EXAMPLE-LOCAL/cldb] already exists and is not empty.  Please choose a directory that does not exist or is empty.
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

ipa.ipapython.install.cli.install_tool(CompatServerReplicaInstall): ERROR    Operations error: The changelog directory [/var/lib/dirsrv/slapd-EXAMPLE-LOCAL/cldb] already exists and is not empty.  Please choose a directory that does not exist or is empty.
ipa.ipapython.install.cli.install_tool(CompatServerReplicaInstall): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
#####

Have tried a new VM and still fails.


How reproducible:
Everytime

Steps to Reproduce:
1. ipa-replica-install

Actual results:
Fail

Expected results:
Install

Additional info:
There is no changelog prior to install, but one due to failure.

Before install attempt:

[root@SERVER dirsrv]# ls
scripts-EXAMPLE-LOCAL
[root@SERVER dirsrv]# pwd
/var/lib/dirsrv

After failed install:
[root@SERVER ~]# ls -la /var/lib/dirsrv/slapd-EXAMPLE-LOCAL/cldb/
total 4
drwxr-xr-x. 2 dirsrv dirsrv 23 Jun 13 09:07 .
drwxrwx---. 6 dirsrv dirsrv 51 Jun 13 09:07 ..
-rw-------. 1 dirsrv dirsrv 30 Jun 13 09:07 DBVERSION

Comment 3 Florence Blanc-Renaud 2018-06-14 14:59:56 UTC
Moving the component to 389-ds as it seems to be a DS issue.

Comment 8 aheverle 2018-09-12 13:48:48 UTC
Created attachment 1482696 [details]
error log from install

Comment 15 aheverle 2018-10-11 17:20:51 UTC
Created attachment 1492984 [details]
audit log


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