Bug 2182389

Summary: pkidestroy is failing to uninstall subsystems requires --force to remove subsystems
Product: Red Hat Certificate System Reporter: Gilbert Kimetto <gkimetto>
Component: pki-coreAssignee: RHCS Maintainers <rhcs-maint>
Status: NEW --- QA Contact: idm-cs-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.6CC: edewata
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Comment 1 Endi Sukma Dewata 2023-06-15 19:50:40 UTC
Gilbert, could you try removing the subsystems in the reverse order
of how they're originally installed? So the loop probably should be:

    for s in TPS TKS OCSP KRA CA

The reason is the security domain in the CA must be up during this
process. See also https://github.com/dogtagpki/pki/issues/4329.