[Openstack] setting nova-scheduler filter
Gangur, Hrushikesh (HP Converged Cloud - R&D - Sunnyvale)
hrushikesh.gangur at hp.com
Wed Aug 28 20:27:45 UTC 2013
This entry in the nova.conf of nova-controller node should be sufficient to address your issue:
The Filter Scheduler (nova.scheduler.filter_scheduler.FilterScheduler) is the default scheduler for scheduling virtual machine instances. It supports filtering and weighting to make informed decisions on where a new instance should be created. This Scheduler can only be used for scheduling compute requests, not volume requests, i.e. it can only be used with the compute_scheduler_driver configuration option
Here is how it picks up the node (in the exact order):
1. Check the disk space - in your it is tiny flavor so no size check is done
2. Check the memory - it does allow you provision beyond 1.5x (default) of physical memory. For example, if you have 72 GB physical memory, and each tiny flavor takes 512 MB (0.5 GB), the no. of instances that can be provisioned must not be more than (72*1.5)/0.5 =216 instances
3. Check the CPU - it does not allow you provision vCPUs beyond 16x (default) of the physical core no. For example, if you have 24 cores, the scheduler will not consider the host that has more than 16x24= 384 vCPUs. In case of tiny flavor, it maps to 384 instances (1 vcpu each).
For further reading: http://docs.openstack.org/developer/nova/devref/filter_scheduler.html
From: Sajjad, FazilX [mailto:fazilx.sajjad at intel.com]
Sent: Wednesday, August 28, 2013 11:43 AM
To: openstack at lists.openstack.org
Subject: [Openstack] setting nova-scheduler filter
I am trying to specify which filters the nova-scheduler is to use but it does not appear to be working. I am using OpenStack Folsom (devstack release). Is this the right settings to put in my nova.conf?
scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
scheduler_available_filters = nova.scheduler.filters.standard_filters
scheduler_default_filters = RamFilter,ComputeFilter,TrustedFilter
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack