Vmware image handling
VMware Image Handling
There are several different issues with the way that the image cache is handled.
1. If an image is not in the image cache and multiple instances are spawned which use that image, all instances will fail except the 1st one until the image is fully downloaded
2. If the image download fails for some reason, there is no clean up and any subsequent attempts to boot that image will fail. The spawn code only checks the meta-data file and does not attempt to re-download the file. There are 2 work arounds
2a - Using vCenter Server or ssh delete the files manually 2b - download the image into glance again and boot the image with the new uuid