<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><div>I'm new to libvirt and I'm facing a problem while migrating the guest domain. </div>
<div>Both guest and host are of the same config(checked it with uname -a)</div><div><br></div><div>Migrating using virsh, I get:</div><div><br></div><div><div>virsh # migrate hda2 --desturi qemu+ssh://<a href="http://root@10.129.54.254/system">root@10.129.54.254/system</a></div>
<div><a href="mailto:root@10.129.54.254">root@10.129.54.254</a>'s password: </div><div>error: operation failed: migration to 'tcp:kvm-lab:49168' failed: migration failed.</div></div><div><br></div><div><br></div>
<div>The details of the problem are shown by the Virtual machine manger are:</div><div><br></div><div>Unable to migrate guest: operation failed: migration to 'tcp:kvm-lab:49165' failed: migration failed</div><div>
<br></div><div>Traceback (most recent call last):</div><div>  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper</div><div>    callback(asyncjob, *args, **kwargs)</div><div>  File "/usr/share/virt-manager/virtManager/migrate.py", line 523, in _async_migrate</div>
<div>    vm.migrate(dstconn, migrate_uri, rate, live, secure, meter=meter)</div><div>  File "/usr/share/virt-manager/virtManager/domain.py", line 1141, in migrate</div><div>    self._backend.migrate(destconn.vmm, flags, newname, interface, rate)</div>
<div>  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 521, in migrate</div><div>    if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self)</div><div>libvirtError: operation failed: migration to 'tcp:kvm-lab:49165' failed: migration failed</div>
<div><br></div><div>I've tried disabling apparmor and then migrating by-</div><div>pre@pre-Inspiron-N4010:~$ sudo invoke-rc.d apparmor kill<br><div>.: 35: Can't open /lib/apparmor/functions</div><div>invoke-rc.d: initscript apparmor, action "kill" failed.</div>
</div><div><br></div><div>and</div><div>stopping iptables-</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>pre@pre-Inspiron-N4010:~$ sudo /etc/init.d/iptables stop</div><div>[sudo] password for pre: </div>
<div>sudo: /etc/init.d/iptables: command not found</div></div><div>Thank you.</div></span>