Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #14137 +/- ##
============================================
+ Coverage 19.78% 19.89% +0.10%
- Complexity 19995 20141 +146
============================================
Files 6371 6371
Lines 575909 576902 +993
Branches 70509 70635 +126
============================================
+ Hits 113950 114761 +811
- Misses 449526 449598 +72
- Partials 12433 12543 +110
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@bernardodemarco a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19505 |
| } | ||
|
|
||
| try { | ||
| resourceLimitMgr.incrementResourceCount(caller.getAccountId(), Resource.ResourceType.instance_snapshot); |
There was a problem hiding this comment.
should this count go on the owner of the instance instead of the caller? when an admin snapshots a users instance the admins count goes up but the limit is checked on the user
|
|
||
| return false; | ||
| if (success) { | ||
| resourceLimitMgr.decrementResourceCount(caller.getAccountId(), Resource.ResourceType.instance_snapshot); |
There was a problem hiding this comment.
what happens when an instance is destroyed with snapshots still on it? that path removes them without lowering the count, so it only goes up
Description
Currently, instance snapshot limits are not implemented in Apache CloudStack. Therefore, this PR adds the instance snapshots limits to the
listResourceLimitsAPI, and extends the GUI to display them for accounts, domains and projects in theResourcestab.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
Account resources's tab
Domain resources's tab
Project resources's tab
How Has This Been Tested?