diff --git a/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java b/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java index d2d13eafc483..eaf0aff1ba95 100644 --- a/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java +++ b/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java @@ -54,6 +54,7 @@ import com.cloud.host.Host; import com.cloud.storage.ResizeVolumePayload; import com.cloud.storage.SnapshotVO; +import com.cloud.storage.Storage; import com.cloud.storage.StorageManager; import com.cloud.storage.StoragePool; import com.cloud.storage.VMTemplateStoragePoolVO; @@ -618,6 +619,7 @@ public void createAsync(DataStore dataStore, DataObject vol, AsyncCompletionCall volume.setPoolId(storagePool.getId()); volume.setUuid(vol.getUuid()); volume.setPath(vol.getUuid()); + volume.setFormat(Storage.ImageFormat.RAW); _volumeDao.update(volume.getId(), volume); break;