GitHub user sbrueseke closed a discussion: add another secondary storage

we added a second secondary storage to our ACS installation via UI. This was 
working without any issues, but we did get some alerts I want to discuss here.

Failed to register template: a582748a-bcb5-4842-8f94-3de4c1f2c9e2 with error: 
HTTP Server returned 404 (expected 200 OK)

Failed to register template: e4b2a024-d2df-466d-9db8-c166d9bf0739 with error: 
Failed post download script: checksum 
"{SHA-512}13b5d4f9ef187f1212ea56c61a6f204576d5976ba0b29abf3c11b72e76a4020132c22cfd7c0c3765bc0794b3a03008bbf18930a3027ef29ebe54949f4de2a08d"
 didn't match the given value, 
"{SHA-512}24e0f3d9c25835f2633d2823dade95aae4884aed95a5142d87efeb4aaed48dbc04a82a34ac5310676853008e0de271dfa0747b4c619ed20fa72ffe2e93fadcf3"

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.

If this is by design, this means that you need to make sure that all downloaded 
ISOs still being available for download, even after years.

We now ended up in the following situation
![isozone](https://github.com/user-attachments/assets/960af7d0-fd5a-428c-825d-f61ab58338ad)

As far as I see there a 2 api calls:
migrateResourceToAnotherSecondaryStorage
This is only working with templates, not with ISOs.

migrateSecondaryStorageData
This only can be used to migrate all from one secondary storage to another or 
to balance.

How do I get all ISO to newly added secondary storages, even when the download 
url is not accessible anymore?

GitHub link: https://github.com/apache/cloudstack/discussions/10327

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