y-system-ci opened a new issue, #14871:
URL: https://github.com/apache/cloudstack/issues/14871

   ### 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:
   
   ```text
   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:
   
   ```text
   Failed post download script: checksum "null" didn't match the given value,
   
"{SHA-512}f449650fccc3748ae0ececd0f9a1b21b9811e0a33e9455543dde24b534fd6598a90f24d4713fab662c9f01a8511041d6159472b34a70114cca96fba6d99a30a4"
   ```
   
   <img width="1612" height="698" alt="image" 
src="https://github.com/user-attachments/assets/5df8ebf1-634e-4eea-a725-579cfa7b92a0";
 />
   
   ### 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to