cloudstack/engine
Rohit Yadav 2ab3976c0d
CLOUDSTACK-9473: storage pool capacity check when volume is resized or migrated (#2829)
* CLOUDSTACK-9473: storage pool capacity check when volume is resized or migrated

Storage pool checker is not being called on resize and migrate volume.
This may lead to allocated percentage of storage above 100%.

Setup:
1 VMware cluster with 2 Hosts.

Executed Steps:

Applied the following global settings:
storage.overprovisioning.factor = 1
pool.storage.allocated.capacity.disablethreshold = 1
pool.storage.capacity.disablethreshold = 1
Restarted management server
Executed Resize and migrate pool and Observed that Storage pool checker is not performed on resizeVolume and migrateVolume.
Result:
Root cause analysis shows storage pool checker is not called when doing migration and resizing.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2018-09-07 22:01:16 +05:30
..
api maven: Updating pom.xml version numbers for release 4.11.2.0-SNAPSHOT (#2728) 2018-07-06 17:27:12 +05:30
components-api CLOUDSTACK-9473: storage pool capacity check when volume is resized or migrated (#2829) 2018-09-07 22:01:16 +05:30
network maven: Updating pom.xml version numbers for release 4.11.2.0-SNAPSHOT (#2728) 2018-07-06 17:27:12 +05:30
orchestration server: expunge if flag is set (#2825) 2018-09-04 13:38:26 +05:30
schema backport: Update DBCP version to 4.11 (#2809) 2018-08-17 16:01:57 +05:30
service maven: Updating pom.xml version numbers for release 4.11.2.0-SNAPSHOT (#2728) 2018-07-06 17:27:12 +05:30
storage Changed the implementation of isVolumeOnManagedStorage(VolumeInfo) to check if the data store in question is for primary storage (and added a unit test from Daan Hoogland) 2018-08-10 11:24:18 -06:00
pom.xml maven: Updating pom.xml version numbers for release 4.11.2.0-SNAPSHOT (#2728) 2018-07-06 17:27:12 +05:30