JoaoJandre opened a new pull request, #11039:
URL: https://github.com/apache/cloudstack/pull/11039

   ### Description
   
   On KVM, there are two types of snapshots: internal and external. Most 
snapshot/backup solutions use external snapshots on ACS; save for 
disk-and-memory VM snapshots, which use internal snapshots (this is a 
limitation with KVM, as far as I know). 
   
   However, since internal snapshots are stored inside the VM's volume (hence 
the name), if an internal snapshot is taken after an external snapshot and the 
external snapshot is restored, the internal snapshot is lost.
   
   Thus, this PR blocks the use of disk-and-memory VM snapshots alongside 
volume snapshots, NAS backups, and disk-only VM snapshots (at least the ones 
created using the default volume snapshot implementation).
   
   I encourage maintainers of 3rd party storage providers to test if their 
implementation is compatible with disk-and-memory VM snapshots, if it is not it 
their simultaneous usage should be blocked.
   
   ### Types of changes
   
   - [ ] 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)
   - [ ] build/CI
   - [ ] test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [X] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### Screenshots (if appropriate):
   
   ### How Has This Been Tested?
   
   I created a VM and created a few disk-and-memory VM snapshots on it; then I 
tried to create NAS backups, volume snapshots and disk-only VM snapshots, all 
of them gave me an error, which is expected.
   
   I validated that the opposite was also true for the aforementioned cases, 
e.g., create volume snapshot and try to create disk-and-memory VM snapshot. 
   
   I also validated that it was possible to create multiple NAS backups, 
disk-only VM snapshots and volume snapshots with no issues.


-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to