This is an automated email from the ASF dual-hosted git repository.
shwstppr pushed a commit to branch 4.18
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.18 by this push:
new 67cb9b9e40b linstor: fix template copy on non hyperconverged setups
(#8114)
67cb9b9e40b is described below
commit 67cb9b9e40b33a165d1846eb80dea21a7d623a1b
Author: Peinthor Rene <[email protected]>
AuthorDate: Thu Oct 19 07:16:20 2023 +0200
linstor: fix template copy on non hyperconverged setups (#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.
---
.../java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
b/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
index 08226478270..2847484e30e 100644
---
a/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
+++
b/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
@@ -241,7 +241,7 @@ public class LinstorStorageAdaptor implements
StorageAdaptor {
null,
null);
- makeResourceAvailable(api, rscName, true);
+ makeResourceAvailable(api, rscName, false);
if (!resources.isEmpty() &&
!resources.get(0).getVolumes().isEmpty()) {
final String devPath =
resources.get(0).getVolumes().get(0).getDevicePath();