Bug 1887717
| Summary: | The CLI terminates with an exception when trying to show details of a non-existing validation | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gaël Chamoulaud <gchamoul> |
| Component: | python-tripleoclient | Assignee: | Gaël Chamoulaud <gchamoul> |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 16.1 (Train) | CC: | cjeanner, hbrock, jschluet, jslagle, kecarter, mbultel, mburns, spower |
| Target Milestone: | z4 | Keywords: | Triaged |
| Target Release: | 16.1 (Train on RHEL 8.2) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-12.3.2-1.20200914164931.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-03-17 15:32:20 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: | |
| Embargoed: | |||
This is seen now: openstack tripleo validator show undercloud-cpu Validation undercloud-cpu not found in the path: /usr/share/ansible/validation-playbooks 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 (Red Hat OpenStack Platform 16.1.4 director bug fix 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://access.redhat.com/errata/RHBA-2021:0817 |
Here is the output we have when trying to show details of a non-existing validation: (undercloud) [RedHat-8.2 - stack@undercloud ~]$ openstack tripleo validator show undercloud-cpu Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_validator.py", line 94, in take_action data = actions.show_validations(parsed_args.validation_id) File "/usr/lib/python3.6/site-packages/validations_libs/validation_actions.py", line 60, in show_validations raise RuntimeError(msg) RuntimeError: Validation undercloud-cpu not found in the path: /usr/share/ansible/validation-playbooks During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.6/site-packages/cliff/display.py", line 116, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_validator.py", line 98, in take_action "Output: {}").format(e)) RuntimeError: Validations listing finished with errors Output: Validation undercloud-cpu not found in the path: /usr/share/ansible/validation-playbooks Validations listing finished with errors Output: Validation undercloud-cpu not found in the path: /usr/share/ansible/validation-playbooks We should just have this: (undercloud) [RedHat-8.2 - stack@undercloud ~]$ openstack tripleo validator show undercloud-cpu Validation undercloud-cpu not found in the path: /usr/share/ansible/validation-playbooks Validations listing finished with errors