← Back to team overview

registry team mailing list archive

[Bug 654023] [NEW] nova-manage vpn commands broken, resulting in erroneous "Wrong number of arguments supplied" message

 

Public bug reported:

The nova-manage vpn commands are broken, because they have a call to
db.instance_get_all() without supplying a context.  This results in the
command getting started with its output, but then saying "Wrong number
of arguments supplied":

xenapi $ bin/nova-manage vpn list
project         ip:port                 state
user            10.0.0.1:1000      Wrong number of arguments supplied
vpn list: Print a listing of the VPNs for all projects.

This is because nova-manage is wrapped in an except block that rather
horribly treats all TypeErrors as if the user has supplied the wrong
arguments.

** Affects: nova
     Importance: Undecided
     Assignee: Ewan Mellor (ewanmellor)
         Status: Fix Committed

** Summary changed:

- nova-manage vpn commands broken
+ nova-manage vpn commands broken, resulting in erroneous "Wrong number of arguments supplied" message

** Changed in: nova
       Status: New => In Progress

** Changed in: nova
     Assignee: (unassigned) => Ewan Mellor (ewanmellor)

** Changed in: nova
       Status: In Progress => Fix Committed

-- 
nova-manage vpn commands broken, resulting in erroneous "Wrong number of arguments supplied" message
https://bugs.launchpad.net/bugs/654023
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References