Bug 1041175

Summary: [RFE][nova]: Add an admin-only API that allows setting VM resource quota at runtime
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, ndipanov, sgordon, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/admin-set-resource-quota-dynamically
Whiteboard: upstream_milestone_none upstream_status_started upstream_definition_drafting
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:02:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:51:26 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/admin-set-resource-quota-dynamically.

Description:

This blueprint is a supplement to Instance Resource Quota (https://blueprints.launchpad.net/nova/+spec/quota-instance-resource) supported by OpenStack from Grizzly. Instance Resource Quota is a static mechanism for cloud tenants to require precisely quantitative resources, while this new blueprint helps an administrator to effectively manage and utilize the cloud hardware resouces. In detail, this blueprint enables an admin to change physical resource allocation, CPU execution time, physical memory occupation, disk I/O bandwidth and priority, after VM instances have been created and in running. The benefits could be as the following:
    - The admin can use this runtime mechanism to change physical resource allocation, if a tenant over-claims resource quota when creating instances. But the instances themselves do not need to be terminated and re-created while resources changed;
    -  The admin can also use this runtime mechanism to dynamically adjust resource quota of instances during running according to the change of instance workloads and/or priorities.

Parts of this blueprint related with VCPU performance management have been implemented in our local OpenStack Grizzly deployment and work well.

Specification URL (additional information):

https://wiki.openstack.org/wiki/Admin-set-resource-quota-dynamically