GitHub user DaanHoogland added a comment to the discussion: Insert Event 
Manually to force Usage Recalculation

@KuasarCloud you can add an event in the cloud.usage_event table. It will get 
copied to the cloud-usage.usage_event table and be process if the next job 
start at the period just before this event. This is quite tricky as old data is 
already in the tables. It is possible to delete old data in the intermediate 
table(s) and in the cloud_usage.cloud_usage table. In your case 
cloud_usage.usage_volume is important to check. in addition any events after 
your new event need to be set to unprocessed. your mileage may vary. simplest 
may be to just add the event for now and make it stop creating records in the 
future. Reconciling of usage is not well implemented.

GitHub link: 
https://github.com/apache/cloudstack/discussions/9597#discussioncomment-10472184

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to