[openstack-dev] [nova][cinder][oslo][scheduler] How to leverage oslo schduler/filters for nova and cinder

Davanum Srinivas davanum at gmail.com
Sat Nov 9 19:10:39 UTC 2013


Jay,

One quick comment. "cinder/openstack/common/scheduler" should have
only files that are in "oslo-incubator/openstack/common/scheduler".

So in #2, Can you please clarify what you mean? ("Move all
filters/weight logic in cinder from cinder/scheduler to
cinder/openstack/common/scheduler")

thanks,
dims

On Sat, Nov 9, 2013 at 11:16 PM, Jay Lau <jay.lau.513 at gmail.com> wrote:
> Greetings,
>
> Now in oslo, we already put some scheduler filters/weights logic there and
> cinder is using oslo scheduler filters/weights logic, seems we want both
> nova&cinder use this logic in future.
>
> Found some problems as following:
> 1) In cinder, some filters/weight logic reside in
> cinder/openstack/common/scheduler and some filter/weight logic in
> cinder/scheduler, this is not consistent and also will make some cinder
> hackers confused: where shall I put the scheduler filter/weight.
> 2) Nova is not using filter/weight from oslo and also not using entry point
> to handle all filter/weight.
> 3) There is not enough filters in oslo, we may need to add more there: such
> as same host filter, different host filter, retry filter etc.
>
> So my proposal is as following:
> 1) Add more filters to oslo, such as same host filter, different host
> filter, retry filter etc.
> 2) Move all filters/weight logic in cinder from cinder/scheduler to
> cinder/openstack/common/scheduler
> 3) Enable nova use filter/weight logic from oslo (Move all filter logic to
> nova/openstack/common/scheduler) and also use entry point to handle all
> filters/weight logic.
>
> Comments?
>
> Thanks,
>
> Jay
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Davanum Srinivas :: http://davanum.wordpress.com



More information about the OpenStack-dev mailing list