You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/09/27 14:12:31 UTC

[GitHub] [cloudstack] Rubueno opened a new issue, #6773: AutoSelect live migration fails with local storage

Rubueno opened a new issue, #6773:
URL: https://github.com/apache/cloudstack/issues/6773

   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   UI, API
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.16.1
   ~~~
   
   ##### CONFIGURATION
   N/A
   
   ##### OS / ENVIRONMENT
   N/A
   
   ##### SUMMARY
   When live migrating an instance and choosing "AutoSelect" it is not possible to live migrate an instance with local storage, while when selecting the destination host, it is possible to live migrate an instance with local storage.
   
   ##### STEPS TO REPRODUCE
   ~~~
   - Spawn vm on local storage
   - Live migrate instance in UI using "AutoSelect"
   - Migration fails
   
   CS calls migrateVirtualMachine instead of migrateVirtualMachineWithVolume
   ~~~
   
   ##### EXPECTED RESULTS
   ~~~
   CloudStack to be smart enough to also live migrate instances with local storage when using "AutoSelect"
   CS calls migrateVirtualMachineWithVolume instead of migrateVirtualMachine
   ~~~
   
   ##### ACTUAL RESULTS
   
   - Error is returned:
   ```
   Migration failed
   Unsupported operation, VM uses Local storage, cannot migrate
   ```
   


-- 
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-unsubscribe@cloudstack.apache.org.apache.org

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


[GitHub] [cloudstack] shwstppr commented on issue #6773: AutoSelect live migration fails with local storage

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #6773:
URL: https://github.com/apache/cloudstack/issues/6773#issuecomment-1262726976

   @Rubueno I don't think this is a bug but rather more of an enhancement. Currently, `migrateVirtualMachineWithVolume` doesn't support live VM migration without providing `hostid`. Therefore, to support this we need to,
   - In the backend, refactor `migrateVirtualMachineWithVolume` API to support autoselect flag similar to `migrateVirtualMachine`
   - In UI when `Auto-assign` is selected, it needs to list volumes to check if any of the volumes are on local storage and based on that call migrate API


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] DaanHoogland closed issue #6773: AutoSelect live migration fails with local storage

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #6773: AutoSelect live migration fails with local storage
URL: https://github.com/apache/cloudstack/issues/6773


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] DaanHoogland commented on issue #6773: AutoSelect live migration fails with local storage

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6773:
URL: https://github.com/apache/cloudstack/issues/6773#issuecomment-1262417645

   @Rubueno what method are you using to migrate 
   Also, can you test with 4.17? I cannot migrate without choosing a target there.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] Rubueno commented on issue #6773: AutoSelect live migration fails with local storage

Posted by GitBox <gi...@apache.org>.
Rubueno commented on issue #6773:
URL: https://github.com/apache/cloudstack/issues/6773#issuecomment-1262570010

   > @Rubueno what method are you using to migrate Also, can you test with 4.17? I cannot migrate without choosing a target there.
   
   In this case I was using the UI to migrate. I cannot test with 4.17 yet due to internal release/update policies.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] Rubueno commented on issue #6773: AutoSelect live migration fails with local storage

Posted by GitBox <gi...@apache.org>.
Rubueno commented on issue #6773:
URL: https://github.com/apache/cloudstack/issues/6773#issuecomment-1262728851

   I can agree marking this as an enhancement instead, although I would see it as a bug when the autoselect option is presented in the UI in cases when it is not supported.


-- 
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-unsubscribe@cloudstack.apache.org

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