Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-6850

Cpu cores, cpu speed and memory are not returned by listUsageRecords

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.3.0, 4.4.0
    • Fix Version/s: 4.4.0
    • Component/s: Usage
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              olemasle Olivier Lemasle
              Reporter:
              olemasle Olivier Lemasle
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: