← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1493833] Re: Glance returns 500 error when trying to replace non-exising blob item in artifact blob-list

 

** Changed in: glance
       Status: In Progress => Invalid

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

Title:
  Glance returns 500 error when trying to replace non-exising blob item
  in artifact blob-list

Status in Glance:
  Invalid

Bug description:
  Steps to reproduce:
  1. Create an artifact (type=MyArtifact)
  2. Update artifact blob list with some value:
  curl -H "X-Auth-Token: 1d5532fa812548f6a41bfd422f0d36a9" -H "Content-Type:application/octet-stream" -X POST -d '{"data": "someupdates_datawithtretrtrt"}' http://127.0.0.1:9292/v3/artifacts/myartifact/v2.0/6d16c3e9-26d6-4abd-8ad6-e70e66e31aab/screenshots -i
  3. Try to replace non-existing blob item in blob list
  curl -H "X-Auth-Token: 1d5532fa812548f6a41bfd422f0d36a9" -H "Content-Type:application/octet-stream" -X PUT -d '{"data": "someupdates_datawithtretrtrt"}' http://127.0.0.1:9292/v3/artifacts/myartifact/v2.0/6d16c3e9-26d6-4abd-8ad6-e70e66e31aab/screenshots/1 -i
  AR: Internal Server Error
  ER: BadRequest Error

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


References