#1677 Pkidestroy of a TPS instance installed in a shared tomcat throws error.
Closed: Fixed Opened by aakkiang.

Pkidestroy of a TPS instance installed in a shared tomcat throws error.

Steps to Reproduce:

1.Configure CA, KRA, TKS and TPS in a single tomcat instance.
2.Token enrollment/format works as expected.
3 Now pkidestroy TPS instance
# pkidestroy 
Subsystem (CA/KRA/OCSP/TKS/TPS) [CA]: TPS
Instance [pki-tomcat]: pki-master
Begin uninstallation (Yes/No/Quit)? Yes
Log file: /var/log/pki/pki-tps-destroy.20151020084142.log
Loading deployment configuration from
/var/lib/pki/pki-master/tps/registry/tps/deployment.cfg.
Uninstalling TPS from /var/lib/pki/pki-master.
pkidestroy  : WARNING  ....... Failed to update TPS connector on TKS
pkidestroy  : ERROR    ....... TKS Host or Port is undefined
Uninstallation complete.

Actual results:

Warning and the Error message is thrown (as shown above), TPS subsystem is deleted
and the corresponding files are removed.

Expected results:

Should not throw error message. TPS subsystem should be deleted.

Per CS/DS meeting of 11/02/2015: 10.3

Per Bug Triage of 05/05/2016: 10.3.1

Checked into master:

  • 1470f72574464e5d45926bce9b56c610ab84fec2

Metadata Update from @aakkiang:
- Issue assigned to mharmsen
- Issue set to the milestone: 10.3.2

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2236

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata