Image stuck in "Queued" state on upload to image failure
Bug #1298042 reported by
Ryan Hsu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Vipin Balachandran |
Bug Description
When uploading a volume to an image with an unsupported disk type (anything other than vmdk), an orphan image stuck in "Queued" state gets left behind.
Steps to reproduce:
1. cinder create 1
2. cinder upload-to-image --disk raw <volume id> <name>
The result is an orphan image in Glance that gets left behind. This image should not exist.
Changed in cinder: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Vipin Balachandran (vbala) |
milestone: | none → next |
Changed in cinder: | |
assignee: | nobody → Vipin Balachandran (vbala) |
Changed in cinder: | |
milestone: | next → none |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The image status is always set outside the driver. Therefore, it doesn't seem appropriate for the driver to change the status or delete the image on errors during copy.