cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/master to 1e20600
Date Mon, 13 Oct 2014 21:38:34 GMT
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 <min.chen@citrix.com>
Authored: Mon Oct 13 14:25:52 2014 -0700
Committer: Min Chen <min.chen@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;


Mime
View raw message