Skip to content

Commit 67cb9b9

Browse files
authored
linstor: fix template copy on non hyperconverged setups (apache#8114)
Making a diskful resource was meant as an optimization, but cannot work on non hyperconverged setups, as the storage nodes (diskful) are not part of the cloudstack cluster.
1 parent 540c7b8 commit 67cb9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public KVMPhysicalDisk createPhysicalDisk(String name, KVMStoragePool pool, Qemu
241241
null,
242242
null);
243243

244-
makeResourceAvailable(api, rscName, true);
244+
makeResourceAvailable(api, rscName, false);
245245

246246
if (!resources.isEmpty() && !resources.get(0).getVolumes().isEmpty()) {
247247
final String devPath = resources.get(0).getVolumes().get(0).getDevicePath();

0 commit comments

Comments
 (0)