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 328b3d21d0a1..25bf533712a9 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 @@ -230,7 +230,7 @@ private void deleteSnapshot(@Nonnull DataStore dataStore, @Nonnull String rscDef try { - ApiCallRcList answers = linstorApi.resourceSnapshotDelete(rscDefName, snapshotName); + ApiCallRcList answers = linstorApi.resourceSnapshotDelete(rscDefName, snapshotName, Collections.emptyList()); if (answers.hasError()) { for (ApiCallRc answer : answers) diff --git a/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util/LinstorUtil.java b/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util/LinstorUtil.java index 33cbea0996d5..c3038819ffcf 100644 --- a/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util/LinstorUtil.java +++ b/plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util/LinstorUtil.java @@ -111,7 +111,8 @@ public static List getLinstorNodeNames(@Nonnull DevelopersApi api) throw Collections.singletonList(storagePoolName), Collections.emptyList(), null, - null + null, + true ); return sps != null ? sps : Collections.emptyList(); } @@ -165,7 +166,8 @@ public static List getRscGroupStoragePools(DevelopersApi api, Strin rscGrps.get(0).getSelectFilter().getStoragePoolList(), null, null, - null + null, + true ); } diff --git a/pom.xml b/pom.xml index 8e9817b5a8cc..dc07e0dda1a3 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,7 @@ 10.1 2.6.6 0.6.0 - 0.3.0 + 0.4.3 0.10.2 3.4.4_1 4.0.1