#9435 BDB tuning should be applied only when BDB backend is used
Closed: fixed 8 months ago by frenaud. Opened 9 months ago by vashirov.

Issue

I'm testing installation of IPA with 389-ds-base and MDB backend. During installation it fails at step [2/43]: tune ldbm plugin

Steps to Reproduce

NSSLAPD_DB_LIB=mdb ipa-server-install --domain=ipa.test --realm=IPA.TEST --ds-password=password --admin-password=password --hostname=$(hostname -f) --no-forwarders --allow-zone-overlap --setup-dns -U

Actual behavior

Configuring directory server (dirsrv). Estimated time: 30 seconds
  [1/43]: creating directory server instance
Validate installation settings ...
Create file system structures ...
Perform SELinux labeling ...
Create database backend: dc=ipa,dc=test ...
Perform post-installation tasks ...
  [2/43]: tune ldbm plugin
Failed to load ldbm-tuning.ldif: CalledProcessError(Command ['/usr/bin/ldapmodify', '-v', '-f', '/usr/share/ipa/ldbm-tuning.ldif', '-H', 'ldapi://%2Frun%2Fslapd-IPA-TEST.socket', '-Y', 'EXTERNAL'] returned non-zero exit status 32: 'ldap_initialize( ldapi://%2Frun%2Fslapd-IPA-TEST.socket/??base )\nSASL/EXTERNAL authentication started\nSASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\nSASL SSF: 0\nldap_modify: No such object (32)\n')
  [error] CalledProcessError: CalledProcessError(Command ['/usr/bin/ldapmodify', '-v', '-f', '/usr/share/ipa/ldbm-tuning.ldif', '-H', 'ldapi://%2Frun%2Fslapd-IPA-TEST.socket', '-Y', 'EXTERNAL'] returned non-zero exit status 32: 'ldap_initialize( ldapi://%2Frun%2Fslapd-IPA-TEST.socket/??base )\nSASL/EXTERNAL authentication started\nSASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\nSASL SSF: 0\nldap_modify: No such object (32)\n')
CalledProcessError(Command ['/usr/bin/ldapmodify', '-v', '-f', '/usr/share/ipa/ldbm-tuning.ldif', '-H', 'ldapi://%2Frun%2Fslapd-IPA-TEST.socket', '-Y', 'EXTERNAL'] returned non-zero exit status 32: 'ldap_initialize( ldapi://%2Frun%2Fslapd-IPA-TEST.socket/??base )\nSASL/EXTERNAL authentication started\nSASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\nSASL SSF: 0\nldap_modify: No such object (32)\n')
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

Expected behavior

BDB tuning should only be applied when BDB backend is used.

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server

freeipa-server-4.10.2-1.fc38.x86_64
freeipa-client-4.10.2-1.fc38.x86_64
package ipa-server is not installed
package ipa-client is not installed
389-ds-base-2.3.7-1.fc38.x86_64
package pki-ca is not installed
krb5-server-1.21-3.fc38.x86_64

master:

  • 953c7cc BDB tuning should be applied only when BDB backend is used

ipa-4-11:

  • 3f874ee BDB tuning should be applied only when BDB backend is used

ipa-4-10:

  • bb127a1 BDB tuning should be applied only when BDB backend is used

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

8 months ago

Login to comment on this ticket.

Metadata