Enhanced resource model - CPU Entitlement

Registered by Oshrit Feder

Extending Openstack Nova resource model to support differentiated CPU reservation (entitlement) for vCPUs of different VM instance types

Blueprint information

Status:
Started
Approver:
Vish Ishaya
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Oshrit Feder
Definition:
Drafting
Series goal:
None
Implementation:
Slow progress
Milestone target:
None
Started by
Oshrit Feder

Related branches

Sprints

Whiteboard

This blueprint needs a milestone target set and then it can be proposed for the havana series. --russellb

Gerrit topic: https://review.openstack.org/#q,topic:bp/cpu-entitlement,n,z

Addressed by: https://review.openstack.org/61839
    WIP:Add CPU entitlement support in resource model

Hi Oshrit, thanks for sharing the patch. When extensible-resource-tracking is in place this can be converted to an extensible resource quite easily. Looks good to me. I look forward to working with you in Jan. -- PaulMurray

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguyThis blueprint needs a milestone target set and then it can be proposed for the havana series. --russellb

Gerrit topic: https://review.openstack.org/#q,topic:bp/cpu-entitlement,n,z

Addressed by: https://review.openstack.org/61839
    WIP:Add CPU entitlement support in resource model

Hi Oshrit, thanks for sharing the patch. When extensible-resource-tracking is in place this can be converted to an extensible resource quite easily. Looks good to me. I look forward to working with you in Jan. -- PaulMurray

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)This blueprint needs a milestone target set and then it can be proposed for the havana series. --russellb

Gerrit topic: https://review.openstack.org/#q,topic:bp/cpu-entitlement,n,z

Addressed by: https://review.openstack.org/61839
    WIP:Add CPU entitlement support in resource model

Hi Oshrit, thanks for sharing the patch. When extensible-resource-tracking is in place this can be converted to an extensible resource quite easily. Looks good to me. I look forward to working with you in Jan. -- PaulMurray

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguyThis blueprint needs a milestone target set and then it can be proposed for the havana series. --russellb

Gerrit topic: https://review.openstack.org/#q,topic:bp/cpu-entitlement,n,z

Addressed by: https://review.openstack.org/61839
    WIP:Add CPU entitlement support in resource model

Hi Oshrit, thanks for sharing the patch. When extensible-resource-tracking is in place this can be converted to an extensible resource quite easily. Looks good to me. I look forward to working with you in Jan. -- PaulMurray

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

Work items:
Introduce compute_units and compute_units_per_vcpu to compute : INPROGRESS
Introduce cpu_entitlement to the scheduler (enforcement) : INPROGRESS
Integrate in Compute's ResourceTracker : INPROGRESS
Extend flavors.py with extra_spec : TODO
Default values mechanism for extra_spec/mandatory fields : TODO
Differentiate between various compute node's cpu capacity : TODO
Adjust on VM migration : TODO
Integration with cpu_shares extra_spec : TODO