Description of problem: The '/os-hypervisors/statistics' API returns a lot of incomplete data that doesn't take into account things like overallocation ratios, as seen in rhbz#1096010. We should remove it. Version-Release number of selected component (if applicable): 20.0.0 (OSP 16) How reproducible: Always Steps to Reproduce: 1. Create multiple instances on a host using CPU overcommit 2. Check 'nova hypervisor-stats' Actual results: The 'vcpus' figure is negative Expected results: N/A (there's no easy way to handle this, considering things like dedicated CPUs - the whole thing should be removed in favour of placement) Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:6543