Re: LIBVIRT migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello
I've put the root-key on the authorized_key file of all the host, and reboot the cluster, but I've got the same error with the two opcion (virt-manager and virsh).
I think that is sth related to the authorization on the libvirtd.conf.
This is my conf at all the hosts (see libvirtd.conf attached too)., I'd appreciate a lot if someone can tell me if it right (it's a developer cluster):

unix_sock_group = "libvirtd"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0777"
The user radic that execute is member of libvirtd group.
Thank you.
Marcela.


errors:
Virt Manager:
When I try to migrate using virt-manager I still get
Unable to migrate guest:
 Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/migrate.py", line 453, in _async_migrate
    vm.migrate(dstconn, migrate_uri, rate, live, secure)
  File "/usr/share/virt-manager/virtManager/domain.py", line 230, in migrate
    self._backend.migrate(destconn.vmm, flags, newname, interface, rate)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 429, in migrate
    if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self)
libvirtError: monitor socket did not show up.: Connection refused


VIRSH
virsh # migrate --live scompi1 qemu+ssh://rionegro/system
error: monitor socket did not show up.: Connection refused


2011/4/1 <jurgen.depicker@xxxxxx>

> From: Marcela Castro León <mcastrol@xxxxxxxxx>

> To: libvirt-users@xxxxxxxxxx
> Date: 01/04/2011 13:11
> Subject: LIBVIRT migration
> Sent by: libvirt-users-bounces@xxxxxxxxxx
>
> Hello
> I''m developing a system using libvirt and I need to use "migrate"
> to move guest to different hosts.
> I'm testing using a cluster connected by ssh, and I'm connect ok
> trought them, using virsh and virt-manager.
>
> But if I try to migrate doing:

> virsh # migrate --live scompi1 qemu+ssh://rionegro/system
>
> I got:

> error: monitor socket did not show up.: Connection refused

Please check that you used ssh-copy-id to copy your ssh key (the user you are logged in with when entering virsh) to the destination host's root account.

Jürgen

>
> I've try using the virt-manager, but troughs:

> Unable to migrate guest:
>  Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/migrate.py", line 453,
> in _async_migrate
>     vm.migrate(dstconn, migrate_uri, rate, live, secure)
>   File "/usr/share/virt-manager/virtManager/domain.py", line 230, in migrate
>     self._backend.migrate(destconn.vmm, flags, newname, interface, rate)
>   File "/usr/lib/python2.6/dist-packages/libvirt.py", line 429, in migrate
>     if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self)
> libvirtError: monitor socket did not show up.: Connection refused

>
> Someone can help me? Thank you very much.
> Marcela.
>

> _______________________________________________
> libvirt-users mailing list
> libvirt-users@xxxxxxxxxx
>
https://www.redhat.com/mailman/listinfo/libvirt-users

Attachment: libvirtd.conf
Description: Binary data


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux