Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-148481

Pruning is enabled by default with RSN on RHEL 9.8

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-9.8
    • rhel-9.8
    • ipa
    • ipa-4.13.1-3.el9
    • Yes
    • Important
    • rhel-idm-ipa
    • 25
    • 27
    • 0
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      Installation of a RHEL 9.8 server with IPA with --random-serial-numbers enables the pruning feature, but the test `test_integration/test_acme.py::TestACMEPrune::test_enable_pruning` doesn't expect pruning.

      The test needs to be fixed.

      What is the impact of this issue to you?

      The test test_integration/test_acme.py::TestACMEPrune::test_enable_pruning fails.

      Please provide the package NVR for which the bug is seen:

      ipa-server-4.13.0-1.el9.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Install ipa-server with "dnf install -y ipa-server; ipa-server-install --domain ipa.test --realm IPA.TEST -a Secret123 -p Secret123 -U --random-serial-numbers"
      2. The file /etc/pki/pki-tomcat/a/CS.cfg shows that pruning is enabled
      jobsScheduler.job.pruning.enabled=true

      This makes the test fail because the backend is BDB but the pruning is enabled:

              if get_389ds_backend(self.master) == 'bdb':
                  cs_cfg = self.master.get_file_contents(paths.CA_CS_CFG_PATH)
      >           assert "jobsScheduler.job.pruning.enabled=false".encode() in cs_cfg 

      Expected results

      The test should expect pruning to be enabled in all the cases where Random Serial Numbers are enabled.

       

              frenaud@redhat.com Florence Renaud
              frenaud@redhat.com Florence Renaud
              Florence Renaud Florence Renaud
              Sudhir Menon Sudhir Menon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: