← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241051] Re: inappropriate exception raised when getting a nonexistent interface of a server

 

The code in this area seems to have addressed it:
https://github.com/openstack/nova/blob/master/nova/network/neutronv2/api.py#L708-L726

Marking as Invalid now, please reopen if this is still an issue.

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

** Changed in: nova
       Status: New => Invalid

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

Title:
  inappropriate exception raised when getting a nonexistent interface of
  a server

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  I found this when I ran tempest after  adding some testcases of
  attach_interface.

  when getting a nonexistent interface of a server, ComputeFault exception was raised, which is not appropriate, see below:
  {
      "computeFault": {
          "message": "The server has either erred or is incapable of performing the requested operation.",
          "code": 500
      }
  }

  the exception should be NotFound.

  I'll fix it ASAP.

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