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.
(cherry picked from commit 67cb9b9e40)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
f4b9e6c988
commit
8875a94242
|
|
@ -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