Bug 1696739 - Deprecate '/os-hypervisors/statistics' API
Summary: Deprecate '/os-hypervisors/statistics' API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: beta
: 17.0
Assignee: Stephen Finucane
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-05 14:27 UTC by Stephen Finucane
Modified: 2023-03-21 19:14 UTC (History)
12 users (show)

Fixed In Version: openstack-nova-23.2.1-0.20220428212241.327693a.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:07:43 UTC
Target Upstream Version: Wallaby
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 755109 0 None MERGED Add modernize-os-hypervisors-api spec 2021-01-25 10:35:57 UTC
OpenStack gerrit 764040 0 None MERGED api: Drop statistics-style fields from os-hypervisors 2021-01-25 10:37:47 UTC
Red Hat Issue Tracker OSP-1427 0 None None None 2022-05-26 10:42:55 UTC
Red Hat Knowledge Base (Solution) 6991912 0 None None None 2022-12-25 15:51:59 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:08:48 UTC

Description Stephen Finucane 2019-04-05 14:27:01 UTC
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:

Comment 7 errata-xmlrpc 2022-09-21 12:07:43 UTC
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


Note You need to log in before you can comment on or make changes to this bug.