pki-server subsystem subcommands throws error with --help option
Steps to Reproduce:
1. run pki-server subsystem-disable --help 2. run pki-server subsystem-enable --help 3. run pki-server subsystem-show --help 4. run pki-server subsystem-cert-find --help 5. run pki-server subsystem-cert-show --help 6. run pki-server subsystem-cert-export --help 7. run pki-server subsystem-cert-update --help 8. run pki-server subsystem-cert-validate --help
Actual results:
[root@pki1 cli]# pki-server subsystem-disable --help ERROR: missing subsystem ID Usage: pki-server subsystem-disable [OPTIONS] <subsystem ID> -i, --instance <instance ID> Instance ID (default: pki-tomcat). -v, --verbose Run in verbose mode. --help Show help message. [root@pki1 cli]# pki-server subsystem-enable --help ERROR: missing subsystem ID Usage: pki-server subsystem-enable [OPTIONS] <subsystem ID> -i, --instance <instance ID> Instance ID (default: pki-tomcat). -v, --verbose Run in verbose mode. --help Show help message. [root@pki1 cli]# pki-server subsystem-show --help ERROR: missing subsystem ID Usage: pki-server subsystem-show [OPTIONS] <subsystem ID> -i, --instance <instance ID> Instance ID (default: pki-tomcat). -v, --verbose Run in verbose mode. --help Show help message. [root@pki1 cli]# pki-server subsystem-cert-find --help ERROR: missing subsystem ID Usage: pki-server subsystem-cert-find [OPTIONS] <subsystem ID> -i, --instance <instance ID> Instance ID (default: pki-tomcat). --show-all Show all attributes. -v, --verbose Run in verbose mode. --help Show help message. [root@pki1 cli]# pki-server subsystem-cert-show --help ERROR: missing subsystem ID Usage: pki-server subsystem-cert-show [OPTIONS] <subsystem ID> <cert ID> -i, --instance <instance ID> Instance ID (default: pki-tomcat). -v, --verbose Run in verbose mode. --help Show help message. [root@pki1 cli]# pki-server subsystem-cert-export --help ERROR: missing subsystem ID Usage: pki-server subsystem-cert-export [OPTIONS] <subsystem ID> [cert ID] -i, --instance <instance ID> Instance ID (default: pki-tomcat). --cert-file <path> Output file to store the exported certificate in PEM format. --csr-file <path> Output file to store the exported CSR in PEM format. --pkcs12-file <path> Output file to store the exported certificate and key in PKCS #12 format. --pkcs12-password <password> Password for the PKCS #12 file. --pkcs12-password-file <path> Input file containing the password for the PKCS #12 file. --append Append into an existing PKCS #12 file. --no-trust-flags Do not include trust flags --no-key Do not include private key --no-chain Do not include certificate chain -v, --verbose Run in verbose mode. --debug Run in debug mode. --help Show help message. [root@pki1 cli]# pki-server subsystem-cert-update --help ERROR: missing subsystem ID Usage: pki-server subsystem-cert-update [OPTIONS] <subsystem ID> <cert ID> -i, --instance <instance ID> Instance ID (default: pki-tomcat). -v, --verbose Run in verbose mode. --help Show help message. [root@pki1 cli]# pki-server subsystem-cert-validate --help ERROR: missing subsystem ID Usage: pki-server subsystem-cert-validate [OPTIONS] <subsystem ID> [<cert_id>] -i, --instance <instance ID> Instance ID (default: pki-tomcat). -v, --verbose Run in verbose mode. --help Show help message.
Additional info:
pki-server subsystem-find --help doesn't show any command option
Fixed in master:
Metadata Update from @myusuf@redhat.com: - Issue set to the milestone: 10.3.4
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/2488
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.