← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346857] Re: HyperV driver does not implement Image cache ageing

 

Reviewed:  https://review.openstack.org/192618
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=df499b55522ced1efd3006a394e80a7bf794c4e4
Submitter: Jenkins
Branch:    master

commit df499b55522ced1efd3006a394e80a7bf794c4e4
Author: Adelina Tuvenie <atuvenie@xxxxxxxxxxxxxxxxxxxxxx>
Date:   Wed Jun 17 03:19:10 2015 -0700

    Adds Hyper-V imagecache cleanup
    
    At the moment the Hyper-V driver's imagecache only deals with caching
    the images in _base.
    
    This blueprint will deal with implementing imagecache management that will
    allow the aging and deletion of cached images that are no longer in use.
    
    Co-Authored-By: Claudiu Belu <cbelu@xxxxxxxxxxxxxxxxxxxxxx>
    
    Implements blueprint: hyper-v-imagecache-cleanup
    Closes-Bug: #1346857
    
    Change-Id: I94ee60ed301f18298ae14239190218b9ef54e575


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1346857

Title:
  HyperV driver does not implement Image cache ageing

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Nova.conf has the following options for image cache ageing
  remove_unused_base_images
  remove_unused_original_minimum_age_seconds.

  If these conf values are enabled, older un-used images cached on the hypervisor hosts will be deleted by nova-compute.
  The driver should implement the defn manage_image_cache
  and this will be called by compute.manager._run_image_cache_manager_pass().

  The HyperV driver does not implement manage_image_cache() which means
  older unused images (VHD/VHDFx) will never get deleted and occupy
  storage on the HyperV host, which otherwise can be used to spawn
  instances.

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


References