← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1460866] Re: Hypervisor stats is incorrect in Hozion

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

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

Title:
  Hypervisor stats is incorrect in Hozion

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  From the Admin -> Hypervisor panel, I notice that the Hypervisort
  stats is converted from megabyte to Gibibyte.

  However, the calculation seems incorrect.

  Here is my observation:

  From nova CLI:

  vagrant@precise64:~/devstack$ nova hypervisor-stats
  +----------------------+-------+
  | Property             | Value |
  +----------------------+-------+
  | count                | 1     |
  | current_workload     | 0     |
  | disk_available_least | -49   |
  | free_disk_gb         | -43   |
  | free_ram_mb          | -1236 |
  | local_gb             | 38    |
  | local_gb_used        | 81    |
  | memory_mb            | 7980  |
  | memory_mb_used       | 9216  |
  | running_vms          | 3     |
  | vcpus                | 4     |
  | vcpus_used           | 5     |
  +----------------------+-------+

  Where as the member_mb is 7980

  On the horizon side, it is converted to 7.8 GB (See attached and GB is
  Gibibyte).

  However, if you go to google and convert the value, it is 7.43 GB
  (Gibibyte).

  https://www.google.com/search?q=megabyte+to+gigabyte&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla
  :en-US:official&client=firefox-a&channel=sb#rls=org.mozilla:en-
  US:official&channel=sb&q=7980+megabyte+to+gibibyte

  Note: you will see my hypervisor stats is oversubscribed. Please
  ignore that as this bug is only against the calculation problem.

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


References