Skip to content

Commit fe1ddfb

Browse files
authored
linstor-volume-plugin: Only create diskless assignments on nodes (#5661)
With diskful set to true, linstor will fail if it cannot create local storage for the resource. Which in turn will make it impossible to have a setup with just compute nodes on cloudstack.
1 parent 47ecaaf commit fe1ddfb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java

-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ public boolean connectPhysicalDisk(String volumePath, KVMStoragePool pool, Map<S
258258
final String rscName = getLinstorRscName(volumePath);
259259

260260
ResourceMakeAvailable rma = new ResourceMakeAvailable();
261-
rma.setDiskful(true);
262261
ApiCallRcList answers = api.resourceMakeAvailableOnNode(rscName, localNodeName, rma);
263262
checkLinstorAnswersThrow(answers);
264263

0 commit comments

Comments
 (0)