← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226400] Re: Not all exception information is propagated through API

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => havana-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1226400

Title:
  Not all exception information is propagated through API

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  The python neutron client for the V2 API expects the neutron API to
  send information back such as the type and detail of the exception the
  body of the message (serialized as a dict). See exception_handler_v20
  in client.py. However, the neutron v2 api only returns the exception
  message. This means that the client can only propagate up a generic
  NeutronClientException exceptions rather than more specific ones
  related to the actual problem.

  All of the necessary information is present in the v2 api resource
  class at the point the webob exception is raised to include at least
  the type of the exception (detail appears not to be used in neutron
  exceptions) so the format of the message returned should be changed to
  include a type field and a message field rather than just the message.

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