← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291726] [NEW] The error message can't be returned to client when HTTPUnprocessableEntity happens

 

Public bug reported:

When HTTPUnprocessableEntity happens, error messages are not passed to
the parameter, so the client can't receive the details of the exception,
but just gets the default error message defined in the
HTTPUnprocessableEntity  class.

 873 class HTTPUnprocessableEntity(HTTPClientError):
 874     """
 875     subclass of :class:`~HTTPClientError`
 876
 877     This indicates that the server is unable to process the contained
 878     instructions. Only for WebDAV.
 879
 880     code: 422, title: Unprocessable Entity
 881     """
 882     ## Note: from WebDAV
 883     code = 422
 884     title = 'Unprocessable Entity'
 885     explanation = 'Unable to process the contained instructions'

That's not good, the error messages should be returned to the client.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  The error message can't be returned to client when
  HTTPUnprocessableEntity happens

Status in OpenStack Compute (Nova):
  New

Bug description:
  When HTTPUnprocessableEntity happens, error messages are not passed to
  the parameter, so the client can't receive the details of the
  exception, but just gets the default error message defined in the
  HTTPUnprocessableEntity  class.

   873 class HTTPUnprocessableEntity(HTTPClientError):
   874     """
   875     subclass of :class:`~HTTPClientError`
   876
   877     This indicates that the server is unable to process the contained
   878     instructions. Only for WebDAV.
   879
   880     code: 422, title: Unprocessable Entity
   881     """
   882     ## Note: from WebDAV
   883     code = 422
   884     title = 'Unprocessable Entity'
   885     explanation = 'Unable to process the contained instructions'

  That's not good, the error messages should be returned to the client.

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


Follow ups

References