rp- commented on code in PR #8811:
URL: https://github.com/apache/cloudstack/pull/8811#discussion_r1537618453
##########
plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java:
##########
@@ -965,6 +981,36 @@ private Answer copyTemplate(DataObject srcData, DataObject
dstData) {
return answer;
}
+ private Answer copyVolume(DataObject srcData, DataObject dstData) {
+ VolumeInfo srcVolInfo = (VolumeInfo) srcData;
+ final StoragePoolVO pool =
_storagePoolDao.findById(srcVolInfo.getDataStore().getId());
+ final DevelopersApi api =
LinstorUtil.getLinstorAPI(pool.getHostAddress());
+ final String rscName = LinstorUtil.RSC_PREFIX + srcVolInfo.getUuid();
+
+ int nMaxExecutionMinutes = NumbersUtil.parseInt(
+
_configDao.getValue(Config.SecStorageCmdExecutionTimeMax.key()), 30);
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]