Repository: cloudstack Updated Branches: refs/heads/master 6338db1f9 -> 9a615ee7b
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/9a615ee7 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9a615ee7 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9a615ee7 Branch: refs/heads/master Commit: 9a615ee7b26547f0c439faf04e5fbf91dc2cbeb1 Parents: 6338db1 Author: Alex Hitchins <[email protected]> Authored: Thu Mar 20 14:39:31 2014 +0000 Committer: Chris Suich <[email protected]> Committed: Thu Mar 20 13:30:42 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/9a615ee7/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;
