[Bug 1692334] Re: neutron bash completion helper is not installed
Felipe Reyes
1692334 at bugs.launchpad.net
Thu Sep 28 20:19:08 UTC 2017
root at grand-bluebird:~# neutron net-
net-create net-gateway-connect net-gateway-disconnect net-gateway-update net-list net-update
net-delete net-gateway-create net-gateway-list net-ip-availability-list net-list-on-dhcp-agent
net-external-list net-gateway-delete net-gateway-show net-ip-availability-show net-show
root at grand-bluebird:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
root at grand-bluebird:~# apt-cache policy python-neutronclient
python-neutronclient:
Installed: 1:4.1.1-2ubuntu1
Candidate: 1:4.1.1-2ubuntu1
Version table:
*** 1:4.1.1-2ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
100 /var/lib/dpkg/status
1:4.1.1-2 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-neutronclient in Ubuntu.
https://bugs.launchpad.net/bugs/1692334
Title:
neutron bash completion helper is not installed
Status in Ubuntu Cloud Archive:
New
Status in python-neutronclient package in Ubuntu:
Fix Released
Status in python-neutronclient source package in Xenial:
Fix Committed
Status in python-neutronclient source package in Zesty:
Fix Committed
Bug description:
[Impact]
Upstream's bash completion helper ( https://github.com/openstack
/python-neutronclient/blob/master/tools/neutron.bash_completion ) is
not installed.
debian/rules copies neutron.bash_completion file to $(CURDIR)/debian
/python-neutronclient-doc/usr/share/bash-
completion/completions/neutron , but python-neutronclient-doc package
is not defined in debian/control
[Test Case]
* apt install python-neutronclient
* source novarc
* neutron net-<TAB>
Expected result:
The following list of available commands is printed
net-create net-external-list net-gateway-create net-gateway-disconnect net-gateway-show net-ip-availability-list net-list net-show
net-delete net-gateway-connect net-gateway-delete net-gateway-list net-gateway-update net-ip-availability-show net-list-on-dhcp-agent net-update
Actual Result:
Nothing is printed.
[Regression Potential]
This patch does not change the source code, it only installs a new
file that currently is being discarded during the building process.
A potential regression is that users who installed the neutron client
completion helper manually and when they install this package it will
overwrite it, because this is not a configuration file. But even in
that case the user shouldn't notice any difference as "neutron <TAB>"
will still bring up a list of commands.
[Other info]
N/A
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1692334/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list