Bug 1041446

Summary: [RFE][nova]: VMware - Fix image handling issues
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/vmware-image-handling
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:11:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 16:09:03 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/vmware-image-handling.

Description:

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


Specification URL (additional information):

https://wiki.openstack.org/wiki/Vmware_image_handling