Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some pki-server sub-commands failing with reference to missing arguments or object attributes #4952

Open
taherrin opened this issue Feb 5, 2025 · 0 comments

Comments

@taherrin
Copy link

taherrin commented Feb 5, 2025

Summary:

pki-server ca-audit-event sub-commands are failing depending on the options used.

Build:

OS: fedora-41
Build: dogtag-pki-11.6.0-0.3.alpha3.20250205035617UTC.57387d87.fc41.x86_64
COPR: @pki/master

Steps to reproduce:

  1. Install dogtag-pki-server package
  2. Run the below pki-server commands
# pki-server ca-audit-event-enable ----help
pki-server ca-audit-event-update RANDOM_GENERATION --filter "(Outcome=*)" -i topology-02-CA
pki-server subsystem-cert-find --help
pki-server subsystem-disable --help
pki-server instance-migrate --help

Expected Result:

The --help output should display the options for pki-server subcommands. For ca-audit-event-update, the filter should be enabled without any error.

Actual Result:

For the above ca-audit-event-enable example with --help option, output is currently displayed as this:

error: the following arguments are required: event_name

ca-audit-event-update:

ERROR: 'Namespace' object has no attribute 'event_filter'

subsystem-cert-find --help:

WARNING: The pki-server subsystem-cert-find has been deprecated. Use pki-server cert-find instead.
usage: subsystem-cert-find [-i INSTANCE] [--show-all] [-v] [--debug] [--help] subsystem_id
subsystem-cert-find: error: the following arguments are required: subsystem_id

pki-server subsystem-disable --help

Commands:

pki-server instance-migrate --help

usage: instance-migrate [--tomcat TOMCAT] [-v] [--debug] [--help] instance_id
instance-migrate: error: the following arguments are required: instance_id
@taherrin taherrin changed the title pki-server ca-audit-event issues with enable & disable subcommands Some pki-server ca-audit-event sub-commands failing with reference to event_name or event_filter Feb 5, 2025
@taherrin taherrin changed the title Some pki-server ca-audit-event sub-commands failing with reference to event_name or event_filter Some pki-server sub-commands failing with reference to missing arguments or object attributes Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant