← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1422270] [NEW] Nova vmwareapi session pass more arguments when raise an exception

 

Public bug reported:

On Icehouse  nova-2014.1.3, when vmware api session call a method meets
VimFaultException , it pass two arguments to
error_util.get_fault_class().

Code like this:
raise error_util.get_fault_class(fault)(str(excep))

But in error_util.get_fault_class() it accepts one argument.

There will occurs an type error:
TypeError: __init__() takes exactly 1 argument (2 given)

** Affects: nova
     Importance: Undecided
     Assignee: Dongcan Ye (hellochosen)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Dongcan Ye (hellochosen)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1422270

Title:
  Nova vmwareapi  session pass more arguments when raise an exception

Status in OpenStack Compute (Nova):
  New

Bug description:
  On Icehouse  nova-2014.1.3, when vmware api session call a method
  meets VimFaultException , it pass two arguments to
  error_util.get_fault_class().

  Code like this:
  raise error_util.get_fault_class(fault)(str(excep))

  But in error_util.get_fault_class() it accepts one argument.

  There will occurs an type error:
  TypeError: __init__() takes exactly 1 argument (2 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1422270/+subscriptions


Follow ups

References