cloudstack/engine
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
..
api Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
components-api Add missing HA config keys (#3776) 2020-01-14 09:35:34 +01:00
network Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
orchestration server: double check host capacity when start/migrate a vm (#3728) 2020-01-28 10:55:11 +05:30
schema server: Capacity check should take vms in Migrating state into calculation (#3727) 2020-01-28 10:54:32 +05:30
service Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00
storage template: copy md5 mismatch (#3383) 2020-01-31 14:16:37 +05:30
pom.xml Updating pom.xml version numbers for release 4.13.1.0-SNAPSHOT 2019-09-01 13:36:50 +01:00