Aggregate: Host isolation based on image properties

Registered by Sahid Orentino

The implementation of the blueprint “Host isolation based on image properties by the way of aggregate metadata” defines that:

- if a host belongs to an aggregate and if this aggregate defines one or several metadata that match with the image properties then the host is a candidate to boot the instance.

- If a host doesn't belong to any aggregate it can create instances from all images.

The goal for this blueprint is to implement a new scheduler filter "AggegateImagePropertiesIsolate" that isolates an image from his properties to a host by the way of an aggregate.

Example:
ubuntu@sf-devel:~$ nova aggregate-details windows
+----+---------+-------------------+------------+--------------+
| Id | Name | Availability Zone | Hosts | Metadata |
+----+---------+-------------------+------------+--------------+
| 1 | windows | None | 'sf-devel' | 'os=windows' |
+----+---------+-------------------+------------+--------------+

ubuntu@sf-devel:~$ glance image-show cirros-0.3.1-x86_64-uec
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| Property 'os' | windows |
| checksum | f8a2eeee2dc65b3d9b6e63678955bd83 |
| container_format | ami |
| created_at | 2013-11-14T13:24:25 |
...

The image above will boot on sf-devel.

Blueprint information

Status:
Complete
Approver:
Russell Bryant
Priority:
Low
Drafter:
Sahid Orentino
Direction:
Approved
Assignee:
Sahid Orentino
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Sahid Orentino
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/aggregate-host-isolation-based-image-properties,n,z

Addressed by: https://review.openstack.org/56420
    Aggregate: Host isolation based on image properties

I'll approve this, but I think the properties need to be namespaced before the code gets merged. --russellb

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.