Aggregate: Host isolation based on image properties
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 "AggegateImageP
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-
+------
| Property | Value |
+------
| Property 'os' | windows |
| checksum | f8a2eeee2dc65b3
| 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:
- 2014.1
- Started by
- Sahid Orentino
- Completed by
- Russell Bryant
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
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