-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Different format in HostResponse and HostForMigrationResponse #4460
Copy link
Copy link
Closed
Milestone
Description
The value of memoryallocated in the output of listhosts and findhostformigration are different.
(local) mgt01 > list hosts filter=cpuallocated,memoryallocated type=Routing
{
"count": 5,
"host": [
{
"cpuallocated": "12.51%",
"memoryallocated": 1879048192
},
{
"cpuallocated": "1.14%",
"memoryallocated": 536870912
},
{
"cpuallocated": "0%",
"memoryallocated": 0
},
{
"cpuallocated": "0%",
"memoryallocated": 0
},
{
"cpuallocated": "18.19%",
"memoryallocated": 7247757312
}
]
}
find host for migration
(local) mgt01 > find hostsformigration virtualmachineid=39 filter=cpuallocated,memoryallocated
{
"count": 5,
"host": [
{
"cpuallocated": "0%",
"memoryallocated": "0%"
},
{
"cpuallocated": "0%",
"memoryallocated": "0%"
},
{
"cpuallocated": "1.14%",
"memoryallocated": "7.36%"
},
{
"cpuallocated": "12.73%",
"memoryallocated": "29.43%"
}
]
}
they should be same.
ISSUE TYPE
- Bug Report
COMPONENT NAME
CLOUDSTACK VERSION
4.14
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
memoryallocated in two responses are in same format (amount or percentage)
ACTUAL RESULTS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Fields
Give feedbackNo fields configured for issues without a type.