Bug 1024581

Summary: keystone missing tab completion
Product: [Community] RDO Reporter: Mohammed Arafa <bugzilla>
Component: python-keystoneclientAssignee: Jakub Ruzicka <jruzicka>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: apevec, ayoung, jruzicka, srevivo, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-keystoneclient-0.4.1-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-30 23:05:33 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 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.