GutoVeronezi opened a new pull request #4562:
URL: https://github.com/apache/cloudstack/pull/4562


   ### Description
   KVM has a limitation to modify instances definitions while they are on 
running state. Therefore, it is not possible to change volumes backend location 
easily.
   
   There is a problem in the `migrateVolume` API. This API command ignores that 
limitation and causes an inconsistence on the database. ACS processes the 
migrate command, copies the volume to the destination storage, modifies the 
database and finishes the process with success. However, the running backend is 
still using the "old volume file".
   
   This PR intends to prevent KVM to perform volumes migrations while KVM 
instances are in the running state and inform the user of an alternative API 
command that enables such operation on running instances.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   
   #### Feature/Enhancement Scale
   
   - [x] Major
   - [] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [x] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### How Has This Been Tested?
   It has been tested locally.


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


Reply via email to