Bug 888939

Summary: Should install nova.bash_completion
Product: Red Hat OpenStack Reporter: Russell Bryant <rbryant>
Component: python-novaclientAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Yaniv Kaul <ykaul>
Severity: low Docs Contact:
Priority: low    
Version: 2.1CC: jkt, jruzicka, kchamart, nmagnezi
Target Milestone: snapshot3Keywords: Triaged
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: python-novaclient-2.10.0-3.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-05 13:30:24 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
avoid dependecy on bash-completion none

Description Russell Bryant 2012-12-19 15:24:53 EST
Description of problem:

python-novaclient includes support for bash completion.  The file tools/nova.bash_completion should be installed to /etc/bash_completion.d/.

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

Comment 2 Alan Pevec 2012-12-21 15:38:51 EST
Fedora bug 872544
Comment 8 Alan Pevec 2013-02-10 18:40:47 EST
bash-completion RPM is not in RHEL (it's in EPEL) so completion files in /etc/bash_completion.d/ are not sourced automatically, so moving completion for novaclient to /etc/profile.d/
Comment 9 Alan Pevec 2013-02-10 18:42:57 EST
Created attachment 695946 [details]
avoid dependecy on bash-completion
Comment 11 Kashyap Chamarthy 2013-02-15 04:24:31 EST

Version info:
[tuser1@interceptor ~]$ arch ; cat /etc/redhat-release ; rpm -q python-novaclient
Red Hat Enterprise Linux Server release 6.4 (Santiago)
[tuser1@interceptor ~]$ 

Verification info:
[root@interceptor ~]# su - tuser1
[tuser1@interceptor ~]$
[tuser1@interceptor ~]$ rpm -qf /etc/profile.d/nova.sh 
[tuser1@interceptor ~]$ nova li<TAB>
list             list-extensions  live-migration   
[tuser1@interceptor ~]$ nova li
Comment 13 errata-xmlrpc 2013-03-05 13:30:24 EST
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.