-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix storage pool capacity threshold flag #11366
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
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
|
|
@blueorangutan package |
|
@DaanHoogland 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. |
|
@eduardovra , I think I get what you are trying to fix here and the change makes sense. I do not think it will have the effect you desire though. What you change here is only affecting a response on an API call and not on the behaviour of the system. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #11366 +/- ##
=========================================
Coverage 15.17% 15.17%
+ Complexity 11365 11363 -2
=========================================
Files 5415 5415
Lines 476050 476050
Branches 58119 58119
=========================================
+ Hits 72254 72257 +3
+ Misses 395710 395708 -2
+ Partials 8086 8085 -1
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:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14498 |
Since you've mentioned, is there an API that reports if the system still has capacity to take in new deployments? |
|
@sureshanaparti good to have, if you want to consider for 4.21 @blueorangutan test |
|
@rohityadavcloud a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-14008)
|
there is https://cloudstack.apache.org/api/apidocs-4.20/apis/listCapacity.html but I think it just returns the used and available capacities and does not take into account any thresholds. You would have to retrieve those separately. |
|
Awesome work, congrats on your first merged pull request! |
Description
This fixes an issue with the
listStoragePoolsMetricscommand where the capacity threshold flag is being evaluated incorrectly.Reference issue #11364
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?