image metadata prefiltering
Nova support specifying hyperviors sepcific device model via image properties.
Today when such properties are set on an image they are not considered when
scheduling unless the operator manually configures the ImageProperties
If the operator does not configure the ImageProperties
is scheduled to a host that cannot support the requested device model a late
check in the virt driver will fail the spawn and trigger a reschedule.
If only a subset of hosts can support the requested device model this
frequently results in a ``No valid host`` error.
This proposal suggests using standardised traits and placement to address device
model compatibility by extending existing virt drivers to declare the
device models they support as traits.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Low
- Drafter:
- sean mooney
- Direction:
- Approved
- Assignee:
- sean mooney
- Definition:
- Approved
- Series goal:
- Accepted for ussuri
- Implementation:
- Implemented
- Milestone target:
- ussuri-3
- Started by
- Matt Riedemann
- Completed by
- sean mooney
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
add spec for image metadata prefiltering
Gerrit topic: https:/
Addressed by: https:/
Updates to image-metadata-
Gerrit topic: https:/
Addressed by: https:/
create initial image metadata prefilter
Addressed by: https:/
add StorageTransform class to prefilter
Addressed by: https:/
[WIP] Libvirt: report storage bus traits
Addressed by: https:/
[WIP] use domain capablites to get supported device models
Gerrit topic: https:/
Addressed by: https:/
libvirt: harden get_domain_
[efried 20190905] Agreed to defer this to ussuri to make room for other conflicting patches that are "closer".
Addressed by: https:/
resubmit image metadata prefiltering spec for ussuri
[efried 20190923] Fast approved for ussuri per http://
[efried 20200220] Agreed in the Nova meeting to Direction:Approve all Definition:Approved blueprints http://
Addressed by: https:/
trivial: Update '_get_foo_traits' docstrings
Addressed by: https:/
Enforce os-traits/