You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2014/10/13 23:38:34 UTC
git commit: updated refs/heads/master to 1e20600
Repository: cloudstack
Updated Branches:
refs/heads/master 49c01e2ae -> 1e20600ec
CLOUDSTACK-7700: Volume Snapshot Async Job returns Success for a failed
operation.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1e20600e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1e20600e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1e20600e
Branch: refs/heads/master
Commit: 1e20600ecaa3487f9d2eac53505c2e9e0f0f9e88
Parents: 49c01e2
Author: Min Chen <mi...@citrix.com>
Authored: Mon Oct 13 14:25:52 2014 -0700
Committer: Min Chen <mi...@citrix.com>
Committed: Mon Oct 13 14:26:27 2014 -0700
----------------------------------------------------------------------
.../src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1e20600e/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
----------------------------------------------------------------------
diff --git a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
index 821c939..d97ad60 100644
--- a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
+++ b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
@@ -1534,6 +1534,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;