Re: [KVM] NPE when createVolume by a snapshot whose source volume is deleted

2015-11-18 Thread Wei ZHOU
Qian, This is fixed in 4.6/master by commit bef92052ee9a7303b427782838a8a97623de231c diff --git a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeDataFactoryImpl.java b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeDataFactoryImp~ index bc51f5f..3e4cdff

Re: [KVM] NPE when createVolume by a snapshot whose source volume is deleted

2015-11-18 Thread Wido den Hollander
On 11/18/2015 08:23 AM, Qian Shaohua wrote: > Hi all, > > > > CS 4.5.2 KVM > > KVMStorageProcessor checks source volume of a snapshot for the ImageFormat > in createVolumeFromSnapshot(CopyCommand cmd). > > If the source volume is deleted, we get NPE. > > > > 2015-11-18 14:02:57,259 DEBU