← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1490491] Re: Glance returned 500 status code when we add/replace element to blob property

 

The Artifacts effort became its own project ("Glare") in Newton.
Artifacts code was removed from the Glance codebase in Pike.

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

** Changed in: glance
     Assignee: Kairat Kushaev (kkushaev) => (unassigned)

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

Title:
  Glance returned 500 status code when we add/replace element to blob
  property

Status in Glance:
  Won't Fix

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

  STEPS TO REPRODUCE:
  We tried add/replace element to blob property on artifact.
  Send request
  1) curl -H "X-Auth-Token: b582b953413b4a8896bfa27e1b70d4e0" -H "Content-Type:application/json" -X PATCH -d '[{"op": "add", "path": "/image_file", "value": "la-la-la"}]' http://172.18.76.44:9292/v3/artifacts/myartifact/v2.0/4d1e26e5-87b7-49b4-99bd-0e6232a80142 -i

  2) curl -H "X-Auth-Token: b582b953413b4a8896bfa27e1b70d4e0" -H
  "Content-Type:application/json" -X PATCH -d '[{"op": "replace",
  "path": "/image_file", "value": "la-la-la"}]'
  http://172.18.76.44:9292/v3/artifacts/myartifact/v2.0/4d1e26e5-87b7-49b4
  -99bd-0e6232a80142 -i

  EXPECTED RESULT:
  status code 200 and added/replaced blob property

  ACTUAL RESULT:

  HTTP/1.1 500 Internal Server Error
  Content-Length: 228
  Content-Type: text/html; charset=UTF-8
  X-Openstack-Request-Id: req-322bf960-5756-4f6f-af46-f80705ee79c2
  Date: Mon, 31 Aug 2015 10:07:18 GMT

  <html>
   <head>
    <title>500 Internal Server Error</title>
   </head>
   <body>
    <h1>500 Internal Server Error</h1>
    The server has either erred or is incapable of performing the requested operation.<br /><br />

   </body>
  </html>

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


References