Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1456056

Summary: Wrong hypervisor statistics reported "nova hypervisor-stats"
Product: Red Hat OpenStack Reporter: nalmond
Component: openstack-novaAssignee: Sahid Ferdjaoui <sferdjao>
Status: CLOSED ERRATA QA Contact: awaugama
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0 (Mitaka)CC: awaugama, berrange, dasmith, eglynn, jjoyce, kchamart, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: zstreamKeywords: Triaged, ZStream
Target Release: 9.0 (Mitaka)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-13.1.4-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1458190 (view as bug list) Environment:
Last Closed: 2017-07-12 13:19:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1458190    

Description nalmond 2017-05-26 23:11:45 UTC
Description of problem:
The values output by nova hypervisor-stats (and openstack hypervisor stats show) should match the sum of the outputs of nova hypervisor show, but does not when there are deleted compute nodes in the database.

How reproducible:
Seen in one environment, but every time nova hypervisor-stats is run.

Steps to Reproduce:
1. add additional compute nodes
2. delete compute nodes
3. run nova hypervisor-stats

Actual results:
Output does not match the sum of the individual node values

Expected results:
Output matches the sum of the individual node values

Additional info:
This looks like the issue described and fixed upstream https://bugs.launchpad.net/nova/+bug/1692397

Comment 6 errata-xmlrpc 2017-07-12 13:19:57 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, 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/RHBA-2017:1737