[ https://issues.apache.org/jira/browse/CLOUDSTACK-6850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14229569#comment-14229569 ]
Rohit Yadav commented on CLOUDSTACK-6850: ----------------------------------------- Thanks for replying [~olemasle] and sorry for a later reply, I found this interesting and you're right we cannot backport since it changes schema. > Cpu cores, cpu speed and memory are not returned by listUsageRecords > -------------------------------------------------------------------- > > Key: CLOUDSTACK-6850 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6850 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Usage > Affects Versions: 4.3.0, 4.4.0 > Reporter: Olivier Lemasle > Assignee: Olivier Lemasle > Priority: Critical > Fix For: 4.4.0 > > > When using dynamic custom offerings, cpu cores, cpu speed and ram values are > recorded in usage_vm_instance table while parsing the usage events. > But these details are not populated in cloud_usage table, and are not > returned by the listUsageRecords command. Therefore, there is no way to know > the historical values for cpu and memory using API. > We should add cpu_cores, cpu_speed and memory in cloud_usage.cloud_usage and > return them in listUsageRecords response. -- This message was sent by Atlassian JIRA (v6.3.4#6332)