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:
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.
@alan you mean remove the dependency on bash-completion by putting them in /etc/profile.d
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.
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.