Custom Filter Scheduler in Nova and Filters [closed]

asked 2013-08-07 04:48:40 -0500

Sudheesh gravatar image

Couple of quick questions on regarding Filter Scheduler and its custom schedulers.(

1) Can nova have more than one scheduler at a time? Standard Scheduler + one custom scheduler?

2) I have written a filter for the filter scheduler. (Something like RamFilter,CoreFilter,ComputeFilter,RetryFilter,AvailabilityZoneFilter,ImagePropertiesFilter,ComputeCapabilitiesFilter) Suppose tomorrow I write a custom scheduler - will this filter still be used? Or should I configure something somewhere?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Sudheesh
close date 2013-08-27 03:01:09.488835

2 answers

Sort by ยป oldest newest most voted

answered 2013-08-27 02:50:02 -0500

Sudheesh gravatar image

I think we can have only one scheduler at a time (obiviously)

However we can have multiple filters

We can add any number of custom filters

edit flag offensive delete link more

answered 2013-08-12 15:49:06 -0500

koolhead17 gravatar image

updated 2013-08-12 15:51:04 -0500

  1. Yes its very much possible.
  2. Yes you can add your filter along with the exiting filters.
edit flag offensive delete link more


If its possible to add multiple schedulers - how we should configure it. lets say I have a scheduler called 'Scheduler' . So nova conf may look like below scheduler_manager = nova.scheduler.filters.SchedulerManager scheduler_driver = nova.scheduler.filter.Scheduler Then how can I add a second scheduler

Sudheesh gravatar imageSudheesh ( 2013-08-13 01:29:48 -0500 )edit

Also - If there are 2 schedulers - will both of these called when creating a VM?

Sudheesh gravatar imageSudheesh ( 2013-08-13 01:30:41 -0500 )edit

Do you mean - Can we have 2 'compute scheduler's at the same time?

Sudheesh gravatar imageSudheesh ( 2013-08-13 02:39:15 -0500 )edit

What i meant is we can have multiple filter scheduler rules on a compute at same time.

koolhead17 gravatar imagekoolhead17 ( 2013-08-13 02:41:11 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-07 04:48:40 -0500

Seen: 940 times

Last updated: Aug 27 '13