Persist scheduler hints for vm instance
When creating VMs with scheduler hints, scheduler hints will only take effect at deploying time. After the VM was deployed, scheduler hints will be lost.
Later on when someone try to migrate the VM, this VM can be migrated to a host which might violated the original scheduler hints. Same problems also exist for resize, cold migration etc.
A proposed solution was store scheduler hints so that it can be available for the whole life cycle of the VM instance, this can make sure the VM can retrieve and evaluate the scheduler hints before doing some VM operations so as to make sure the VM will always obey its scheduler hints during its life cycle.
This blueprint was mainly for persisting the scheduler hints to nova instance database and also enable "nova show" can list the scheduler hints.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Guangya Liu (Jay Lau)
- Direction:
- Needs approval
- Assignee:
- Alex Xu
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Persist scheduler hints
Spec not approved yet, un-targeting blueprint from juno-1 --johnthetubaguy (28th May 2014)
You should not set a milestone target unless the blueprint has been properly prioritized by the project drivers.
Addressed by: https:/
Add scheduler_hints column in instance_extra table
Addressed by: https:/
Add scheduler_hints field into Instance object
Gerrit topic: https:/
Gerrit topic: https:/