You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: engine/storage/volume/src/main/java/org/apache/cloudstack/storage/datastore/provider/DefaultHostListener.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@
37
37
importcom.cloud.network.dao.NetworkVO;
38
38
importcom.cloud.offerings.NetworkOfferingVO;
39
39
importcom.cloud.offerings.dao.NetworkOfferingDao;
40
+
importcom.cloud.storage.ClvmLockManager;
40
41
importcom.cloud.storage.DataStoreRole;
41
42
importcom.cloud.storage.Storage;
42
43
importcom.cloud.storage.StorageManager;
@@ -144,7 +145,7 @@ public boolean hostConnect(long hostId, long poolId) throws StorageConflictExcep
144
145
// Propagate CLVM secure zero-fill setting to the host
145
146
// Note: This is done during host connection (agent start, MS restart, host reconnection)
146
147
// so the setting is non-dynamic. Changes require host reconnection to take effect.
147
-
if (pool.getPoolType() == Storage.StoragePoolType.CLVM) {
148
+
if (ClvmLockManager.isClvmPoolType(pool.getPoolType())) {
Copy file name to clipboardExpand all lines: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtResizeVolumeCommandWrapper.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,8 @@ public Answer execute(final ResizeVolumeCommand command, final LibvirtComputingR
Copy file name to clipboardExpand all lines: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtRevertSnapshotCommandWrapper.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ public Answer execute(final RevertSnapshotCommand command, final LibvirtComputin
0 commit comments