← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254999] Re: The param 'address' for add_interface didn't check KeyError

 

Baremetal

** Changed in: nova
       Status: Confirmed => Won't Fix

** Changed in: nova
     Assignee: zhangyanzi (zhangyanzi) => (unassigned)

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

Title:
  The param 'address' for add_interface didn't check KeyError

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  The param 'address' for add_interface didn't check KeyError.
  The function _add_interface don't check whether the parameter "address" is in request body.
  So the 500 error has been thrown.
  We should catch the KeyError and transfer the KeyError to 400(HTTPBadRequest) instead of 500.

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