GitHub user winterhazel added a comment to the discussion: add another 
secondary storage

Hey @sbrueseke

> It looks like the new secondary storage wants to download ISO from source 
> again, but source is not available anymore. Is this how it was designed? I 
> would expect that the new secondary storage will download the ISO/templates 
> from the first secondary storage as long as this storage is available and 
> only this is not the case the new secondary storage would try to donwload 
> from source.

Yes, that's the current behavior. ACS will always try to download 
templates/ISOs from the source again, even if it does not exist anymore (unable 
to download) or has been updated (checksum will not match).

As far as I know, If you want to move/copy the template to a new storage, you 
will need to do it manually in the storage and adjust the database entry for 
`cloud.template_store_ref`.

This problem was mentioned in another thread before:

[1] https://lists.apache.org/thread/g97o3w8g8dtgfl9y4ddo2jcyrg11olpg
[2] https://lists.apache.org/thread/d8lhoqck8b145y610v9q00cwgvpt1pml

I already developed both the extensions mentioned at [2]. The 2nd one 
(prioritize copying templates from existing image 
stores instead of downloading them) would solve your issue, I just haven't 
taken the time to open the PR yet (sorry!). Hopefully I can open it this week.

GitHub link: 
https://github.com/apache/cloudstack/discussions/10327#discussioncomment-12069973

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to