Uh oh!
There was an error while loading. Please reload this page.
Storage pool response improvements - #10740
Conversation
sureshanaparti
commented
Apr 16, 2025
@blueorangutan package |
blueorangutan
commented
Apr 16, 2025
@sureshanaparti 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. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@## main #10740 +/- ##
============================================
- Coverage 17.42% 17.42% -0.01%
Complexity 15336 15336 ============================================
Files 5892 5892 Lines 526521 526547 +26 Branches 64293 64300 +7 ============================================
- Hits 91767 91747 -20 - Misses 424401 424448 +47 + Partials 10353 10352 -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:
|
blueorangutan
commented
Apr 16, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13079 |
sureshanaparti
commented
Apr 17, 2025
@blueorangutan package |
blueorangutan
commented
Apr 17, 2025
@sureshanaparti 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. |
blueorangutan
commented
Apr 17, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13094 |
sureshanaparti
commented
Apr 17, 2025
@blueorangutan test |
blueorangutan
commented
Apr 17, 2025
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Apr 18, 2025
[SF] Trillian test result (tid-13037)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm but has been lingering for too long and needs an update.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
blueorangutan
commented
Sep 16, 2025
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
DaanHoogland
commented
Sep 16, 2025
@blueorangutan test keepEnv |
blueorangutan
commented
Sep 16, 2025
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Sep 16, 2025
[SF] Trillian test result (tid-14352)
|
blueorangutan
commented
Sep 16, 2025
[SF] Trillian test result (tid-14353)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
lgtm verified in a lab env
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
… update capacityBytes and capacityIops if applicable while creating storage pool
…th the capacityiops response parameter and createStoragePool cmd request parameter (existing disksizetotal parameter in the storage pool response can be deprecated)
…s table while creating storage pool as well, for consistency - as these are updated with during update storage pool
9057537 to
0eeb75bComparesureshanaparti
commented
Sep 26, 2025
@blueorangutan package |
blueorangutan
commented
Sep 26, 2025
@sureshanaparti 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. |
blueorangutan
commented
Sep 26, 2025
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 15194 |
sureshanaparti
commented
Sep 26, 2025
@blueorangutan package |
blueorangutan
commented
Sep 26, 2025
@sureshanaparti 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. |
blueorangutan
commented
Sep 26, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15197 |
Uh oh!
There was an error while loading. Please reload this page.
* Return details of the storage pool in the response including url, and update capacityBytes and capacityIops if applicable while creating storage pool * Added capacitybytes parameter to the storage pool response in sync with the capacityiops response parameter and createStoragePool cmd request parameter (existing disksizetotal parameter in the storage pool response can be deprecated) * Don't keep url in details * Persist the capacityBytes and capacityIops in the storage_pool_details table while creating storage pool as well, for consistency - as these are updated with during update storage pool * rebase with main fixes
* Return details of the storage pool in the response including url, and update capacityBytes and capacityIops if applicable while creating storage pool * Added capacitybytes parameter to the storage pool response in sync with the capacityiops response parameter and createStoragePool cmd request parameter (existing disksizetotal parameter in the storage pool response can be deprecated) * Don't keep url in details * Persist the capacityBytes and capacityIops in the storage_pool_details table while creating storage pool as well, for consistency - as these are updated with during update storage pool * rebase with main fixes
Description
This PR has the following storage pool response improvements (addresses #8731):
capacitybytes in the storage_pool table is updated during the following events:
and update storage pool cmd persists the capacityBytes and capacityIops in the storage_pool_details table, and these values are not updated/synced (so, for consistency, create storage pool also persists the capacityBytes and capacityIops in the storage_pool_details table).
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested create storage pool (NFS) with capacitybytes, capacityiops and some details.
Create storage pool (capacitybytes synced with the details from ModifyStoragePoolAnswer, detail parameter doesn't change) =>
List storage pool =>
Update storage pool (capacitybytes and capacityiops, actual and detail parameters updated) =>
List storage pool (capacitybytes doesn't sync-ed with stats collector yet) =>
List storage pool (capacitybytes sync-ed with stats collector, detail parameter doesn't change) =>
DB =>
How did you try to break this feature and the system with this change?