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

   ### Description
   During the creation of incremental snapshots, CloudStack sends an 
asynchronous command to Libvirt to back up the volume. After sending the 
command, ACS waits for Libvirt to signal the completion of the execution to 
continue with the snapshot process. However, sporadically, Libvirt signals the 
completion of the command before the operating system actually releases the 
write lock on the snapshot file. When this occurs, an error is thrown when ACS 
attempts to rebase the snapshot.
   
   This PR changes the rebase so that if ACS encounters a lock error while 
rebasing the snapshot, another attempt is made after 60 seconds.
   
   
   ### 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
   - [ ] Major
   - [X] Minor
   - [ ] Trivial
   
   ### Screenshots (if appropriate):
   
   ### How Has This Been Tested?
   This issue is extremely hard to reproduce. But I have tested that the normal 
incremental snapshot workflow still works as expected.
   


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