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-nova-compute-n01:/var/lib/nova/instances/_base# ls -al
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?