mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7700: Volume Snapshot Async Job returns Success for a failed
operation.
(cherry picked from commit 1e20600eca)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
227e76132d
commit
e9311bf528
|
|
@ -1503,6 +1503,7 @@ public class VolumeServiceImpl implements VolumeService {
|
|||
snapshot = snapshotMgr.takeSnapshot(volume);
|
||||
} catch (Exception e) {
|
||||
s_logger.debug("Take snapshot: " + volume.getId() + " failed", e);
|
||||
throw new CloudRuntimeException("Failed to take snapshot", e);
|
||||
}
|
||||
|
||||
return snapshot;
|
||||
|
|
|
|||
Loading…
Reference in New Issue