Bug 1041696

Summary: [RFE][cinder]: Deprecate chance and simple schedulers
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-cinderAssignee: Jon Bernard <jobernar>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: adahms, ddomingo, dron, eharney, markmc, nlevinki, scohen, sgotliv, yeylon
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 5.0 (RHEL 7)Flags: scohen: needinfo+
scohen: needinfo+
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/cinder/+spec/deprecate-chance-and-simple-schedulers
Whiteboard: upstream_milestone_icehouse-2 upstream_status_implemented upstream_definition_approved
Fixed In Version: Doc Type: Enhancement
Doc Text:
The Chance and Simple schedulers are now deprecated. To replicate their behaviour, use the FilterScheduler instead. Both behaviours use the following setting in common: scheduler_driver = cinder.scheduler.filter_scheduler.FilterScheduler scheduler_default_filters = [‘AvailabilityZoneFilter’, ‘CapacityFilter’, ‘CapabilitiesFilter’] To replicate the behaviour of the Chance scheduler, add the following parameter: scheduler_default_weighers = ‘ChanceWeigher’ To replicate the behavior of the Simple scheduler, use the following instead: scheduler_default_weighers = ‘AllocatedCapacityWeigher’ allocated_capacity_weight_multiplier = -1.0
Story Points: ---
Clone Of:
: 1082857 (view as bug list) Environment:
Last Closed: 2014-07-08 15:30:53 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: 1082857, 1232578    

Description RHOS Integration 2013-12-12 18:41:21 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/deprecate-chance-and-simple-schedulers.

Description:

With the addition of ChanceWeigher, the policies of both the chance
and simple schedulers can now be implemented using the filter
scheduler. Keeping these schedulers unnecessarily increases the test
matrix and significantly increases the development effort of new
features that require scheduler support. Not to mention that they were
poorly tested and buggy.

Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-23 20:51:11 UTC
Moving to POST based on upstream status (Implemented).

Comment 16 nlevinki 2014-06-01 08:02:14 UTC
Run automation using  http://download.lab.bos.redhat.com/rel-eng/OpenStack/5.0-RHEL-6/2014-05-27.2
No issues were found all automation tests passed

Comment 18 errata-xmlrpc 2014-07-08 15:30:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0852.html