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

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-10.0.z
    • rhel-10.0
    • dogtag-pki
    • None
    • Yes
    • None
    • rhel-sst-idm-cs
    • 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 the 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 the pattern 'abc?' but can add and find.

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

      dogtag-pki-11.6.0-0.2.alpha2.el10.src.rpm

      jss-5.6.0-0.1.alpha1.el10.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: The same scenario is failing for KRA as well.

      Expected results

      The way CLI adds the group with the name 'abc?' should be deleted as well.

      Actual results

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

      Additional info:
      Upstream: https://github.com/dogtagpki/pki/issues/4858
      Failing test in RHEL-10.0 pipeline:

      https://jenkins-csb-idmops-ci.dno.corp.redhat.com/view/Projects/job/Projects/job/dogtag/job/RHEL10/job/Nightly-Tier2-discrete/job/2025-01-08_21-26/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: