problem
Direct download template size is incorrect
versions
ACS 4.22.1
The steps to reproduce the bug
- 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>
- Expose it via http server
python3 -m http.server 8081 --bind 0.0.0.0
-
Register it a direct download template in cloudstack
-
Check the size
...
What to do about it?
The correct size of the direct download template should be displayed
problem
Direct download template size is incorrect
versions
ACS 4.22.1
The steps to reproduce the bug
Example
python3 -m http.server 8081 --bind 0.0.0.0
Register it a direct download template in cloudstack
Check the size
...
What to do about it?
The correct size of the direct download template should be displayed