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

   ### Description
    
   This PR restricts users from migrating volumes attached to VMs that are in 
starting state. Migrating volumes while their VMs are starting shouldn't be 
allowed because sometimes the VM could end up not actually starting, and if ACS 
starts migrating its volume, this could lead to other issues.
   
   
   ### 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)
   - [ ] build/CI
   - [ ] test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [x] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   <details><summary>Image</summary>
   
   
![migrate-volume](https://github.com/user-attachments/assets/eac1c4b3-e8d4-4e91-a7dd-636fc4533e88)
   
   </details>
   
   ### How Has This Been Tested?
   
   I tested this PR by deploying an instance and then trying to migrate its 
volume while the instance was starting. Before the changes, the volume 
migration process would start. After the migration, an error is thrown, 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: commits-unsubscr...@cloudstack.apache.org

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

Reply via email to