-
Notifications
You must be signed in to change notification settings - Fork 1.2k
server: check limit on correct store during snapshot allocation #11558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: check limit on correct store during snapshot allocation #11558
Conversation
weizhouapache
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
@shwstppr
the issue number seems incorrect
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #11558 +/- ##
=========================================
Coverage 16.17% 16.17%
Complexity 13297 13297
=========================================
Files 5656 5656
Lines 498136 498140 +4
Branches 60432 60434 +2
=========================================
+ Hits 80584 80588 +4
Misses 408584 408584
Partials 8968 8968
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java
Show resolved
Hide resolved
87600bc to
cb2dde2
Compare
|
@blueorangutan package |
|
@shwstppr 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]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 14869 |
vishesh92
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
|
@blueorangutan package |
|
@vishesh92 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]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14899 |
|
there is another issue: we may need to fix the process of resouce count calculation cloudstack/server/src/main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java Lines 1497 to 1504 in 70a4503
similar change is needed when calculate the primary storage usage |
Fixes apache#11551 Signed-off-by: Abhishek Kumar <[email protected]>
cb2dde2 to
a103b76
Compare
|
@blueorangutan package |
|
@weizhouapache 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. |
|
verified ok
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 14983 |
|
@blueorangutan test |
|
@weizhouapache a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14313)
|
|
Merging based on approvals and tests |
Description
Fixes #11551
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?