Bug 2071765
Summary: | osc.bash_completion ends with garbage | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | François Rigault <frigo> |
Component: | python-tripleoclient | Assignee: | Rabi Mishra <ramishra> |
Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 16.2 (Train) | CC: | apevec, astupnik, erpeters, hbrock, jpichon, jpretori, jschluet, jslagle, jveiraca, lhh, mburns, ramishra, rbruzzon, riramos, shtiwari, tarcher, tkajinam |
Target Milestone: | z4 | Keywords: | Triaged |
Target Release: | 16.2 (Train on RHEL 8.4) | Flags: | frigo:
needinfo-
|
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-tripleoclient-12.6.1-2.20220725105244.8cc1d6d.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-12-07 19:22:17 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: |
Description
François Rigault
2022-04-04 18:18:00 UTC
I don't see that with a fresh installation with same openstackclient version. May be it's left behind for you from before? [stack@undercloud-0 ~]$ rpm -qa | grep python3-openstackclient python3-openstackclient-4.0.2-2.20220111042153.54bf2c0.el8ost.noarch [stack@undercloud-0 ~]$ tail /etc/bash_completion.d/osc.bash_completion done if [ -z "${completed}" ] ; then COMPREPLY=( $( compgen -f -- "$cur" ) $( compgen -d -- "$cur" ) ) else COMPREPLY=( $(compgen -W "${completed}" -- ${cur}) ) fi return 0 } complete -F _openstack openstack Sorry I missed your comment hmmm I have different stacks,and they all have this issue (running "openstack complete" always end with an INFO log). Going to check if I can track what is adding the log. Maybe I have "INFO" logs coming from somewhere so it comes from tripleoclient (python3-tripleoclient-12.6.1-2.20220114104841.el8ost.noarch) it seems. under /usr/lib/python3.6/site-packages/tripleoclient/v1 there are a couple of files setting the logging, like overcloud_external_update.py: CONF = cfg.CONF logging.register_options(CONF) logging.setup(CONF, '') commenting these 3 lines in files: overcloud_update.py overcloud_upgrade.py overcloud_admin.py overcloud_external_update.py overcloud_external_upgrade.py tripleo_upgrade.py removes the INFO message. Could you check if you reproduce after installing python3-tripleoclient? Thanks so this is the sequence that breaks it: 1- install python3-openstackclient 2- install python3-tripleoclient 3- reinstall or update python3-openstackclient OK, I suspect *** Bug 2076667 has been marked as a duplicate of this bug. *** 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.4), 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:8794 |