poor handling of download failure from glance in nova-compute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Pádraig Brady |
Bug Description
Hypervisor: qemu/kvm
nova: trunk as of june 23
host os: maverick
type: multi-node install - nova + glance + openstack api
When nova-compute fails to download an image (for instance if you forget to set your glance_api_servers flag) it will create a 0 sized file:
root@356586-
drwxr-xr-x 2 nova nogroup 4096 2011-06-23 21:54 .
drwxr-xr-x 8 nova root 4096 2011-06-23 21:54 ..
-rw-r--r-- 1 nova nogroup 0 2011-06-23 21:47 00000001
---
Then on further attempts to launch it doesn't re-attempt to download.
Perhaps instead of downloading the file to the final location we should do a 00000001.download then move it upon finish?
Also checking the checksum before we finish the move?
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
importance: | High → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Pádraig Brady (p-draigbrady) |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → essex-4 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
If this is still an issue we should probably add this to essex. When this triggered it would cause all further launch this image to fail.