On 26 Dec 2013, at 09:20, bigclouds wrote:

hi,all
there are many channels like spicevmc,unix,vdsm-agent, if that devices impact live migration?
from following erroe message, i have no idea where is the root cause?

looks like your QEMU process died, might be that there is a problem in creating the channel/device on the dst
you can find more help in libvirt and/or qemu logs as this is on their side (which may be triggered by incompatibility between src and dst host)

Thanks,
michal

please take a look at it.
 
thanks
Thread-107294::DEBUG::2013-12-26 09:25:24,544::libvirtvm::358::vm.Vm::(cancel) vmId=`5819a89c-7e24-4f5a-8d42-24bfba3a39bf`::canceling migration downtime thread
Thread-107294::DEBUG::2013-12-26 09:25:24,545::libvirtvm::417::vm.Vm::(stop) vmId=`5819a89c-7e24-4f5a-8d42-24bfba3a39bf`::stopping migration monitor thread
Thread-107312::DEBUG::2013-12-26 09:25:24,545::libvirtvm::355::vm.Vm::(run) vmId=`5819a89c-7e24-4f5a-8d42-24bfba3a39bf`::migration downtime thread exiting
Thread-107294::ERROR::2013-12-26 09:25:24,546::vm::196::vm.Vm::(_recover) vmId=`5819a89c-7e24-4f5a-8d42-24bfba3a39bf`::Failed to acquire lock: No such process
Thread-107300::DEBUG::2013-12-26 09:25:24,546::vm::261::vm.Vm::(run) vmId=`43774d10-f550-42f6-81da-6a117df5135e`::migration semaphore acquired
Thread-107294::ERROR::2013-12-26 09:25:24,690::vm::284::vm.Vm::(run) vmId=`5819a89c-7e24-4f5a-8d42-24bfba3a39bf`::Failed to migrate
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 269, in run
    self._startUnderlyingMigration()
  File "/usr/share/vdsm/libvirtvm.py", line 482, in _startUnderlyingMigration
    None, maxBandwidth)
  File "/usr/share/vdsm/libvirtvm.py", line 518, in f
    ret = attr(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 87, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1178, in migrateToURI2
    if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', dom=self)
libvirtError: Failed to acquire lock: No such process
Thread-107300::DEBUG::2013-12-26 09:25:24,709::libvirtvm::457::vm.Vm::(_startUnderlyingMigration) vmId=`43774d10-f550-42f6-81da-6a117df5135e`::starting migration to qemu+tls://testserver1.com/system
Thread-107327::DEBUG::2013-12-26 09:25:24,709::libvirtvm::343::vm.Vm::(run) vmId=`43774d10-f550-42f6-81da-6a117df5135e`::migration downtime thread started
Thread-107328::DEBUG::2013-12-26 09:25:24,709::libvirtvm::379::vm.Vm::(run) vmId=`43774d10-f550-42f6-81da-6a117df5135e`::starting migration monitor thread
libvirtEventLoop::DEBUG::2013-12-26 09:25:25,250::libvirtvm::2860::vm.Vm::(_onLibvirtLifecycleEvent) vmId=`bdc42fa3-91f0-48d7-b7ed-4908bb86e262`::event Resumed detail 0 opaque None
libvirtEventLoop::DEBUG::2013-12-26 09:25:25,307::libvirtvm::2860::vm.Vm::(_onLibvirtLifecycleEvent) vmId=`bdc42fa3-91f0-48d7-b7ed-4908bb86e262`::event Resumed detail 1 opaque None
Thread-107296::DEBUG::2013-12-26 09:25:25,331::libvirtvm::358::vm.Vm::(cancel) vmId=`bdc42fa3-91f0-48d7-b7ed-4908bb86e262`::canceling migration downtime thread
Thread-107296::DEBUG::2013-12-26 09:25:25,332::libvirtvm::417::vm.Vm::(stop) vmId=`bdc42fa3-91f0-48d7-b7ed-4908bb86e262`::stopping migration monitor thread
Thread-107296::ERROR::2013-12-26 09:25:25,332::vm::196::vm.Vm::(_recover) vmId=`bdc42fa3-91f0-48d7-b7ed-4908bb86e262`::Domain not found: no domain with matching name 'testZhuomian-1'
Thread-107314::DEBUG::2013-12-26 09:25:25,332::libvirtvm::355::vm.Vm::(run) vmId=`bdc42fa3-91f0-48d7-b7ed-4908bb86e262`::migration downtime thread exiting
Thread-107296::ERROR::2013-12-26 09:25:25,394::vm::284::vm.Vm::(run) vmId=`bdc42fa3-91f0-48d7-b7ed-4908bb86e262`::Failed to migrate
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 269, in run
    self._startUnderlyingMigration()
  File "/usr/share/vdsm/libvirtvm.py", line 482, in _startUnderlyingMigration
    None, maxBandwidth)
  File "/usr/share/vdsm/libvirtvm.py", line 518, in f
    ret = attr(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 87, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1178, in migrateToURI2
    if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', dom=self)
libvirtError: Domain not found: no domain with matching name 'testZhuomian-1'


_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel