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
* 4.20:
Fix/flasharray delete rename destroy patch conflict (#13049)
Fix VPC network offerings listing in isolated network creation form (#12645)
Update mysql java connector version to 8.4.0 (matching version for MySQL 8.4) (#12640)
adaptive: honor user-provided capacityBytes when provider stats are unavailable (#13059)
Flexibilize public IP selection (#11076)
Copy file name to clipboardExpand all lines: plugins/storage/volume/adaptive/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/AdaptiveDataStoreLifeCycleImpl.java
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -217,13 +217,14 @@ public DataStore initialize(Map<String, Object> dsInfos) {
217
217
// validate the provided details are correct/valid for the provider
218
218
api.validate();
219
219
220
-
// if we have user-provided capacity bytes, validate they do not exceed the manaaged storage capacity bytes
220
+
// User-provided capacityBytes always wins; validate against storage stats only when
221
+
// the provider could actually report them. If the provider cannot (empty pod with no
222
+
// footprint, no quota set, transient probe failure), fall through and use what the
223
+
// user supplied rather than failing the whole registration.
0 commit comments