GabrielBrascher opened a new pull request #3615: Handle Ceph/RBD snapshot delete
URL: https://github.com/apache/cloudstack/pull/3615
 
 
   ## Description
   
   When deleting volume snapshots, only records in the database are deleted, 
and snapshots are not deleted on the main storage.
   
   Fixes: #3586
   
   ## 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)
   
   ## How Has This Been Tested?
   Configuration:
   ```
   snapshot.backup.to.secondary =false
   kvm.snapshot.enabled =true
   ```
   1. Create snapshots stored on Ceph/RBD primary storage.
   2. Delete and assert that it has been removed on the RBD pool.
   
   I was able to reproduce the issue #3586. After applying the packages with 
this fix, snapshots were properly removed from DB and deleted from the RBD 
storage pool.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to