Browse code

Use the suggested default scheduler

Change-Id: I99de26ab653e670576e0825ad35b0a67eacda6f7

Vishvananda Ishaya authored on 2012/03/07 05:45:19
Showing 1 changed files
... ...
@@ -195,9 +195,9 @@ INSTANCE_NAME_PREFIX=${INSTANCE_NAME_PREFIX:-instance-}
195 195
 VIRT_DRIVER=${VIRT_DRIVER:-libvirt}
196 196
 LIBVIRT_TYPE=${LIBVIRT_TYPE:-kvm}
197 197
 
198
-# nova supports pluggable schedulers.  ``SimpleScheduler`` should work in most
199
-# cases unless you are working on multi-zone mode.
200
-SCHEDULER=${SCHEDULER:-nova.scheduler.simple.SimpleScheduler}
198
+# Nova supports pluggable schedulers.  ``FilterScheduler`` should work in most
199
+# cases.
200
+SCHEDULER=${SCHEDULER:-nova.scheduler.filter_scheduler.FilterScheduler}
201 201
 
202 202
 HOST_IP_IFACE=${HOST_IP_IFACE:-eth0}
203 203
 # Use the eth0 IP unless an explicit is set by ``HOST_IP`` environment variable
... ...
@@ -1192,7 +1192,7 @@ add_nova_opt "[DEFAULT]"
1192 1192
 add_nova_opt "verbose=True"
1193 1193
 add_nova_opt "auth_strategy=keystone"
1194 1194
 add_nova_opt "allow_resize_to_same_host=True"
1195
-add_nova_opt "scheduler_driver=$SCHEDULER"
1195
+add_nova_opt "compute_scheduler_driver=$SCHEDULER"
1196 1196
 add_nova_opt "dhcpbridge_flagfile=$NOVA_CONF_DIR/$NOVA_CONF"
1197 1197
 add_nova_opt "fixed_range=$FIXED_RANGE"
1198 1198
 if is_service_enabled n-obj; then