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

Thx winterhazel for that info and already taken care of an improvement.

I took a look at out db and found this:

mysql> select * from template_store_ref where template_id = 215\G
*************************** 1. row ***************************
                  id: 21
            store_id: 1
         template_id: 215
             created: 2023-12-11 12:42:08
        last_updated: 2025-02-04 15:37:01
              job_id: b682663c-8c87-4880-93dc-30f88c8d91db
        download_pct: 100
                size: 627519488
          store_role: Image
       physical_size: 627519488
      download_state: DOWNLOADED
           error_str: Install completed successfully at 12/11/23, 12:43 PM
          local_path: 
/mnt/SecStorage/83724db5-6c19-3921-bd0e-ed0186a07aa9/template/tmpl/2/215/dnld12878222805655771854tmp_
        install_path: 
template/tmpl/2/215/215-2-5e0ae2b2-db82-3da9-a723-94cd3736f5e1.iso
                 url: NULL
               state: Ready
           destroyed: 0
             is_copy: 0
        update_count: 2
             ref_cnt: 0
             updated: 2023-12-11 12:43:42
download_url_created: 1970-01-01 00:00:00
        download_url: NULL
*************************** 2. row ***************************
                  id: 119
            store_id: 3
         template_id: 215
             created: 2025-02-04 16:37:57
        last_updated: 2025-02-04 16:41:14
              job_id: 8321f9ac-27fa-4742-a727-73cd4b578c49
        download_pct: 100
                size: 0
          store_role: Image
       physical_size: 0
      download_state: DOWNLOAD_ERROR
           error_str: Failed post download script: checksum 
"{SHA-512}13b5d4f9ef187f1212ea56c61a6f204576d5976ba0b29abf3c11b72e76a4020132c22cfd7c0c3765bc0794b3a03008bbf18930a3027ef29ebe54949f4de2a08d"
 didn't match the given value, "{SHA-512}24e0f3d9c25835f2633d2823dade95aae4884
          local_path: 
/mnt/SecStorage/175a1e5a-f8fa-3449-811d-759d35773245/template/tmpl/2/215/dnld10691952881837833383tmp_
        install_path: template/tmpl/2/215
                 url: NULL
               state: Allocated
           destroyed: 0
             is_copy: 0
        update_count: 2
             ref_cnt: 0
             updated: 2025-02-04 16:41:14
download_url_created: NULL
        download_url: NULL

Any idea was reference template_id is? Which table is responsible for this id?
What do I need to do to fix this? As far as I understand I need to change size, 
physical_size, download_state, error_str and state after copying the file 
manually to the other secondary storage. Is this correct?

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

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