mirror of https://github.com/apache/cloudstack.git
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.
This commit is contained in:
parent
540c7b802f
commit
67cb9b9e40
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue