cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject git commit: updated refs/heads/master to 2094286
Date Wed, 21 Jan 2015 20:06:40 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 664186f48 -> 2094286c8


Adding support for creating a volume from a snapshot when the snapshot is on managed storage


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

Branch: refs/heads/master
Commit: 2094286c8ad0e540641e4c619d101cbeabe9751c
Parents: 664186f
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Wed Jan 21 13:05:21 2015 -0700
Committer: Mike Tutkowski <mike.tutkowski@solidfire.com>
Committed: Wed Jan 21 13:06:05 2015 -0700

----------------------------------------------------------------------
 .../storage/motion/StorageSystemDataMotionStrategy.java        | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2094286c/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
----------------------------------------------------------------------
diff --git a/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
b/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
index 525aa70..de98f55 100644
--- a/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
+++ b/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
@@ -152,11 +152,13 @@ public class StorageSystemDataMotionStrategy implements DataMotionStrategy
{
                 }
 
                 if (canHandleSrc) {
-                    // return handleCreateVolumeFromSnapshotOnlySourceOnStorageSystem();
+                    throw new UnsupportedOperationException("This operation is not supported
(DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " +
+                            "not supported by destination storage plug-in).");
                 }
 
                 if (canHandleDest) {
-                    // return handleCreateVolumeFromSnapshotOnlyDestinationOnStorageSystem();
+                    throw new UnsupportedOperationException("This operation is not supported
(DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " +
+                            "not supported by source storage plug-in).");
                 }
             }
         }


Mime
View raw message