Image remains in queued status after location set via PATCH
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
iain MacDonnell | ||
Queens |
In Progress
|
Undecided
|
iain MacDonnell | ||
Rocky |
In Progress
|
Undecided
|
iain MacDonnell |
Bug Description
Pike release, with show_image_
Attempting to create an image using the HTTP backend with the glance v2 API. I create a new/blank image (goes into "queued" status), then set the location with:
curl -g -i -X PATCH -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: imacdonn-
This results in the direct_url getting set correctly, and the size of the image is correctly determined, but the image remains in "queued" status. It should become "active".
Changed in glance: | |
importance: | Undecided → High |
Changed in glance: | |
assignee: | nobody → iain MacDonnell (imacdonn) |
assignee: | iain MacDonnell (imacdonn) → nobody |
status: | Triaged → In Progress |
Changed in glance: | |
milestone: | none → stein-1 |
assignee: | nobody → iain MacDonnell (imacdonn) |
Slightly off topic, but it's kind of overkill to have to expose locations in order to use the http store in this way. Maybe what we need is a 'web-reference' (instead of web-download) import method to do this.