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

PKI group delete i.e <subsystem>-group-del is failing for name 'abc?' with error: ResourceNotFoundException: No such object: No such object

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.6.z
    • rhel-9.6
    • pki-core
    • None
    • Yes
    • None
    • rhel-sst-idm-cs
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      PKI group delete i.e ca-group-del or kra-group-del is failing for name 'abc?' with error: ResourceNotFoundException: No such object: No such object

      What is the impact of this issue to you?

      PKI CLI is not able to delete group name with pattern 'abc?' but able to add and find.

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

      pki-core-11.6.0-0.3.alpha2.el9.src.rpm

      jss-5.6.0-0.1.alpha1.el9.src.rpm

      nss-3.101.0-10.el9_2.src.rpm

      How reproducible is this bug?:

      Always

      Steps to reproduce

      Add group with name: abc?

      # pki -d /opt/pki/certdb -p 20443 -h pki1.example.com -c SECret.123 -n "PKI CA Administrator for Example.Org" ca-group-add abc?
      ------------------
      Added group "abc?"
      ------------------
        Group ID: abc?

      Find group:

      # pki -d /opt/pki/certdb -p 20443 -h pki1.example.com -c SECret.123 -n "PKI CA Administrator for Example.Org" ca-group-find | grep abc
        Group ID: abc?

      Delete group:

      # pki -d /opt/pki/certdb -p 20443 -h pki1.example.com -c SECret.123 -n "PKI CA Administrator for Example.Org" ca-group-del "abc?"
      ResourceNotFoundException: No such object: No such object

       

      Note: Same scenario is failing for KRA as well.

      Expected results

      The way CLI adding the group with name 'abc?' should delete as well.

      Actual results

      PKI CLI unable to delete the group having name 'abc?'

       

      Additional info:
      Upstream: https://github.com/dogtagpki/pki/issues/4858
      Failing test in RHEL9.6 pipeline:
      https://jenkins-csb-idmops-ci.dno.corp.redhat.com/view/Projects/job/Projects/job/dogtag/job/RHEL9.6/job/Nightly-Tier2-discrete/job/2025-01-08_18-02/job/tier-2-discrete-ca_groups_topo_02/1/consoleFull

              rhcs-maint RHCS Maintenance
              prisingh@redhat.com Pritam Singh
              RHCS Maintenance RHCS Maintenance
              IdM CS QE IdM CS QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: