Hello OpenStack community,
I'm working with OpenStack (2023.1 kolla ansible) Nova and using the /os-hypervisors
API to gather hypervisor information. I noticed that the CPU and RAM allocation ratios (which are shown in the Horizon dashboard) are not included in the response from:
GET /os-hypervisors
GET /os-hypervisors/{id}
We're currently using Nova API version 2.91, but I see that the /os-hypervisors
API appears to support only up to version 2.1,
I’d like to clarify the following points:
Is it expected behavior that the /os-hypervisors
API does not return CPU and RAM allocation ratios?
Is there any API endpoint that exposes these ratios programmatically?
As we are using Nova API version 2.91, but /os-hypervisors
seems limited to v2.1, is this a known limitation or design choice?
If the only source of truth is the nova.conf
configuration file (e.g., cpu_allocation_ratio
, ram_allocation_ratio
), is there any plan to expose this via API in future releases?
It would be helpful to know if this is something we should work around by manually collecting config values, or if there's a more appropriate method in modern Nova setups.
|