Bug 1944872
| Summary: | [RFE] tripleO validations - provide a method to show only most recent history | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Chris Fields <cfields> | |
| Component: | python-validations-libs | Assignee: | Jiri Podivin <jpodivin> | |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 17.0 (Wallaby) | CC: | drosenfe, erpeters, gchamoul, jamsmith, jpodivin, mariel, pweeks, scohen | |
| Target Milestone: | Alpha | Keywords: | FutureFeature, Triaged | |
| Target Release: | 17.0 | Flags: | scohen:
needinfo+
scohen: needinfo+ |
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | python-validations-libs-1.1.1-0.20210513023024.5815fb3.el8ost | Doc Type: | Enhancement | |
| Doc Text: |
This enhancement adds the '--limit' argument to the 'openstack tripleo validator show history' command. You can use this argument to show only a specified number of the most recent validations.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1959707 (view as bug list) | Environment: | ||
| Last Closed: | 2022-09-21 12:14:53 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | wallaby | |
| Embargoed: | ||||
| Bug Depends On: | 1962522 | |||
| Bug Blocks: | 1959707 | |||
|
Description
Chris Fields
2021-03-30 20:19:48 UTC
Included in the 16.2 build, package: python-validations-libs-1.1.1-2.20210508004823.bfd8e33.el8ost https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1598598 Waiting for 17.0 build before changing status. Now in brew build for 17 trunk: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1602791 *** Bug 1959707 has been marked as a duplicate of this bug. *** How to test: 1. Run 20< arbitrary validations. Group and specifics of validation doesn't matter. This is only a question of number. 2. Display the validator CLI help, to verify description of the `--limit` option. 3. Run `validator history list` without the `--limit` argument. The output must consist of the 15 latest validation runs. Announcement must be displayed about the limit. 4. Run `validator history list` with the --limit argument and various values. Recommending 5, 7 and 20. Announcement about limit used must be displayed and output limited. 5. Run `validator history list` with the --limit argument and several invalid values. For example -1 and HCF. Error message must be displayed. How to test: 1. Run 20< arbitrary validations. Group and specifics of validation doesn't matter. This is only a question of number. `openstack tripleo validator run --validation <> --group <>`. 2. Display the validator CLI help, to verify description of the `--limit` option. 3. Run `openstack tripleo validator history list` without the `--limit` argument. The output must consist of the 15 latest validation runs. Announcement must be displayed about the limit. 4. Run `openstack tripleo validator history list` with the --limit argument and various values. Recommending 5, 7 and 20. Announcement about limit used must be displayed and output limited. 5. Run `openstack tripleo validator history list` with the --limit argument and several invalid values. For example -1 and HCF. Error message must be displayed. 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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://access.redhat.com/errata/RHEA-2022:6543 |