Skip to content

[Possible SSVM/SystemVM Template 24.0 Issue on CloudStack 4.23 – Checksum Failures on Existing Templates and ISOs] #14871

Done

Description

@y-system-ci

problem

Description

I would like to report a potential issue related to the new SystemVM template 24.0 when using it with Apache CloudStack 4.23.

My CloudStack environment was initially running with the default SystemVM template (4.22), and everything was working normally, including template and ISO operations on Secondary Storage.

After replacing/rebuilding the Secondary Storage VM (SSVM) using the new SystemVM template 24.0, I started encountering checksum-related failures when working with existing templates and ISOs on Secondary Storage.

The error reported by CloudStack is:

Error: Failed to install: Cannot invoke
"org.apache.cloudstack.utils.security.ChecksumValue.toString()"
because "newValue" is null

This issue appears to affect previously existing templates and ISOs as well, which were working normally before the SSVM was rebuilt using the new template.

versions

Environment

  • Apache CloudStack: 4.23
  • Hypervisor: KVM
  • Previous SystemVM template: 4.22 (default)
  • New SystemVM template: 24.0

SystemVM template 24.0:
https://download.cloudstack.org/systemvm/24/systemvmtemplate-24.0-x86_64-kvm.qcow2.bz2

The steps to reproduce the bug

Steps to Reproduce

  1. Deploy and run an Apache CloudStack 4.23 environment using the default SystemVM template 4.22.
  2. Verify that template and ISO operations work normally.
  3. Rebuild or deploy a new SSVM using SystemVM template 24.0.
  4. Attempt to install or process an existing template or ISO on Secondary Storage.
  5. Observe the checksum-related failure.

Restarting the SSVM does not resolve the issue. After restarting, CloudStack continues processing/downloading and eventually encounters a similar failure.

I also attempted to upload the new SystemVM template again, but the upload/post-download process failed with the following error:

Failed post download script: checksum "null" didn't match the given value,
"{SHA-512}f449650fccc3748ae0ececd0f9a1b21b9811e0a33e9455543dde24b534fd6598a90f24d4713fab662c9f01a8511041d6159472b34a70114cca96fba6d99a30a4"
image

What to do about it?

Expected Behavior

  • SystemVM template 24.0 should work correctly with CloudStack 4.23.
  • Existing templates and ISOs on Secondary Storage should continue to be processed normally after rebuilding the SSVM.
  • Checksum calculation and validation should complete successfully without returning a null checksum value.

Actual Behavior

After rebuilding the SSVM using SystemVM template 24.0, template and ISO operations that previously worked with SystemVM template 4.22 started failing with checksum-related errors.

Restarting the SSVM does not resolve the issue, and re-uploading the SystemVM template 24.0 also results in a checksum validation failure.

Request

Could the CloudStack team please investigate whether there is a potential issue with the new SystemVM template 24.0, its compatibility with CloudStack 4.23, or the checksum calculation/validation process associated with Secondary Storage operations?

Thank you.

Activity

  1. weizhouapache commented on Nov 26, 2026

    @weizhouapache
    Member

    @y-system-ci
    The 24.0 SystemVM template is still under development: #12912
    I would not recommend using CloudStack with a different SystemVM template, as it might introduce compatibility issues.
    For now, could you please SSH into the SSVM and provide some log traces, if possible?

    We are also working on upgrading the 4.22 SystemVM template: #14846. If you're interested in testing it, you can follow these steps:

    • Change the 4.24 system VM template to a USER template.
    • Destroy the SSVM.
    • The new SSVM should then use the existing 4.22.0 SystemVM template.
    • Register the 4.22.2 SystemVM template from: https://download.cloudstack.org/systemvm/4.22/
    • Destroy the SSVM when new SystemVM template is Ready.
    • The new SSVM should then use the existing 4.22.2 SystemVM template.
  2. y-system-ci commented on Nov 26, 2026

    @y-system-ci
    Author

    @y-system-ci The 24.0 SystemVM template is still under development: #12912 I would not recommend using CloudStack with a different SystemVM template, as it might introduce compatibility issues. For now, could you please SSH into the SSVM and provide some log traces, if possible?

    We are also working on upgrading the 4.22 SystemVM template: #14846. If you're interested in testing it, you can follow these steps:

    • Change the 4.24 system VM template to a USER template.
    • Destroy the SSVM.
    • The new SSVM should then use the existing 4.22.0 SystemVM template.
    • Register the 4.22.2 SystemVM template from: https://download.cloudstack.org/systemvm/4.22/
    • Destroy the SSVM when new SystemVM template is Ready.
    • The new SSVM should then use the existing 4.22.2 SystemVM template.

    Thank you, @weizhouapache . It just my home lab so i will reconfig it again. Here is my log when upload new template when use SSVM-24

       721  2026-11-26T07:37:18,629 INFO  [storage.template.HttpTemplateDownloader] (pool-2-thread-4:[]) Starting download from http://10.xxx/systemvm/4.22/systemvmtemplate-4.22.0-x86_64-kvm.qcow2.bz2 to /mnt/SecStorage/355ddaac-b175-3d92-8e44-5c5f6d3bc543/template/tmpl/2/206/dnld18244410090633729958tmp_ remoteSize=(494.07 MB) 518074341 , max size=(50.00 GB) 53687091200
       722  2026-11-26T07:37:24,505 INFO  [storage.resource.NfsSecondaryStorageResource] (AgentRequest-Handler-4:[]) Determined host 10.xxxx corresponds to IP 10.xxxx
       723  2026-11-26T07:37:39,752 INFO  [storage.template.DownloadManagerImpl] (pool-2-thread-4:[]) Download Completion for jobId: c4f2ad91-e6b4-4b20-816d-778a3dcf1fc1, status=DOWNLOAD_FINISHED
       724  2026-11-26T07:37:39,753 INFO  [storage.template.DownloadManagerImpl] (pool-2-thread-4:[]) local: /mnt/SecStorage/355ddaac-b175-3d92-8e44-5c5f6d3bc543/template/tmpl/2/206/dnld18244410090633729958tmp_, bytes=(494.07 MB) 518074341, error=Downloaded (494.07 MB) 518074341 bytes (download complete remote=unknown bytes), pct=100
       725  2026-11-26T07:37:39,759 INFO  [storage.resource.NfsSecondaryStorageResource] (AgentRequest-Handler-2:[]) Determined host 10.xxxx corresponds to IP 10.xxxx
       726  2026-11-26T07:37:39,775 INFO  [storage.resource.NfsSecondaryStorageResource] (AgentRequest-Handler-1:[]) Determined host 10.xxxx corresponds to IP 10.xxxx
       727  2026-11-26T07:37:39,794 ERROR [storage.template.DownloadManagerImpl] (pool-2-thread-4:[]) Failed post download script: checksum "null" didn't match the given value, "{SHA-256}5b2932bf95e3e096c416b2f5d219db8c00d9a270a85057fc24b1c306a9efca3e"
       
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions