Bug 1928392
Summary: | When running openstack complete, logs line are showing up | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | David Vallee Delisle <dvd> |
Component: | python-openstackclient | Assignee: | OSP Team <rhos-maint> |
Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 16.1 (Train) | CC: | apevec, cjeanner, jjoyce, jpichon, jschluet, jslagle, kecarter, lhh, ramishra, slinaber, tvignaud |
Target Milestone: | z2 | Keywords: | Triaged |
Target Release: | 16.2 (Train on RHEL 8.4) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-openstackclient-4.0.2-2.20210719124816.54bf2c0.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-23 22:10:08 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1470718 |
Description
David Vallee Delisle
2021-02-13 16:48:08 UTC
Hello, seems to be a DEBUG output - did you configure anything with debug? Cheers, C. it's not DEBUG output, it's INFO. logger must be incorrectly configured. Yup one line is debug, other one is info. Also, because of the nature of the command which is meant to be redirected into a file, we shouldn't even report debug unless --debug is passed I believe. We could probably add a --output to redirect into a file as well if we don't want to wiggle with the logger and we believe these logs can be useful. Thanks, DVD While this is a workaround, you could do the following: $ openstack complete | sed -n '/_openstack/,$p' | tee /etc/bash_completion.d/openstack.bash_completion This would create the bash completion file correctly without having to worry about superfluous output. In testing a solution in master, we've found that the issue remains, even though the is no longer log line related. We'll work with the upstream to see what can be done, and I'll update my RDO review to automatically create the completion file accordingly. This will be available in 16.2 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 16.2.2), 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-2022:1001 |