You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/12/29 12:46:55 UTC
[GitHub] [cloudstack-primate] GabrielBrascher opened a new issue #906: [BUG] Migration of a VM (local storage) stuck on UI
GabrielBrascher opened a new issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906
**Describe the bug**
When migrating a VM that is running on local storage the UI hangs on the VM migration pop-up; additionally, it is presented an error on UI and an event `Error while migrating VM`is created.
When closing the migration tab and refreshing the instance page then it is possible to see that the VM was correctly migrated.
**To Reproduce**
Steps to reproduce the behavior:
1. Log in as Admin
2. Migrate a VM
3. See error message thrown at UI
4. VM's migration tab hangs while waiting for completing migration (which has already completed)
5. Close migration pop-up and refresh VM page
6. Assert that VM was correctly migrated, despite UI saing otherwise at first
**Screenshots**
Example of the VM migration pop-up that stays waiting for migration:

----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] davidjumani edited a comment on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
davidjumani edited a comment on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754476898
@GabrielBrascher Could you share a screenshot of the error as well as the API response ? The form should be frozen while hitting the migrate API and then close since it is async and doesn't have to wait long. It might freeze if the API call returned an error which can be fixed
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754623188
@GabrielBrascher we're going to cut RC4 later today/tomorrow, can you test before that for possible blockers?
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] davidjumani commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
davidjumani commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754847771
@GabrielBrascher Could you send a screenshot of the API response? @rhtyd Think it might be because `migrateVirtualMachineWithVolume` was called instead of `migrateVirtualMachine` since while testing the previous PR there weren't any issues
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] davidjumani commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
davidjumani commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754476898
@GabrielBrascher Could you share a screenshot of the error? The form should be frozen while hitting the migrate API and then close since it is async and doesn't have to wait long. It might freeze if the API call returned an error which can be fixed
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] GabrielBrascher commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754899835
Applying changes from #913 the message is `response.migratevirtualmachineresponse is undefined`

----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] shwstppr commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-752063910
@GabrielBrascher not completely sure but this PR, https://github.com/apache/cloudstack-primate/pull/789, might solve the issue
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd closed issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754505240
@GabrielBrascher can you check and close against next RC/master?
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd closed issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] GabrielBrascher commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754614910
Thanks @rhtyd and @davidjumani for the update, I will check against next master.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] shwstppr edited a comment on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
shwstppr edited a comment on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-752063910
@GabrielBrascher not completely sure but this PR, https://github.com/apache/cloudstack-primate/pull/789, might solve the issue
But changes in the PR also rely on some backend changes which might fail with master
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] GabrielBrascher commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-755066501
@davidjumani re-packed my test env and now it works, you are right. Thanks!
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754790664
@davidjumani pl check on priority - did you PR introduce any regression?
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] GabrielBrascher commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-752634881
Thanks for the hint, @shwstppr.
I am not sure if #789 tackles this issue; from what I understood that PR deals only with stopped VMs being migrated on VMware clusters? Please correct me if I am wrong.
Adding a bit of information here, this issue was created due to tests on live migration of VMs running in KVM with local storage volumes; the migration itself worked fine, except by the fact of UI not dealing with the command response. The problem seems to be related to the UI not dealing with the expected response.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] GabrielBrascher commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
GabrielBrascher commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-754788407
@rhtyd @davidjumani It still migrates succesfully on backend but keeps _locked_ on the migration screen with an error message.

----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] rhtyd closed issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] davidjumani commented on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
davidjumani commented on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-755058366
@GabrielBrascher Could you try checking again? It's working fine on my end for migrating with volumes as well
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [cloudstack-primate] shwstppr edited a comment on issue #906: [BUG] Migration of a VM (local storage) stuck on UI
Posted by GitBox <gi...@apache.org>.
shwstppr edited a comment on issue #906:
URL: https://github.com/apache/cloudstack-primate/issues/906#issuecomment-752063910
@GabrielBrascher not completely sure but this PR, https://github.com/apache/cloudstack-primate/pull/789, might solve the issue
But changes in the also rely on some backend changes which might fail with master
----------------------------------------------------------------
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:
users@infra.apache.org