Bug 1353245

Summary: Dogtag 10.3.5: Miscellaneous Enhancements
Product: Red Hat Enterprise Linux 7 Reporter: Matthew Harmsen <mharmsen>
Component: pki-coreAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: edewata, myusuf, ssidhaye
Target Milestone: rc   
Target Release: 7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pki-core-10.3.3-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 05:26:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Harmsen 2016-07-06 15:43:06 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/pki/ticket/2399

This ticket was created as a holding place for multiple minor bug fixes and enhancements made to the Dogtag 10.3.5 Milestone which have generally been provided by individuals outside the core development group (e. g. - QE).

Comment 1 Matthew Harmsen 2016-07-06 15:47:58 UTC
Checked into master:

commit ca25d3856c37febe4aa89d19ba143bd1e021f0d1
Author: Abhijeet Kasurde <akasurde>
Date:   Sat Jul 2 11:03:53 2016 +0530

    Added instance and subsystem validation for pki-server subsystem-* commands.
    
    The pki-server subsystem-* commands have been updated to validate
    the instance and subsystem before proceeding with the operation.
    
    https://fedorahosted.org/pki/ticket/2399

Comment 2 Endi Sukma Dewata 2016-07-06 17:09:05 UTC
Checked into master:

commit 03926918b688d6634a46e322565bd1ab8ccdd811
Author: Endi S. Dewata <edewata>
Date:   Wed Jul 6 17:40:13 2016 +0200

    Fixed exception chain in SigningUnit.init().

    The SigningUnit.init() has been modified to chain the exceptions
    to help troubleshooting.

    https://fedorahosted.org/pki/ticket/2399

Comment 3 Endi Sukma Dewata 2016-07-27 21:34:39 UTC
*** Bug 1356588 has been marked as a duplicate of this bug. ***

Comment 4 Endi Sukma Dewata 2016-07-27 21:44:46 UTC
*** Bug 1356609 has been marked as a duplicate of this bug. ***

Comment 5 Endi Sukma Dewata 2016-07-27 21:50:05 UTC
*** Bug 1356918 has been marked as a duplicate of this bug. ***

Comment 7 Sumedh Sidhaye 2016-09-06 07:03:32 UTC
User friendly error messages are displayed for sub commands now instead of stack traces.

1. pki-server subsystem-show
[root@vm-idm-005 ~]# pki-server subsystem-show -i pki-tomcat sdfsdf
ERROR: No sdfsdf subsystem in instance pki-tomcat.

2. pki-server subsystem-enable
[root@vm-idm-005 ~]# pki-server subsystem-enable -i pki-tomcat csdffd
ERROR: No csdffd subsystem in instance pki-tomcat.

3. pki-server subsystem-disable
[root@vm-idm-005 ~]# pki-server subsystem-disable -i pki-tomcat adqsd
ERROR: No adqsd subsystem in instance pki-tomcat.

Tested the above scenarios with following build details:

pki-base.noarch                   10.3.3-8.el7
pki-base-java.noarch              10.3.3-8.el7
pki-ca.noarch                     10.3.3-8.el7
pki-console.noarch                10.3.3-1.el7pki
pki-core-debuginfo.x86_64         10.3.3-8.el7
pki-javadoc.noarch                10.3.3-8.el7
pki-kra.noarch                    10.3.3-8.el7
pki-ocsp.noarch                   10.3.3-8.el7pki
pki-server.noarch                 10.3.3-8.el7
pki-symkey.x86_64                 10.3.3-8.el7
pki-tks.noarch                    10.3.3-8.el7pki
pki-tools.x86_64                  10.3.3-8.el7
pki-tps.x86_64                    10.3.3-8.el7pki

Marking verified.

Comment 9 errata-xmlrpc 2016-11-04 05:26:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2396.html