DaanHoogland commented on PR #6005:
URL: https://github.com/apache/cloudstack/pull/6005#issuecomment-1398064362

   > > Please note that this change is only on the API level - no UI. There is 
a new parameter 'size' to the 'upload volume' command and you're able to 
customize the volume size during upload. The problem is I was able to upload a 
1.3 GB image in a 1 GB data volume - I think there must be a check for this. 
Can be reproduced with the following cloudmonkey command:
   > > upload volume name=centos7 
url=https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1706.qcow2
 zoneid= diskofferingid= format=QCOW2 size=1
   > 
   > it might be different to check the size before the template is uploaded 
(in ssvm). the workaround might be: after the template upload, if the new size 
is smaller than actual size, use the actual size as volume size, otherwise use 
the new size. cc @DaanHoogland @vladimirpetrov
   
   agreed


-- 
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]

Reply via email to