Skip to content

Commit

Permalink
Include DiskFilter in the default list
Browse files Browse the repository at this point in the history
DiskFilter is pretty critical for proper operation of a deployment without
shared storage, and is likely to be something most new operators will want
enabled. We should default to include this.

DocImpact: The DiskFilter is now included in the default set

Change-Id: Iefa5538a58a61986c466912739408ee291cdc6c2
  • Loading branch information
kk7ds committed Jul 31, 2015
1 parent 8ad8701 commit 6739df7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions nova/scheduler/host_manager.py
Expand Up @@ -56,6 +56,7 @@
'RetryFilter',
'AvailabilityZoneFilter',
'RamFilter',
'DiskFilter',
'ComputeFilter',
'ComputeCapabilitiesFilter',
'ImagePropertiesFilter',
Expand Down
2 changes: 2 additions & 0 deletions nova/tests/unit/scheduler/test_caching_scheduler.py
Expand Up @@ -105,6 +105,7 @@ def _get_fake_request_spec(self):
"root_gb": 1,
"ephemeral_gb": 1,
"vcpus": 1,
"swap": 0,
}
instance_properties = {
"os_type": "linux",
Expand All @@ -127,6 +128,7 @@ def _get_fake_host_state(self, index=0):
'host_%s' % index,
'node_%s' % index)
host_state.free_ram_mb = 50000
host_state.free_disk_mb = 4096
host_state.service = {
"disabled": False,
"updated_at": timeutils.utcnow(),
Expand Down

0 comments on commit 6739df7

Please sign in to comment.