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

2015-11-18 Thread Qian Shaohua
Oh, I see it, thanks! -邮件原件- 发件人: Wei ZHOU [mailto:ustcweiz...@gmail.com] 发送时间: 2015年11月18日 17:20 收件人: dev@cloudstack.apache.org 主题: Re: [KVM] NPE when createVolume by a snapshot whose source volume is deleted Qian, This is fixed in 4.6/master by commit

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

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

2015-11-17 Thread Qian Shaohua
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 DEBUG [o.a.c.e.o.VolumeOrchestrator] (API-Job-Executor-35:ctx-0c1e2671 job-279