Image cache aware weigher

Registered by Alvaro Lopez

Currently OpenStack scheduler does not take into account the cached images in
the compute nodes. If we take into account the cached images when making
scheduling decisions we may decrease the data transfer from Glance into the
compute nodes, resulting in a shorter start time.

Blueprint information

Status:
Started
Approver:
John Garbutt
Priority:
Low
Drafter:
Alvaro Lopez
Direction:
Needs approval
Assignee:
Alvaro Lopez
Definition:
Pending Approval
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Alvaro Lopez

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/cache-aware-weigher,n,z

Addressed by: https://review.openstack.org/154423
    Add cache aware weigher spec

Addressed by: https://review.openstack.org/173304
    scheduler: weight nodes based on their cached images

Addressed by: https://review.openstack.org/173303
    Add new image cache monitor in compute nodes

Addressed by: https://review.openstack.org/173987
    compute monitors: set update delta from base class

Addressed by: https://review.openstack.org/187602
    vmware: add image_cache_manager

Please note, this blueprint still needs to be approved for liberty. That is done by adding it into the weekly meeting agenda to the list of spec-less blueprint that need approving. --johnthetubaguy 22nd June 2015
Thanks, this is now approved. --johnthetubaguy 26th June 2015

Sorry, we have now hit the non-priority feature freeze for Liberty. You will need to resubmit this blueprint for Mitaka or apply for an exception. For more details on why this is happening, and the rest of the process details, please see: https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule
--johnthetubaugy 4th August 2015

Addressed by: https://review.openstack.org/209823
    virt: add method for getting driver image cache manager

Addressed by: https://review.openstack.org/209912
    imagecache: set base_dir as a property

Addressed by: https://review.openstack.org/209913
    imagecache: implement listing of cached images

Addressed by: https://review.openstack.org/209914
    virt: add method for obtaining the list of cached images

Addressed by: https://review.openstack.org/209915
    libvirt: implement get_cached_images method

Re-approved for mitaka. --johnthetubaguy 20151202

Sorry, we have now hit the Non-Priority Feature Freeze for Mitaka. For more details please see: http://docs.openstack.org/releases/schedules/mitaka.html#m-nova-npff and http://docs.openstack.org/developer/nova/process.html#non-priority-feature-freeze
--johnthetubaguy 2016.01.30

Addressed by: https://review.openstack.org/280687
    compute: track cached images SHA1s

Addressed by: https://review.openstack.org/280688
    scheduler: weight nodes based on their cached images

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.