| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Adds framework layer change to allow retrieving and storing IOPS stats for storage pools. Custom `PrimaryStoreDriver` can implement method - `getStorageIopsStats` for returning IOPS stats. Existing method `getUsedIops` can also be overridden by such plugins when only used IOPS is returned. For testing purpose, implementation has been added for simulator hypervisor plugin to return capacity and used IOPS for a pool. For local storage pool, implementation has been added using iostat to return currently used IOPS. StoragePoolResponse class has been updated to return IOPS values which allows showing IOPS values in UI for different storage pool related views and APIs. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@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. |
Sorry, something went wrong.
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 11707 |
Sorry, something went wrong.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Codecov ReportAttention: Patch coverage is 62.98343% with 67 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## 4.20 #10034 +/- ##
============================================
+ Coverage 16.03% 16.05% +0.01%
- Complexity 12815 12840 +25
============================================
Files 5637 5637
Lines 493501 493650 +149
Branches 59829 59838 +9
============================================
+ Hits 79130 79231 +101
- Misses 405595 405636 +41
- Partials 8776 8783 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@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. |
Sorry, something went wrong.
There was a problem hiding this comment.
clgtm
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11711 |
Sorry, something went wrong.
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11822 |
Sorry, something went wrong.
|
@shwstppr a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
Sorry, something went wrong.
|
[SF] Trillian test result (tid-11920)
|
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11921 |
Sorry, something went wrong.
|
@shwstppr a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
Sorry, something went wrong.
|
[SF] Trillian test result (tid-11996)
|
Sorry, something went wrong.
|
[SF] Trillian test result (tid-11997)
|
Sorry, something went wrong.
|
[SF] Trillian test result (tid-11998)
|
Sorry, something went wrong.
|
[SF] Trillian test result (tid-11999)
|
Sorry, something went wrong.
|
Test failures are unrelated to change and look similar to what we have in the test matrix for health check PR. Re-running @blueorangutan package |
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11962 |
Sorry, something went wrong.
|
@shwstppr a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
Sorry, something went wrong.
|
[SF] Trillian test result (tid-12023)
|
Sorry, something went wrong.
|
[SF] Trillian test result (tid-12024)
|
Sorry, something went wrong.
|
[SF] Trillian test result (tid-12025)
|
Sorry, something went wrong.
|
Merging based on the manual testing and LGTMs Test failures are unrelated and can be seen in the health check PR |
Sorry, something went wrong.
Adds framework layer change to allow retrieving and storing IOPS stats for storage pools. Custom `PrimaryStoreDriver` can implement method - `getStorageIopsStats` for returning IOPS stats. Existing method `getUsedIops` can also be overridden by such plugins when only used IOPS is returned. For testing purpose, implementation has been added for simulator hypervisor plugin to return capacity and used IOPS for a pool. For local storage pool, implementation has been added using iostat to return currently used IOPS. StoragePoolResponse class has been updated to return IOPS values which allows showing IOPS values in UI for different storage pool related views and APIs. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Addresses: shapeblue/cloudstack-apple#490 Adds framework layer change to allow retrieving and storing IOPS stats for storage pools. Custom `PrimaryStoreDriver` can implement method - `getStorageIopsStats` for returning IOPS stats. Existing method `getUsedIops` can also be overridden by such plugins when only used IOPS is returned. For testing purpose, implementation has been added for simulator hypervisor plugin to return capacity and used IOPS for a pool. For local storage pool, implementation has been added using iostat to return currently used IOPS. StoragePoolResponse class has been updated to return IOPS values which allows showing IOPS values in UI for different storage pool related views and APIs. Schema changes: [fr83-schema-changes.sql.txt](https://github.com/user-attachments/files/18006838/fr83-schema-changes.sql.txt) Upstream PR: apache#10034 --------- Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
| Back | FazBrowse Home | New Git URL |
Description
Adds framework layer change to allow retrieving and storing IOPS stats for storage pools. Custom PrimaryStoreDriver can implement method - getStorageIopsStats for returning IOPS stats. Existing method getUsedIops can also be overridden by such plugins when only used IOPS is returned. For testing purpose, implementation has been added for simulator hypervisor plugin to return capacity and used IOPS for a pool. For local storage pool, implementation has been added using iostat to return currently used IOPS. StoragePoolResponse class has been updated to return IOPS values which allows showing IOPS values in UI for different storage pool related views and APIs.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
With local storage (used iops returned by listStoragePools API):
(localcloud) 🐱 > list storagepools scope=HOST { "count": 1, "storagepool": [ { "clusterid": "3c21973f-de72-4196-af20-a8d13bd043a2", "clustername": "p1-c1", "created": "2024-12-03T06:31:52+0000", "disksizeallocated": 0, "disksizetotal": 20386414592, "disksizeused": 10423214080, "hasannotations": false, "hypervisor": "KVM", "id": "124992d7-8710-4c58-bafd-24efa7b79570", "ipaddress": "10.0.32.118", "name": "ol8.localdomain-local-124992d7", "overprovisionfactor": "2.0", "path": "/var/lib/libvirt/images", "podid": "42791654-5ace-4f1e-89e4-62bc2c3e6396", "podname": "Pod1", "provider": "DefaultPrimary", "scope": "HOST", "state": "Up", "storagecapabilities": { "VOLUME_SNAPSHOT_QUIESCEVM": "false" }, "type": "Filesystem", "usediops": 2600140, "zoneid": "7fd98beb-22f0-4fb7-9740-8ec6290c7500", "zonename": "pr488-t11753-kvm-ol8" } ] }How did you try to break this feature and the system with this change?