Bug 2245942

Summary: After an upgrade the LDAP server won't start if nsslapd-conntablesize is present in the dse.ldif file [11.9]
Product: Red Hat Directory Server Reporter: thierry bordaz <tbordaz>
Component: 389-ds-baseAssignee: LDAP Maintainers <idm-ds-dev-bugs>
Status: CLOSED NOTABUG QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: medium Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 11.8CC: idm-ds-dev-bugs, musoni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2245946 (view as bug list) Environment:
Last Closed: 2023-10-25 10:36:56 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: 2245946, 2256585, 2265539    

Description thierry bordaz 2023-10-24 16:58:00 UTC
Description of problem:
After an OS upgrade, the LDAP server won't start.

One needs to remove the nsslapd-conntablesize definition from the /etc/dirsrv/slapd-<INSTANCE>/dse.ldif before the server could be started.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
Configure a custom value for the CT size ( so the configuration parameter nsslapd-conntablesize is present in the dse.ldif file )
Upgrade the system
The LDAP server won't start after the upgrade
From the errors log:
[17/Oct/2023:14:45:29.422170234 +0200] - ERR - dse_read_one_file - The entry cn=config in file /etc/dirsrv/slapd-<INSTANCE>/dse.ldif (lineno: 17) is invalid, error code 1 (Operations error) - User setting of nsslapd-conntablesize attribute is disabled, server has auto calculated its value to 0.
[17/Oct/2023:14:45:29.493095110 +0200] - ERR - init_dse_file - Could not load config file [dse.ldif]
[17/Oct/2023:14:45:29.494808167 +0200] - ERR - setup_internal_backends - Please edit the file to correct the reported problems and then restart the server.

Actual results:
Server fails to start after the upgrade


Expected results:
Server should start after the upgrade


Additional info:

Comment 1 thierry bordaz 2023-10-24 17:32:09 UTC
The fix is pushed upstream -> POST