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

Edward Hope-Morley edward.hope-morley at canonical.com
Mon Oct 2 11:49:50 UTC 2017


** Tags added: sts-sru-needed

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