** Changed in: glance
       Status: In Progress => Won't Fix

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

Title:
  Glance return 405 error when we try update element in bloblist

Status in Glance:
  Won't Fix

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" -H 
"Content-Type:octet-stream"  -X PUT -d '{"data": "new_data"}' 
http://172.18.76.44:9292/v3/artifacts/myartifact/v2.0/917ec8d2-44fb-4445-abb7-e28b65f7f07b/screenshots/0
 -i

  EXPECTED RESULT:
  status code 200 and update the element in screenshots

  ACTUAL RESULT:
  HTTP/1.1 405 Method Not Allowed
  Content-Length: 187
  Content-Type: text/html; charset=UTF-8
  X-Openstack-Request-Id: req-ad97df1c-0fb6-4244-9ce6-6fada6bf38a7
  Date: Thu, 03 Sep 2015 12:30:45 GMT

  <html>
   <head>
    <title>405 Method Not Allowed</title>
   </head>
   <body>
    <h1>405 Method Not Allowed</h1>
    The method PUT is not allowed for this resource. <br /><br />

   </body>
  </html>

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1491823/+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