Dennis Konrad
Dennis Konrad
Hi, we are experiencing the same problem with 3.11. We are trying to use the fix @tenortim mentioned. Is there are reason openshift-enterprise uses a fixed version?
Hi, we also obseve the same problem. It happens for us (for example) when uploading a 20GB qcow image. We tried to upload from http via: Templates Storage both did...
@rhtyd Is there a workaround for this?
Could this have to do with this hardcored max size defined here: [DownloadManagerImpl.java](https://github.com/apache/cloudstack/blob/1d05fead49f5c856257a741b07122f5633d2e359/services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/template/DownloadManagerImpl.java#L712-L714) ` // TO DO - Define Volume max size as well long maxDownloadSizeInBytes = (cmd.getMaxDownloadSizeInBytes() == null)...
Can someone confirm that [HttpTemplateDownloader](https://github.com/apache/cloudstack/blob/1d05fead49f5c856257a741b07122f5633d2e359/core/src/main/java/com/cloud/storage/template/HttpTemplateDownloader.java) is used for this?
Ok, the logs we get in the SSVM look like this when trying to upload a template:  Now I'm sure HttpTemplateDownloader is at least involved here.
@DaanHoogland I saw you did some work on this. Do you have an idea what we can do about this?
@DaanHoogland For small files it is working. But for files with multiple gb it seems to enter the „copyBytes“ only once. Theres An empty file created and thats all. Therefor...
@izenk Kinda, we found out the copyBytes function itself (standalone java code) is working not just for small but also for huge files (>10GB). but we get the "Stream closed"...