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:
Peinthor Rene 2021-11-04 01:24:48 +01:00 committed by GitHub
parent 47ecaafceb
commit fe1ddfb1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);