mirror of https://github.com/apache/cloudstack.git
adding more logging for the corner case
This commit is contained in:
parent
95756802e3
commit
8995a0afb6
|
|
@ -2654,6 +2654,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
|||
if (state == Volume.State.Ready) {
|
||||
|
||||
if(vol.getPoolId() == null) {
|
||||
s_logger.warn("Found volume:"+vol.getId()+" with no storage pool associated with it");
|
||||
throw new StorageUnavailableException("Volume " + vol + " has no storage pool associated with it, and the pool id associated with it is:", vol.getPoolId());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue