Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2066790

Summary: RHDS UI - unable to exit cache autotuning settings and set entry cache manually
Product: Red Hat Directory Server Reporter: mreynolds
Component: cockpit-389-dsAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: high Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 12.0CC: emartyny, gkimetto, ldap-maint, sgouvern, spichugi
Target Milestone: ---   
Target Release: dirsrv-12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-ds-12-9000020220323222240.1674d574 Doc Type: Bug Fix
Doc Text:
.Manually changing the entry cache configuration now works correctly in the web console. By default, Directory Server uses automatic cache tuning. However, previously you could not disable the automatic cache tuning setting in the web console and set manually the desired entry cache configuration. This update fixes the problem and, as a result, you can now manually configure the entry cache in the web console.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 15:28:09 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 mreynolds 2022-03-22 13:46:36 UTC
Description of problem:

The server uses auto-tuning by default, but in the UI it impossible to get out of autotuning and manually set the entry cache settings.

You can disable the auto tuning in the global database settings, but since the entry cache "nsslapd-cachesize" is set to "-1" the UI disables the field and you can not edit it.

Comment 1 mreynolds 2022-03-22 15:03:07 UTC
Upstream ticket:

https://github.com/389ds/389-ds-base/pull/5226

Comment 4 sgouvern 2022-04-13 14:54:43 UTC
With cockpit-389-ds-2.0.14-6.module+el9dsrv+14612+ff911707.noarch, 
Database tab / Database Cache Settings :
It's possible to get out of Automatic Cache Tuning. Then a 'Database Cache Size' field is displayed and its value can be manually updated.

Marking as verified

Comment 5 Evgenia Martynyuk 2022-04-25 08:56:04 UTC
Hi Mark! @mreynolds

I have updated the Doc Text filed. Could you please review the RN text?

Comment 6 mreynolds 2022-04-25 13:21:42 UTC
(In reply to Evgenia Martynyuk from comment #5)
> Hi Mark! @mreynolds
> 
> I have updated the Doc Text filed. Could you please review the RN text?

Looks good

Comment 7 Evgenia Martynyuk 2022-04-26 15:29:24 UTC
Marc mmuehlfe has kindly reviewed the RN, comments are implemented.

Comment 9 errata-xmlrpc 2022-05-18 15:28:09 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 (redhat-ds:12 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/RHEA-2022:4664