[libvirt-users] unable to migrate guests

PREETHI RAMESH iampreethiramesh at gmail.com
Tue May 31 08:46:52 UTC 2011


I'm new to libvirt and I'm facing a problem while migrating the guest
domain.
Both guest and host are of the same config(checked it with uname -a)

Migrating using virsh, I get:

virsh # migrate hda2 --desturi qemu+ssh://root@10.129.54.254/system
root at 10.129.54.254's password:
error: operation failed: migration to 'tcp:kvm-lab:49168' failed: migration
failed.


The details of the problem are shown by the Virtual machine manger are:

Unable to migrate guest: operation failed: migration to 'tcp:kvm-lab:49165'
failed: migration failed

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in
cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/migrate.py", line 523, in
_async_migrate
    vm.migrate(dstconn, migrate_uri, rate, live, secure, meter=meter)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1141, in
migrate
    self._backend.migrate(destconn.vmm, flags, newname, interface, rate)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 521, in migrate
    if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self)
libvirtError: operation failed: migration to 'tcp:kvm-lab:49165' failed:
migration failed

I've tried disabling apparmor and then migrating by-
pre at pre-Inspiron-N4010:~$ sudo invoke-rc.d apparmor kill
.: 35: Can't open /lib/apparmor/functions
invoke-rc.d: initscript apparmor, action "kill" failed.

and
stopping iptables-
pre at pre-Inspiron-N4010:~$ sudo /etc/init.d/iptables stop
[sudo] password for pre:
sudo: /etc/init.d/iptables: command not found
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110531/9449e5d4/attachment.htm>


More information about the libvirt-users mailing list