mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
The cluster and zone wide storage pool allocators returned shared pools even for volumes meant to be on local storage pool. If the VM uses local disk then cluster and zone storage allocators should not handle it and return null or empty list. Also fixed the deployment planner to avoid a cluster if a. avoid set returned by storage pool allocators is empty OR b. all local or shared pools in a cluster are in avoid state Conflicts: engine/storage/src/org/apache/cloudstack/storage/allocator/ClusterScopeStoragePoolAllocator.java engine/storage/src/org/apache/cloudstack/storage/allocator/ZoneWideStoragePoolAllocator.java