← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1462462] [NEW] Invalid values of Artifact Blobs lead to HTTP 500

 

Public bug reported:

An attempt to PATCH or PUT an invalid value into the artifact's blob
property leads to unhandled exception (i.e. HTTP 500 error code)

Example:
PUT /v3/artifacts/images/v1/<someid>/file sent with application/json request type and some json body instead of proper applciation/octet-stream leads to HTTP 500 instead of proper HTTP 400

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: artifacts

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

Title:
  Invalid values of Artifact Blobs lead to HTTP 500

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  An attempt to PATCH or PUT an invalid value into the artifact's blob
  property leads to unhandled exception (i.e. HTTP 500 error code)

  Example:
  PUT /v3/artifacts/images/v1/<someid>/file sent with application/json request type and some json body instead of proper applciation/octet-stream leads to HTTP 500 instead of proper HTTP 400

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


Follow ups

References