** 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/1491815

Title:
  Glance return 404 error when we try delete element in bloblist/blob

Status in Glance:
  Invalid

Bug description:
  ENVIRONMENT: devstack, Glance (master, 03.09.2015)

  STEPS TO REPRODUCE:
  We have artifact:
  {"description": null, "published_at": null, "tags": [], "created_at": 
"2015-09-02T09:29:27.000000", "type_name": "MyArtifact", "updated_at": 
"2015-09-02T09:29:27.000000", "visibility": "private", "id": 
"917ec8d2-44fb-4445-abb7-e28b65f7f07b", "type_version": "2.0", "state": 
"creating", "version": "12.0.0", "prop1": null, "prop2": null, "owner": 
"13db150f0268414ca7f2d81ea60a8205", "image_file": null, "deleted_at": null, 
"screenshots": [{"checksum": "db78f300f6509d4fc131cb4a23fd9356", 
"download_link": 
"/artifacts/myartifact/v2.0/917ec8d2-44fb-4445-abb7-e28b65f7f07b/screenshots/0/download",
 "size": 14}, {"checksum": "6807f2db24acbf20a715b41665c99a18", "download_link": 
"/artifacts/myartifact/v2.0/917ec8d2-44fb-4445-abb7-e28b65f7f07b/screenshots/1/download",
 "size": 14}, {"checksum": "db78f300f6509d4fc131cb4a23fd9356", "download_link": 
"/artifacts/myartifact/v2.0/917ec8d2-44fb-4445-abb7-e28b65f7f07b/screenshots/2/download",
 "size": 14}], "int_list": null, "name": "artifact1"}

  Send request:
  curl -H "X-Auth-Token: 3309284e1ff543e89ac57f9b0a643ad3" -X DELETE 
http://172.18.76.44:9292/v3/artifacts/myartifact/v2.0/917ec8d2-44fb-444528b65f7f07b/screenshots/0
 -i

  EXPECTED RESULT:
  status code 204 and delete the item in screenshots

  ACTUAL RESULT:
  HTTP/1.1 404 Not Found
  Content-Length: 154
  Content-Type: text/html; charset=UTF-8
  X-Openstack-Request-Id: req-adc1f847-fca2-4419-bda0-058eebb9f8da
  Date: Thu, 03 Sep 2015 12:21:24 GMT

  <html>
   <head>
    <title>404 Not Found</title>
   </head>
   <body>
    <h1>404 Not Found</h1>
    The resource could not be found.<br /><br />


   </body>
  </html>

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to