Hide Forgot
Created attachment 481676 [details] full vdsm log Description of problem: when migrating multiple vms and qemu process dies on the source- vdsm reports the vm status as up*(not-responding) while he is actually down. Version-Release number of selected component (if applicable): libvirt-0.8.7-8 vdsm-4.9-51 How reproducible: always Steps to Reproduce: 1.migrate 5 vms, 2.when migration start kill qemu prosess in the source full vdsm log attached.
Did my patch solve the problem? diff --git a/vdsm/vm.py b/vdsm/vm.py index 24ea8a7..a864f69 100644 --- a/vdsm/vm.py +++ b/vdsm/vm.py @@ -337,7 +337,7 @@ class MigrationSourceThread(threading.Thread): if self._mode == 'file' or self._method != 'online': self._vm.cont() # either way, migration has finished - self._vm._lastStatus = 'Up' + self._vm.lastStatus = 'Up' def _waitForOutgoingMigration(self): now = time.time()
I have tested your patch and it works.
Verified on vdsm-4.9-52.el6