apache / apache/cloudstack

[Quota] Details by resource on consumption

Open
#13,823 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

### Problem

Observing multiple rows for the same aggregation range time period for each individual resource, which do not sum up to the consumed quota displayed above.

As an example:

`usage.stats.job.aggregation.range` = 20

Tariffs:
- RUNNING_VM = 10
- ALLOCATED_VM = 5
- VOLUME = 10

For VM = `cks-control-19fd8b4d3a1`, the consumed quota for RUNNING_VM = 4.04

Image

Image

### versions

CloudStack version 4.23 RC2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the quota display on CloudStack 4.23 RC2 with the reported aggregation range and resource values. Trace how per-resource consumption rows are calculated and compared with the total quota shown above. Done means the resource details reconcile with the displayed consumed quota, with coverage for the reported VM and tariff example.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.