Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-165

Web UI: import cache autosize off/on fails

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • dirsrv-13.0
    • dirsrv-12.5
    • cockpit-389-ds
    • None
    • cockpit-389-ds-3.0.6-1.el10dsrv
    • None
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      Description of a problem

      When tuning 'import cache', if I 

      Version-Release number of the selected component

      rpm -q 389-ds-base cockpit-389-ds

      389-ds-base-2.5.2-1.el9.x86_64
      cockpit-389-ds-2.5.1-2.module+el9dsrv+22071+e756ccfb.noarch

      Browser (if applicable)

      Firefox

      Steps to reproduce

      1.Create an instance
      2.Select 'Database'->'Import Cache': it displays Autotuning selected, import cache autosize=-1
      dn: cn=bdb,cn=config,cn=ldbm database,cn=plugins,cn=config
      nsslapd-import-cachesize: 16777216
      nsslapd-import-cache-autosize: -1
      
      3.deselect 'autotuning'. It shows 'import cache size: 16Mb' and save
      dn: cn=bdb,cn=config,cn=ldbm database,cn=plugins,cn=config
      nsslapd-import-cachesize: 16777216
      nsslapd-import-cache-autosize: 0
      
      4.select 'autotuning'. It shows 'import cache autosize=0' (not -1) and save. Then it shows 'importcache size: 16Mb' and 'autotuning' deselected
      cn=bdb,cn=config,cn=ldbm database,cn=plugins,cn=config" nsslapd-import-cachesize nsslapd-import-cache-autosize
      dn: cn=bdb,cn=config,cn=ldbm database,cn=plugins,cn=config
      nsslapd-import-cachesize: 16777216
      nsslapd-import-cache-autosize: 0  <---- it should be -1 

      Actual results

      After being deselected when autotuning is selected again, autosize is set to 0

      Expected results

      After being deselected when autotuning is selected again, autosize is set to -1

      Additional information

       

              idm-ds-dev-bugs IdM DS Dev
              tbordaz@redhat.com Thierry Bordaz
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: