You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 695dac6
Browse filesBrowse the repository at this point in the historyBrowse files
Bugfix/CSTACKEX-254: Change the minimum storagepool size to 20MB and throw an exception in case of invalid capacity bytes instead of adjusting to minimum requirement (#94)
This PR corrects the minimum allowed storage pool size from 1.56GB to
20MB as per ONTAP guidelines for FlexVol. Also, this removes the
behaviour to silently correct the invalid capacity bytes to min.
requirement, instead it'll throw an exception to let the user decide on
the corrective action.
<!---
*******************************************************************************
-->
<!--- NOTE: AUTOMATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE
DOCUMENTATION. -->
<!--- PLEASE PUT AN 'X' in only **ONE** box -->
<!---
*******************************************************************************
-->
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] Build/CI
- [ ] Test (unit or integration test code)
- [ ] Major
- [ ] Minor
- [ ] BLOCKER
- [ ] Critical
- [X] Major
- [ ] Minor
- [ ] Trivial
`Case-1: Storage Pool Capacity Bytes = 214B, less than the min. req of
20MB`
<img width="1047" height="735" alt="Screenshot 2026-08-20 at 7 08 03 AM"
src="https://github.com/user-attachments/assets/f09d23d8-4c74-4222-8b2e-e4b37b3de1b3"
/>
`Case-2: Storage Pool Capacity Bytes = 20971520B or 20MB`
<img width="1047" height="735" alt="Screenshot 2026-08-20 at 7 15 58 AM"
src="https://github.com/user-attachments/assets/8b4a47af-0d90-4636-bb48-5d41260a0fad"
/>
<img width="1047" height="735" alt="Screenshot 2026-08-20 at 7 16 27 AM"
src="https://github.com/user-attachments/assets/f0033b69-0390-4fc6-8394-0e67247274be"
/>
<img width="1103" height="437" alt="Screenshot 2026-08-20 at 7 17 16 AM"
src="https://github.com/user-attachments/assets/1bf51bd5-d746-43b6-b99e-fd87515db411"
/>
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/lifecycle/OntapPrimaryDatastoreLifecycle.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ public class OntapPrimaryDatastoreLifecycle extends BasePrimaryDataStoreLifeCycl
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/test/java/org/apache/cloudstack/storage/lifecycle/OntapPrimaryDatastoreLifecycleTest.java
0 commit comments