Bug 988959

Summary: [Doc] [RFE] Filter scheduler for cell scheduling
Product: Red Hat OpenStack Reporter: Stephen Gordon <sgordon>
Component: doc-Configuration_Reference_GuideAssignee: Summer Long <slong>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.0CC: alyoung, hateya, slong, yeylon
Target Milestone: ---Keywords: Documentation, FutureFeature, Triaged
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/cells-filter-scheduler
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-06 03:40:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 976449, 1011085, 1045051    

Description Stephen Gordon 2013-07-26 19:12:41 UTC
Cloned for documentation impact, refer to Bug # 976449 for implementation details.

Comment 2 Summer Long 2013-08-15 05:58:03 UTC
Doc info in: https://review.openstack.org/#/c/16221/
and: https://review.openstack.org/#/c/29949/

From the dev bug: Up until now, the cells scheduler was selecting the cell where to create an instance randomly among the cells it knew about.

The work done for this blueprint adds the ability to select that cell using a set of filters (See scheduler_filter_classes in nova.conf) and weights (See scheduler_weight_classes in nova.conf) which will determine the best cell where to create the instance. To test it you might want to activate/deactivate those new filters/weights in nova.conf and verify that the cell with the bigger weight is selected to create the instance instead of being chosen randomly.
---------------------
Add to the section on configuring child cells.

Comment 3 Summer Long 2013-10-11 07:08:57 UTC
Upstream doc bug: https://bugs.launchpad.net/openstack-manuals/+bug/1187290
Info here:http://docs.openstack.org/trunk/config-reference/content/section_compute-cells.html#cell-weights-filters

Both weight_offset and ram_by_instance_type options have been added to the Cell Configuration Options section. 
Need to add:
scheduler_filter_classes
scheduler_weight_classes
scheduler_retries
scheduler_retry_delay

Comment 4 Summer Long 2013-10-14 01:52:46 UTC
Changes made. Waiting for upstream review:
https://review.openstack.org/#/c/51505/

Comment 5 Summer Long 2013-10-14 06:18:37 UTC
Added defaults, submitted again.