← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1807251] [NEW] Horizon Overview summary showing wrong numbers

 

Public bug reported:

I am using Queens and when i looked at horizon (admin) overview Usage
summary i am seeing following numbers

Active Instances: 367
Active RAM: 1.9TB
This Period's VCPU-Hours: 95711.23
This Period's GB-Hours: 404773.71
This Period's RAM-Hours: 80477125.24

But on command line its totally different.

[root@ostack-osa ~(keystone_admin)]# openstack usage list
Usage from 2018-11-08 to 2018-12-07:
+---------+---------+--------------+-----------+---------------+
| Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |
+---------+---------+--------------+-----------+---------------+
| admin   |       2 |  14855498.82 |  15916.61 |      42444.28 |
| dev     |      99 |  72145965.54 |  40145.19 |     401451.87 |
| ops     |     212 | 971698155.99 | 1279201.8 |    4839548.69 |
+---------+---------+--------------+-----------+---------------+

[root@ostack-osa ~(keystone_admin)]# openstack hypervisor stats show -c running_vms -f value
283

[root@ostack-osa ~(keystone_admin)]# openstack server list -f value -c ID --deleted --all-projects | wc -l
331


Question is why horizon showing me 367 Active instance?

** Affects: horizon
     Importance: Undecided
         Status: New

** Description changed:

  I am using Queens and when i looked at horizon (admin) overview Usage
  summary i am seeing following numbers
  
  Active Instances: 367
  Active RAM: 1.9TB
  This Period's VCPU-Hours: 95711.23
  This Period's GB-Hours: 404773.71
  This Period's RAM-Hours: 80477125.24
  
- 
- But on command line its totally different. 
+ But on command line its totally different.
  
  [root@ostack-osa ~(keystone_admin)]# openstack usage list
  Usage from 2018-11-08 to 2018-12-07:
  +---------+---------+--------------+-----------+---------------+
  | Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |
  +---------+---------+--------------+-----------+---------------+
  | admin   |       2 |  14855498.82 |  15916.61 |      42444.28 |
  | dev     |      99 |  72145965.54 |  40145.19 |     401451.87 |
  | ops     |     212 | 971698155.99 | 1279201.8 |    4839548.69 |
  +---------+---------+--------------+-----------+---------------+
  
  [root@ostack-osa ~(keystone_admin)]# openstack hypervisor stats show -c running_vms -f value
  283
  
+ [root@ostack-osa ~(keystone_admin)]# openstack server list -f value -c ID --deleted --all-projects | wc -l
+ 331
+ 
  
  Question is why horizon showing me 367 Active instance?

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1807251

Title:
  Horizon Overview summary showing wrong numbers

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I am using Queens and when i looked at horizon (admin) overview Usage
  summary i am seeing following numbers

  Active Instances: 367
  Active RAM: 1.9TB
  This Period's VCPU-Hours: 95711.23
  This Period's GB-Hours: 404773.71
  This Period's RAM-Hours: 80477125.24

  But on command line its totally different.

  [root@ostack-osa ~(keystone_admin)]# openstack usage list
  Usage from 2018-11-08 to 2018-12-07:
  +---------+---------+--------------+-----------+---------------+
  | Project | Servers | RAM MB-Hours | CPU Hours | Disk GB-Hours |
  +---------+---------+--------------+-----------+---------------+
  | admin   |       2 |  14855498.82 |  15916.61 |      42444.28 |
  | dev     |      99 |  72145965.54 |  40145.19 |     401451.87 |
  | ops     |     212 | 971698155.99 | 1279201.8 |    4839548.69 |
  +---------+---------+--------------+-----------+---------------+

  [root@ostack-osa ~(keystone_admin)]# openstack hypervisor stats show -c running_vms -f value
  283

  [root@ostack-osa ~(keystone_admin)]# openstack server list -f value -c ID --deleted --all-projects | wc -l
  331

  
  Question is why horizon showing me 367 Active instance?

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1807251/+subscriptions


Follow ups