RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1024581 - keystone missing tab completion
Summary: keystone missing tab completion
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: python-keystoneclient
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jakub Ruzicka
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-30 01:53 UTC by Mohammed Arafa
Modified: 2016-04-26 15:17 UTC (History)
5 users (show)

Fixed In Version: python-keystoneclient-0.4.1-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-30 23:05:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Mohammed Arafa 2013-10-30 01:53:23 UTC
Description of problem:
in /etc/profile.d i found the tab completion files for neutron nova and cinder. but there is no tab completion file for keystone

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Alan Pevec 2013-10-31 19:06:31 UTC
python-keystoneclient includes completion but under /etc/bash_completion.d/ and you need to have bash-completion RPM installed to get that sourced by default.
Putting completion files under /etc/profile.d/ in other packages is to avoid dependency on bash-completion which isn't in RHEL baseOS, it's an EPEL package.

Jakub, please make all *client consistent in el6 RDO in that regard.

Comment 3 Mohammed Arafa 2013-11-01 01:13:05 UTC
@alan
you mean remove the dependency on bash-completion by putting them in /etc/profile.d

Comment 4 Jakub Ruzicka 2013-11-07 13:45:30 UTC
Actually, moving them to /etc/profile.d is bad and evil, because it's bash specific code but /etc/profile.d is share amongst the shell so for example when using zsh, you get ugly warning on shell start.

Since there is bash-completion in EPEL, I'll make client packages depend on and use that in RDO.

Comment 5 Jakub Ruzicka 2014-01-03 20:09:55 UTC
I moved the completion to /etc/profile.d for compatibility with other clients. 

I'll use bash-completion in 5.0+ in the future if possible.


Note You need to log in before you can comment on or make changes to this bug.