-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Change vmsnapshot.max setting scope to the account level
#11616
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11616 +/- ##
============================================
+ Coverage 3.58% 17.56% +13.98%
- Complexity 0 15544 +15544
============================================
Files 445 5909 +5464
Lines 37532 529061 +491529
Branches 6901 64619 +57718
============================================
+ Hits 1346 92940 +91594
- Misses 36022 425664 +389642
- Partials 164 10457 +10293
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:
|
|
functionaly sane change, I am just wondering if a domain level maximum should be enforced as well? If we do it would require some functional definition (is it a default, is it possible to go beyond the domain level maximum, etc) Not in this PR. |
DaanHoogland
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
harikrishna-patnala
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
server/src/main/java/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
Outdated
Show resolved
Hide resolved
a399f91 to
8daad16
Compare
|
@blueorangutan package |
|
@bernardodemarco 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 15507 |
|
@bernardodemarco , ignore the GHA for now as per #11873, but look at the below from the backend, I think these are related: |
|
@DaanHoogland, yes, they seem to be related. I'll soon try to take a look at them |
|
@blueorangutan package |
|
@bernardodemarco 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 15533 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14718)
|
lucas-a-martins
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
engine/components-api/src/main/java/com/cloud/vm/snapshot/VMSnapshotManager.java
Outdated
Show resolved
Hide resolved
…apshotManager.java Co-authored-by: Lucas Martins <[email protected]>
Description
The
vmsnapshot.maxglobal setting is used to control the maximum number of VM snapshots that can be taken for a single VM. However, its scope is global and, thus, when configured, all accounts of the ACS environment will have to comply with the same limitation.This PR proposes to change the setting's scope to the account level, enabling for the cloud operators to define different limitations for different accounts.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
vmsnapshot.maxglobal value as2vmsnapshot.maxvalue to1for a user account