[openstack-dev] Enabling the gantt scheduler in devstack

Russell Bryant rbryant at redhat.com
Wed Feb 5 01:00:46 UTC 2014


On 02/04/2014 07:05 PM, Dugger, Donald D wrote:
> Now that a preview version of the new gantt scheduler is available there
> is the problem of configuring devstack to utilize this new tree. 
> Fortunately, it’s a simple process that only requires 3 changes to your
> `localrc’ file:
> 
>  
> 
> 1)      Enable gantt
> 
> 2)      Disable the nova scheduler
> 
> 3)      Change the SCHEDULER environment variable
> 
>  
> 
> Specifically, adding these 3 lines to `localrc’ should get gantt working
> in your environment:
> 
>  
> 
>                 disable_service n-sch
> 
>                 enable_service gantt
> 
>                 SCHEDULER=gantt.scheduler.filter_shceduler.FilterScheduler

Nice.  :-)

So, a couple of next steps after devstack can use gantt.

1) Add a patch to openstack-dev/devstack-gate for it.  We need to be
able to feed an option into devstack-gate for a CI job that uses gantt.
 devstack-gate should do the things you list here.

2) Create an experimental job in openstack-infra/config that uses gantt.
 This should be like the full tempest job, but with the option to
devstack-gate to use gantt.  We should set this up in the experimental
pipeline for nova so that we can run it on nova patches with "check
experimental" without really disrupting anyone else.

I can take a stab at these, but would be even happier if someone beats
me to it.  :-)

-- 
Russell Bryant



More information about the OpenStack-dev mailing list