← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1549597] Re: VMware: Get wrong image cahe folder makes create vm slowly

 

** Changed in: nova
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1549597

Title:
  VMware: Get wrong image cahe folder makes create vm slowly

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Nova virt driver: VMware   repo: master

  In imagecache.py we build image cache folder as "self._base_folder/image_id". [1] 
  If we use remove_unused_base_images  configuration in nova.conf,  it  ensure  image cache folder is unique per compute node.
   
  But when we fetching image, the  cache_image_folder function gets  self.datastore as a parameter[2], datastore ip address may different with nova compute node host_ip, this is never get the right  image cache folder. 

  
  [1] https://github.com/openstack/nova/blob/master/nova/virt/vmwareapi/imagecache.py/#L200
  [2] https://github.com/openstack/nova/blob/master/nova/virt/vmwareapi/vmops.py/#L113

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1549597/+subscriptions


References