rohityadavcloud commented on issue #8034:
URL: https://github.com/apache/cloudstack/issues/8034#issuecomment-1746677179

   All, here are some proposed actions, pl review and advise your thoughts:
   
   1. Explore original PR #5297 that introduced the change to figure out 
minimal changes to revert or improve surgically (not entire PR), so as to not 
have backing file in the snapshot files
   2. (optional) If possible and if it's not a lot of work, introduce a global 
setting with default behaviour set to full-snapshot (without any backing file) 
and allow admins/operators to have linked-snapshots if they want. However, in 
such a case this bug would persist; my opinion is it's not worth it but not 
supporting that would cause regressions to env that want the intentions of 
#5297. Perhaps one way to support the new behaviour is - when creating template 
from a linked-snapshot, colease/merge/rebase it against the snapshot's template?
   3. Add in release notes about this change in behaviour for 4.19/4.18.2 for 
users; review/update the docs if required on what users should expect
   4. Add smoketests around failure scenarios (vm -> volume snasphot -> create 
template -> deploy vm from snapshot) so we can catch any potential 
regressions/issues
   5. (optional) Review template delete operation/API handling, I think the UI 
should warn users who may be deleting templates for which linked-snapshots may 
exist. Force deletion may not be allowed for such cases.
   
   


-- 
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