cloudstack/engine/storage
Abhishek Kumar 9d105b6546
template: copy md5 mismatch (#3383)
Fixes #3191

When a template is registered, code stores md5sum of the downloaded file in the vm_template table. However, this downloaded file could be deleted after template installation if it is not an actual (.qcow2, .ova, etc.) file. When the user copies a template using copyTemplate API, the actual template file will be copied across the image stores. Matching checksum for the copied templated file and the stored value from the vm_template table will result in a mismatch.
Changes will set an empty checksum value for the copied template while passing to download service which allows skipping wrong checksum check for the copied while install.
However, this results in a change in checksum value for concerned template entry in vm_template table post template install.

Co-authored-by: dahn <daan.hoogland@gmail.com>
2020-01-31 14:16:37 +05:30
..
cache Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
configdrive Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
datamotion datamotion: snapshot failure diagnostics unhidden (#3666) 2019-11-11 21:55:36 +05:30
image template: copy md5 mismatch (#3383) 2020-01-31 14:16:37 +05:30
integration-test Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
snapshot Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
src vmware: allow configuring appliances on the VM instance wizard when OVF properties are available (#3271) 2019-08-09 16:14:46 +05:30
volume Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
pom.xml Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
storage.ucls CLOUDSTACK-10105: Use maven standard project structure in all projects (#2283) 2018-01-20 03:19:27 +05:30