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
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