[Bug 1692334] Re: neutron bash completion helper is not installed

Felipe Reyes 1692334 at bugs.launchpad.net
Thu Sep 28 20:53:22 UTC 2017


root at upright-ant:~# apt-cache policy python-neutronclient
python-neutronclient:
  Installed: 1:6.1.0-0ubuntu3
  Candidate: 1:6.1.0-0ubuntu3
  Version table:
 *** 1:6.1.0-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:6.1.0-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages
root at upright-ant:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 17.04
Release:	17.04
Codename:	zesty
root at upright-ant:~# source novarc
root at upright-ant:~# neutron net-
net-create                net-external-list         net-ip-availability-show  net-list-on-dhcp-agent    net-update                
net-delete                net-ip-availability-list  net-list                  net-show                  
root at upright-ant:~# neutron net-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+------------------+--------------------------------------------------+
| id                                   | name             | subnets                                          |
+--------------------------------------+------------------+--------------------------------------------------+
| 95c71e95-90f9-482c-a855-bff324d6dd7b | freyes_admin_net | 3d9e5ebf-ab16-4b73-bc81-07ab4a8021d5 10.5.0.0/16 |
| fee1396f-5fbf-4dbb-b063-5215be7dc75c | ext_net          | 9b3288c6-ea9c-4898-a0db-b0c5394b47e9             |
+--------------------------------------+------------------+--------------------------------------------------+


** Tags removed: verification-needed verification-needed-zesty
** Tags added: verification-done verification-done-zesty

-- 
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.

  Additional note:

  About the following autopkgtest failures :

  --
  Xenial
  Regression in autopkgtest for nova (s390x): test log

  Zesty
  Regression in autopkgtest for magnum (s390x): test log
  --

  The failures are not related to this change, nova autopkgtest failure
  is being analyzed at
  https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1713059

  [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