[Usage] Create VPC billing#7235
Conversation
|
Wouw, I would not have guessed this omission was there, good work @SadiJr |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #7235 +/- ##
============================================
+ Coverage 30.96% 30.99% +0.02%
- Complexity 34304 34387 +83
============================================
Files 5354 5359 +5
Lines 376105 376855 +750
Branches 54694 54831 +137
============================================
+ Hits 116454 116790 +336
- Misses 244336 244704 +368
- Partials 15315 15361 +46
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
SonarCloud Quality Gate failed. |
stephankruggg
left a comment
There was a problem hiding this comment.
LGTM based on manual tests
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@blueorangutan package |
|
@kiranchavala a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 5688 |
|
@SadiJr Could you please resolve the merge conflicts |
|
SonarCloud Quality Gate failed. |
|
@SadiJr we can target this for 4.18.1 or for 4.19 . In any case th upgrade script needs to be altered (now using 4.17.2 to 4.18.0) |
|
@DaanHoogland done, thanks for your suggestion. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
624c5e9 to
bb4659f
Compare
|
@blueorangutan package |
|
@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9047 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-9853) |
|
[SF] Trillian Build Failed (tid-9868) |
|
[SF] Trillian Build Failed (tid-9872) |
|
[SF] Trillian test result (tid-9880)
|
|
@stephankruggg did you test this? |
Yes, prior to approving this PR I ran the same tests as @SadiJr, as far as I can remember. |
Co-authored-by: SadiJr <sadi@scclouds.com.br> Co-authored-by: Bryan Lima <bryan.lima@hotmail.com>








Description
The usage of VPCs are not captured and saved by the Usage plugin, which makes it impossible to charge via the Quota plugin. The Usage plugin has extended, to save the VPC events in database. When a VPC is created, the event
EVENT_VPC_CREATEis used; when a VPC is removed, the eventEVENT_VPC_DELETEis used. Also, this new type has the attributesvalue.idandvalue.nameinjected in the Quota plugin.Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
It was tested in a local lab: