Public bug reported: >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. ** Affects: horizon Importance: Undecided Assignee: Kahou Lei (kahou82) Status: New ** Attachment added: "Screen Shot 2015-06-01 at 6.17.35 PM.png" https://bugs.launchpad.net/bugs/1460866/+attachment/4408364/+files/Screen%20Shot%202015-06-01%20at%206.17.35%20PM.png ** Changed in: horizon Assignee: (unassigned) => Kahou Lei (kahou82) -- 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): New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp