mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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.
This commit is contained in:
parent
47ecaafceb
commit
fe1ddfb1eb
@ -258,7 +258,6 @@ public class LinstorStorageAdaptor implements StorageAdaptor {
|
||||
final String rscName = getLinstorRscName(volumePath);
|
||||
|
||||
ResourceMakeAvailable rma = new ResourceMakeAvailable();
|
||||
rma.setDiskful(true);
|
||||
ApiCallRcList answers = api.resourceMakeAvailableOnNode(rscName, localNodeName, rma);
|
||||
checkLinstorAnswersThrow(answers);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user