← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1084001] Re: v2 API image upload returns an error traceback

 

I have tried this and it works


curl -i -X PUT -H 'Content-Type: application/octet-stream' -H "X-Auth-Token: $OS_AUTH_TOKEN" http://162.209.48.224:9292/v2/images/9caff1ac-bc6f-49bd-ba22-9d4962b98d48/file --data @image.vhd

Please feel free to file bug again if doesnt work under any
circumstances for you

** Changed in: glance
       Status: Incomplete => 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/1084001

Title:
  v2 API image upload returns an error traceback

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

Bug description:
  Branch: master

  Steps to reproduce:
  1. Using the curl command below, upload data to a queued image:
  curl -X PUT -H "x-auth-token: 7e5e062ec21e41618dd1ded67c5cb86c" -H "Content-Type: application/octet-stream" -d @/tmp/data http://localhost:9292/v2/images/81805faa-f90a-40d6-8211-98714b205b59/file
  2. Observe the response.

  Expected Behavior:
  Image data upload should happen successfully.

  Actual Behavior:
  The API returns a traceback similar to http://paste.openstack.org/show/26917/.

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