DescriptionDavid Vallee Delisle
2017-07-13 14:05:23 UTC
Description of problem:
python-openstackclient should install bash-completion file in /usr/share/bash-completion/completions
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. install bash-completion
2. install python-openstackclient
Actual results:
There's no bash-completion for the openstack command
Expected results:
There should be bash-completion
Additional info:
According to openstack's docs, there's a builtin command to generate the autocomplete file:
https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/complete.html
So doing something like this in the %postscript might solve the issue:
rpm -q bash-completion > /dev/null 2>&1 && openstack complete > /usr/share/bash-completion/completions/openstack
Hello guys,
I think this is a great idea and in python-openstackclient spec file , we should also add :
Requires: bash-completion
Which isn't a big dependency ...
Thank you very much,
David Hill
Comment 7Christopher Brown
2020-11-26 09:57:13 UTC
Re-opening - this isn't related the UI and not having auto-completion by default is a pain.
It's a great RFE, with a patch merged upstream, what needs to be done to complete it on time for 16.2? Otherwise, please:
(1) defer to 17.0
(2) commit to it for 17.0, or close as WONTFIX (or DEFERRED).
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