On Mon, 2024-05-13 at 22:00 +0530, Gk Gk wrote:
So, by default, is it enabled in Antelope ? Is it a configurable option ? If so in which file it resides ? Once again thank you for your help. Appreciate it. no its not configurable disk usage is alwasy enforce by placement now
perhaps you can explain what you are trying to do are you trying to modify the over commit ratio? or somethign similar that can be done via https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.dis... or https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.ini...
On Mon, 13 May 2024, 19:30 , <smooney@redhat.com> 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
On Mon, 2024-05-13 at 18:27 +0530, Gk Gk wrote: 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