← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241379] Re: duplicate upload image

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => icehouse-3

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

Title:
  duplicate upload image

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

Bug description:
  Image status change "active" to "saving" when duplicate upload image to glance,details are as follows:
  create image:
  curl -i -X POST -H "Content-Type:application/json" -H "X-Auth-Token:480194c5e9a046b9be8150c80c7f439b" -d '{"name":"test_img","container_format":"bare","disk_format":"qcow2","visibility":"public"}' http://127.0.0.1:9292/v2/images

  upload image:
  curl -i -H "Content-Type:application/octet-stream" -H "X-Auth-Token:480194c5e9a046b9be8150c80c7f439b" -X PUT -T ./test.img http://127.0.0.1:9292/v2/images/04059ffa-56fa-4f67-a294-fdc10372e634/file

  duplicate upload:
  curl -i -H "Content-Type:application/octet-stream" -H "X-Auth-Token:480194c5e9a046b9be8150c80c7f439b" -X PUT -T ./xx.img http://127.0.0.1:9292/v2/images/04059ffa-56fa-4f67-a294-fdc10372e634/file

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