From 7a15a0e04b5128b2c6bd42d5094183ba94577037 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 21 May 2014 14:22:04 +0900 Subject: [PATCH] Add Core, Ram and Disk filter to fake virt setting The FakeVirt driver shouldn't need custom scheduling options, so it run instead of a real virt driver for testing purposes. This simplifies the use case where someone wants to run the FakeVirt driver along side a real driver so someone can test there cloud application without wasting real instances. Since the FakeVirt driver should look like it has near infinite resources, turn on Core, Ram and Disk filters to make sure the drive works with them enabled. Change-Id: Ic7ec87e4d497d9db58eec93f2b304fe9770a2bbc Related-Bug: #1268943 --- lib/nova_plugins/hypervisor-fake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nova_plugins/hypervisor-fake b/lib/nova_plugins/hypervisor-fake index e7a833f806..dc93633410 100644 --- a/lib/nova_plugins/hypervisor-fake +++ b/lib/nova_plugins/hypervisor-fake @@ -47,7 +47,7 @@ function configure_nova_hypervisor { iniset $NOVA_CONF DEFAULT quota_security_groups -1 iniset $NOVA_CONF DEFAULT quota_security_group_rules -1 iniset $NOVA_CONF DEFAULT quota_key_pairs -1 - iniset $NOVA_CONF DEFAULT scheduler_default_filters "RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter" + iniset $NOVA_CONF DEFAULT scheduler_default_filters "RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,CoreFilter,RamFilter,DiskFilter" } # install_nova_hypervisor() - Install external components