pki-bot / pki-issues-final

0 stars 0 forks source link

Selftest ID: SystemCertsVerification for KRA is missing while running kra-selftest-run #2281

Open pki-bot opened 4 years ago

pki-bot commented 4 years ago

This issue was migrated from Pagure Issue #2732. Originally filed by mharmsen (@mharmsen) on 2017-06-08 19:03:24:


pki -p 21080 -d /opt/rhqa_pki/certdb/ -c Secret123 -n "KRA_AdminV" kra-selftest-run Selftest ID: KRAPresence Status: PASSED

Selftests completed

Self test for KRA on demand always run only KRAPresence.For other subsystems it always run for Selftest ID: SystemCertsVerification.

Not sure if it is needed.I tried setting selftests.container.order.onDemand=SystemCertsVerification:critical in CS.cfg. After that it gives : pki -p 21080 -d /opt/rhqa_pki/certdb/ -c Secret123 -n "KRA_AdminR" kra-selftest-find

2 entries matched

SelfTest ID: KRAPresence Enabled at startup: false Enabled on demand: false

SelfTest ID: SystemCertsVerification Enabled at startup: true Critical at startup: true Enabled on demand: true Critical on demand: true

Number of entries returned 2

and it is start a selftest-run using:

[root@pki1 ocsp]# pki -p 21080 -d /opt/rhqa_pki/certdb/ -c Secret123 -n "KRA_AdminR" kra-selftest-run Selftest ID: SystemCertsVerification Status: PASSED

Selftests completed

It doesn't show KRAPresence.

This behavior deviates from other cli behavior.

Steps to Reproduce:

1.stop KRA instance
2.Add selftests.container.order.onDemand=SystemCertsVerification:critical in
CS.cfg of KRA
3.start KRA instance.
pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-06-08 19:04:53

Per PKI Bug Council of 06/08/2017 - CLI for selftests is not yet supported - 10.5

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-06-08 19:04:53

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2017-08-31 02:03:50

Metadata Update from @mharmsen:

pki-bot commented 4 years ago

Comment from mharmsen (@mharmsen) at 2018-05-02 18:35:49

Per 10.5.x/10.6 Triage: FUTURE

alee: broken CLI output most likely