Hi,<br><br>I configured hostname and domainname for both systems, and added both to eachother's /etc/hosts. Hostname and /etc/hosts of systems should look like this? <br><br>[root@cluster ~]# hostname<br>cluster.pisolar<br>

[root@cluster ~]# cat /etc/hosts<br>127.0.0.1    cluster    localhost.localdomain    localhost    localhost4<br>::1    cluster    localhost6.localdomain6    localhost6<br>192.168.0.67 fedorao.pisolar fedorao<br><br>AND<br>

<br><br>[root@fedorao ~]# hostname<br>fedorao.pisolar<br>[root@fedorao ~]# cat /etc/hosts<br>127.0.0.1    localhost.localdomain    localhost    localhost4<br>::1    localhost6.localdomain6    localhost6<br>192.168.1.4 cluster.pisolar cluster<br>

<br><br>(cluster has ip 192.168.1.4 and fedorao has ip 192.168.0.67)<br><br>I also created a directory /media/nfs067 in machine fedorao.pisolar, shared it with cluster.pisolar using nfs, and mounted it in /media/nfs067, in case different paths be a problem to virsh and virt-manager. =D<br>

<br>Then I created a VM with disk in /media/067 and tried to live migrate it with virt-manager 0.8.6. Got this error message:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">

Unable to migrate guest: operation failed: Migration unexpectedly failed<br>Unable to migrate guest: operation failed: Migration unexpectedly failed<br>Traceback (most recent call last):<br>  File "/usr/local/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper<br>

    callback(asyncjob, *args, **kwargs)<br>  File "/usr/local/share/virt-manager/virtManager/migrate.py", line 523, in _async_migrate<br>    vm.migrate(dstconn, migrate_uri, rate, live, secure, meter=meter)<br>
  File "/usr/local/share/virt-manager/virtManager/domain.py", line 1141, in migrate<br>
    self._backend.migrate(destconn.vmm, flags, newname, interface, rate)<br>  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 518, in migrate<br>    if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self)<br>

libvirtError: operation failed: Migration unexpectedly failed<br></blockquote><br><div class="gmail_quote">Using virsh, I get the same error:<br><br><blockquote>[root@fedorao ~]# virsh migrate --live lol qemu+ssh://<a href="http://192.168.1.4/system">192.168.1.4/system</a><br>

<a href="mailto:root@192.168.1.4">root@192.168.1.4</a>'s password: <br>erro:operation failed: Migration unexpectedly failed<br></blockquote><br>I'm feeling a bit lost right now. =/<br><br><br>On Wed, Feb 2, 2011 at 10:14 AM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Wed, Feb 02, 2011 at 09:25:47AM -0300, Bruno Lamps wrote:<br>
> Updating the thread:<br>
><br>
> I was using fedora 13 (kernel 2.6.32) in one machine and fedora 14 (kernel<br>
> 2.6.35) in other, so I made a fresh install in the first machina, so now<br>
> it's running fedora 14 with 2.6.35 x64 kernel, same as the second machine.<br>
><br>
> Now when I try to migrate a VM through virt-manager, the following message<br>
> appears:<br>
><br>
> Erro ao receber a validação de entrada: [Errno -2] Nome ou serviço<br>
> > desconhecido<br>
> > Traceback (most recent call last):<br>
> >   File "/usr/local/share/virt-manager/virtManager/migrate.py", line 423, in<br>
> > finish<br>
> >     dsthost = destconn.get_qualified_hostname()<br>
> >   File "/usr/local/share/virt-manager/virtManager/connection.py", line 342,<br>
> > in get_qualified_hostname<br>
> >     return gethostbyaddr(gethostname())[0]<br>
> > gaierror: [Errno -2] Nome ou serviço desconhecido<br>
> ><br>
><br>
> In english, this error means something like "error receiving validation for<br>
> input: Error n 2 Unknown name or service. Traceback blablabla...<br>
<br>
</div>This suggests something is mis-configured in either DNS, or /etc/hosts<br>
or the OS hostname or a mix<br>
<br>
You need the configured 'hostname' to correctly resolve either via DNS<br>
or an /etc/hosts entry or both, and for it to point to a public IP of<br>
the machine, not 127.0.0.1<br>
<div><div></div><div class="h5"><br>
Daniel<br>
--<br>
|: <a href="http://berrange.com" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/%7Edanberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
</div></div></blockquote></div><br>