cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SuichII, Christopher" <Chris.Su...@netapp.com>
Subject createSnapshot API always returns success
Date Tue, 07 Jan 2014 15:08:54 GMT
It appears that, no matter what, the createSnapshot API will ALWAYS return a success. If you
drill down from:

VolumeApiServiceImpl.orchestrateTakeVolumeSnapshot() to
VolumeServiceImpl.takeSnapshot(), you’ll notice that ANY exception that is thrown inside
of SnapshotManager.takeSnapshot() is simply caught and ignored.

Back up in VolumeApiServiceImpl.orchestrateTakeVolumeSnapshot(), JobInfo.Status.SUCCEEDED
is ALWAYS returned, regardless of the snapshot result.

Is this something we should be concerned about for the 4.3 RC?

-Chris
-- 
Chris Suich
chris.suich@netapp.com
NetApp Software Engineer
Data Center Platforms – Cloud Solutions
Citrix, Cisco & Red Hat


Mime
View raw message