sureshanaparti commented on a change in pull request #4304:
URL: https://github.com/apache/cloudstack/pull/4304#discussion_r524262830



##########
File path: 
engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
##########
@@ -2301,7 +2325,9 @@ private void 
handleCreateTemplateFromManagedVolume(VolumeInfo volumeInfo, Templa
         CopyCmdAnswer copyCmdAnswer = null;
 
         try {
-            if (!ImageFormat.QCOW2.equals(volumeInfo.getFormat())) {
+            StoragePoolVO storagePoolVO = 
_storagePoolDao.findById(volumeInfo.getPoolId());
+
+            if (!ImageFormat.QCOW2.equals(volumeInfo.getFormat()) && 
!(ImageFormat.RAW.equals(volumeInfo.getFormat()) && StoragePoolType.PowerFlex 
== storagePoolVO.getPoolType())) {

Review comment:
       > We listed couple of more image formats with powerflex support
   
   RAW format is the only supported disk format with PowerFlex storage




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to