Improve how CPU & MEMORY are presented to the user
|Assignee:||Tino Vázquez||% Done:|
|Target version:||Release 3.6|
The attributes CPU and MEMORY for VM and Hosts can be confusing to new users.
List of incongruencies:
- When a VM is defined, both CPU and MEMORY refer to the Host capacity that will be reserved. But MEMORY is also the memory that the guest will see, whereas the number of virtual cpus is set in a different attribute, VCPU.
- When a new VM is defined, VM/MEMORY and VM/CPU refer to the allocated value. But an existing VM stores in the same attributes the monitored usage.
- When a new VM is defined, CPU is measured in number of cpus, although HOST/CPU is measured and shown in percentage. The monitored CPU usage of an existing VM is also measured in percentage.
- VM/CPU (monitored percentage) is shown in 'onevm list' simply as 'CPU', and in 'onevm show' as 'USED CPU'. This is maintained in Sunstone, but the Self-service portal shows the allocated CPU, in number of cpus.
Another important issue is that the monitored cpu and memory values are not reported by the VMware driver. Maybe we should not give so much visibility to these values in infrastructures running VMware.
bug #1285: Make Xen display net consumption in bytes (not in Ks)
(cherry picked from commit eba11017851e11281a1ade1aa26f53e46e32ce65)
feature #1285: change HOSTNAME in onevm list to HOST
(cherry picked from commit 2dba6994331b693c96b76329c8baade6e58699d7)
feature #1285: Explain values of the host XML representation
(cherry picked from commit a56e954140c4f2487ef48136e04f0ac17246aa04)
feature #1285: Use same units in onevm show as in onevm list
(cherry picked from commit 12ed90eb5cb84326b7e10f36eb853411a7aa57a1)
feature #1285: Change units of memory in "onehost show"
(cherry picked from commit b3c31e0332f0ed6bf39c3b9f69c56d11e37ace94)
Feature #1285: Hide disk usage in onehost show, humanize monitoring time
(cherry picked from commit d12c86614addcc8e20c8ec6326167c127f046aa7)
Feature #1285: rearrange one* list column widths
(cherry picked from commit 75b79c99c87798cf256f629f62f7e8730701fd7c)
Feature #1285: Minor changes to oneimage and onevm show
(cherry picked from commit 554f5f332eab460f40851d7f2cbab2b5737632b4)
Feature #1285: Change the quotas output for oneuser and onegroup
(cherry picked from commit 82cbf0ff6569029c1922994149f98c2532f947b4)
Feature #1285: Change output style for time periods, e.g. 05h30m instead of 05:30
(cherry picked from commit 2c41b2f0dfd0c22ce4e4851050d2f8e319f3cbeb)
Feature #1285: Change some labels in UIs to be like CLI
(cherry picked from commit ccd6f4356ccae79f854a8849b6aba2041b16aa73)