OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.19k stars 473 forks source link

Dowloading complex appliance (like OneKE) into OpenNebula may cause disk images to be downloaded twice #6602

Open sk4zuzu opened 1 month ago

sk4zuzu commented 1 month ago

Description Simply when OneKE is "exported" into OpenNebula there are 2 distinct templates for master+worker and storage. Both use the same image, that causes curl to be executed twice, so the same image is downloaded twice (for no good reason). This can be somewhat fixed if user imports each template/image in a diy fashion like here https://github.com/OpenNebula/one-apps/wiki/oneke_deploy#deploying-with-terraform, but that's only avoiding the problem. :face_holding_back_tears:

Not completely sure if this should be classified as bug report or feature request. :thinking:

To Reproduce Download Service OneKE 1.29 in WUI or CLI then you can see the same image downloaded twice if you list curl processes on the OpenNebula leader (HA).

Expected behavior Would be great if image downaloader would be smart enough to recognize the same image is going to downloaded multiple times and do this just once instead.

Details

Additional context N/A

Progress Status