I've encountered a similar issue in my openstack cluster.
After setting the cpu_allocation_ratio for the resource provider inventory in placement,it doesn't seem to affect the nova-scheduler.
Nova-scheduler always fetches cpu_allocation_ratio value from the compute_nodes table.
I'm wondering if we can patch some fields of the HostState instance by calling placement-api when the nova-scheduler initializes the HostState instance?
Considering performance issues in large-scale clusters, add a new handler in placement for bulk querying resource provider inventories seems like a good solution.
By consolidating multiple query transactions of providers into single transaction, we could potentially address performance concerns.
I've encountered a similar issue in my openstack cluster.
After setting the cpu_allocation_ ratio for the resource provider inventory in placement,it doesn't seem to affect the nova-scheduler.
Nova-scheduler always fetches cpu_allocation_ ratio value from the compute_nodes table.
I'm wondering if we can patch some fields of the HostState instance by calling placement-api when the nova-scheduler initializes the HostState instance?
Considering performance issues in large-scale clusters, add a new handler in placement for bulk querying resource provider inventories seems like a good solution.
By consolidating multiple query transactions of providers into single transaction, we could potentially address performance concerns.