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 2018/02/23 12:01:06 UTC

[GitHub] nvazquez commented on issue #2466: Rare race condition in KVM migration

nvazquez commented on issue #2466: Rare race condition in KVM migration
URL: https://github.com/apache/cloudstack/pull/2466#issuecomment-367991052
 
 
   Hi @rafaelweingartner, let me answer your questions by explaining the issue in a better way:
   
   This is issue is reported under these conditions:
   - VM migration has physically finished
   - Migration thread executor is still not marked as terminated
   
   From the migration monitoring process, as VM has been migrated, that domain cannot be found (we should get the destination domain from the migration thread later) and the LibvirtException is thrown: `LibvirtException ?Domain not found: no domain with matching uuid?`.
   So basically the idea is just logging the issue but not suspending the VM as the migration has already been performed, but the migration thread is not marked as finished. Once the migrarion thread is marked as finished, the migration monitoring process (while loop) ends and the migration command wrapper would continue its execution.
   Regarding your last question, we won't need to suspend the VM in this case as the migration has already been performed. VM suspension will take place whenever the migration is in progress and those conditions are met

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services