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

   ### Description
   
   Currently, there is no way to migrate running system VMs with volumes; this 
means, we cannot move their volumes to a new storage pool in runtime. This PR 
aims to add this feature by altering the behavior of the 
`migrateVirtualMachineWithVolume` API to support system VMs. Furthermore, the 
`listVolumes` API was changed to also return system VMs root volumes, to 
provide easy access to the system VMs volume's UUID to the root admins. 
Moreover, it was added unit test for `MigrateVirtualMachineWithVolumeCmd` class.
   
   ### 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
   
   - [ ] Major
   - [x] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   This was tested on a local lab through CloudMonkey, using the command 
`migrate virtualmachinewithvolume` with the UUID of a system VM and migrating 
its volume to another storage pool. The command ran as expected. Furthermore, 
it was added unit test to verify the API behavior.
   


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