You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "kiranchavala (via GitHub)" <gi...@apache.org> on 2026/08/19 04:54:34 UTC

[I] Direct download template size is incorrect [cloudstack]

kiranchavala opened a new issue, #13916:
URL: https://github.com/apache/cloudstack/issues/13916

   ### problem
   
   Direct download template size is incorrect 
   
   ### versions
   
   ACS 4.22.1 
   
   ### The steps to reproduce the bug
   
   1. Create a metalink file 
   
   Example 
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <metalink version="3.0" xmlns="http://www.metalinker.org/">
     <files>
       <file name="ubuntu24-cloud-image-root-password-with-tools.qcow2">
         <size>10485760</size>
         <resources>
           <url type="nfs" preference="100">nfs://10.0.35.201/export/templates/ubuntu24-cloud-image-root-password-with-tools.qcow2</url>
         </resources>
       </file>
     </files>
   </metalink>
   
   ```
   
   
   2. Expose it via http server 
   
   python3 -m http.server 8081 --bind 0.0.0.0
   
   3. Register it a direct download template  in cloudstack 
   
   4. Check the size 
   
   <img width="1137" height="172" alt="Image" src="https://github.com/user-attachments/assets/daad1708-cefc-4cbc-97e1-7412661ca070" />
   
   ...
   
   
   ### What to do about it?
   
   The correct size of the direct download template should be displayed 


-- 
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: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Direct download template size is incorrect [cloudstack]

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #13916:
URL: https://github.com/apache/cloudstack/issues/13916#issuecomment-5351346730

   cc @Pearl1594 


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Direct download template size is incorrect [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #13916:
URL: https://github.com/apache/cloudstack/issues/13916#issuecomment-6265262119

   @kiranchavala @Pearl1594 @Damans227 , this needs a new PR. The code from the old one may be usefull, but the PR as a whole isn't..


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org