On Mon, 2024-05-13 at 18:27 +0530, Gk Gk wrote:
Hi,
In the Antelope version nova scheduler, is there an option for filtering hypervisors based on available disk space ? I cant find the option "DiskFilter' in the latest documentation for antelope. How to achieve this ?
the Disk filter was removed 5 years ago in train release. https://github.com/openstack/nova/commit/78645e61c63bf042453d1f822ae8b3f1ee6... its functionality is now unconditionally implemented by the placement service. the placement service pre filters that able host returing a set of allocation candiates this funcitonlaty was intoduced as an optional configuration in Pike https://specs.openstack.org/openstack/nova-specs/specs/pike/implemented/plac... and then was made mandotry around the time of the rocky release. we removed the filters in train because as of rocky they were redundant since placement always enforces the disk requirements as nova includes a request for disk space in the placement allocation candiate request when its approprate to do so. i.e. nova will not claim local disk space for BFV guest but will for guests using local storage.
Thanks G.K