cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [cloudstack] shwstppr opened a new pull request #3383: [WIP DO NOT MERGE] template: copy md5 mismatch
Date Fri, 07 Jun 2019 07:34:20 GMT
shwstppr opened a new pull request #3383: [WIP DO NOT MERGE] template: copy md5 mismatch
   ## Description
   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
   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.
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the boxes that
apply: -->
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   ## Screenshots (if appropriate):
   ## How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Please read the [CONTRIBUTING](
document -->

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message