ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
It is observed on KVM environments that the capacity metrics displayed on the UI show the allocated value and total for CPU and Memory, however the UI is displayed the used value instead of the allocated value
Example API response for listCapacity API:
{
"type": 0,
"name": "MEMORY",
"zoneid": "a3cc5e82-56a3-4a48-96c1-b087146b2afc",
"zonename": "NVS Home Zone",
"capacityallocated": 21340618752,
"capacityused": 8321499136,
"capacitytotal": 32445620224,
"percentused": "25.65"
},
{
"type": 1,
"name": "CPU",
"zoneid": "a3cc5e82-56a3-4a48-96c1-b087146b2afc",
"zonename": "NVS Home Zone",
"capacityallocated": 32000,
"capacityused": 16500,
"capacitytotal": 67200,
"percentused": "24.55"
},
Example in the UI:

Check that values displayed as CPU Allocated and Memory Allocated are actually CPU used and Memory used (as well as the calculated percentage)
STEPS TO REPRODUCE
List zone metrics, or host metrics
EXPECTED RESULTS
CPU and Memory Allocated values
ACTUAL RESULTS
CPU and Memory Used values
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
It is observed on KVM environments that the capacity metrics displayed on the UI show the allocated value and total for CPU and Memory, however the UI is displayed the used value instead of the allocated value
Example API response for listCapacity API:
Example in the UI:

Check that values displayed as CPU Allocated and Memory Allocated are actually CPU used and Memory used (as well as the calculated percentage)
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS