Filter based on the load averages
This filter will use the command uptime and will provides an option to choice a
period between 1, 5, and 15 minutes.
Why:
During a scheduling it could be useful to exclude a host that have a too
heavy load and the command uptime (available in all linux system)
can return a load averages of the system in different periods.
About the implementation:
Currently all drivers (libvirt, xenapi, vmware) supports a method
get_host_uptime that returns the output of the command 'uptime'. We
have to add in compute/stats.py a new method calculate_loadavg() that returns based
on the output of driver.
formatted tuple of load averages between 0 to 1 for each periods. We also need
to update api/openstack/
field.
The implementation will be divided in several parts:
* Add to host_manager the possibility to get the loads_averages
* Implement the filter based on this new property
* Implement the filter with a per-aggregate configuration
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Undefined
- Drafter:
- Sahid Orentino
- Direction:
- Needs approval
- Assignee:
- Sahid Orentino
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Sahid Orentino
Related branches
Related bugs
Sprints
Whiteboard
Thread on openstack-dev: http://
Gerrit topic: https:/
Addressed by: https:/
[do not merge] Adds load_averages to a hypervisors
Addressed by: https:/
Adds a system load averages monitor
Removed from next, as next is now reserved for near misses from the last milestone --johnthetubagu
Gerrit topic: https:/
Addressed by: https:/
[do not merge] Adds load_averages to a hypervisors
Addressed by: https:/
Adds a system load averages monitor
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)