You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by cs...@apache.org on 2014/03/20 18:34:43 UTC

git commit: updated refs/heads/4.4 to 9e72d89

Repository: cloudstack
Updated Branches:
  refs/heads/4.4 dd237a8d5 -> 9e72d89ac


Issue CS-5825 Part Resolution


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9e72d89a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9e72d89a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9e72d89a

Branch: refs/heads/4.4
Commit: 9e72d89ac1fb608656379a70b89ae858721e9233
Parents: dd237a8
Author: Alex Hitchins <al...@alexhitchins.com>
Authored: Thu Mar 20 14:39:31 2014 +0000
Committer: Chris Suich <ch...@netapp.com>
Committed: Thu Mar 20 13:34:35 2014 -0400

----------------------------------------------------------------------
 .../src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9e72d89a/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 68e5a56..d56c553 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
@@ -1499,6 +1499,7 @@ public class VolumeServiceImpl implements VolumeService {
             snapshot = snapshotMgr.takeSnapshot(volume);
         } catch (Exception e) {
             s_logger.debug("Take snapshot: " + volume.getId() + " failed", e);
+            throw new ResourceAllocationException("Take snapshot for VolumeId: " + volume.getId() + " failed.", ResourceType.snapshot);
         }
 
         return snapshot;