[virt-tools-list] C'ant migrate with virt-manager or virsh

Daniel P. Berrange berrange at redhat.com
Wed Feb 2 13:14:11 UTC 2011


On Wed, Feb 02, 2011 at 09:25:47AM -0300, Bruno Lamps wrote:
> Updating the thread:
> 
> I was using fedora 13 (kernel 2.6.32) in one machine and fedora 14 (kernel
> 2.6.35) in other, so I made a fresh install in the first machina, so now
> it's running fedora 14 with 2.6.35 x64 kernel, same as the second machine.
> 
> Now when I try to migrate a VM through virt-manager, the following message
> appears:
> 
> Erro ao receber a validação de entrada: [Errno -2] Nome ou serviço
> > desconhecido
> > Traceback (most recent call last):
> >   File "/usr/local/share/virt-manager/virtManager/migrate.py", line 423, in
> > finish
> >     dsthost = destconn.get_qualified_hostname()
> >   File "/usr/local/share/virt-manager/virtManager/connection.py", line 342,
> > in get_qualified_hostname
> >     return gethostbyaddr(gethostname())[0]
> > gaierror: [Errno -2] Nome ou serviço desconhecido
> >
> 
> In english, this error means something like "error receiving validation for
> input: Error n 2 Unknown name or service. Traceback blablabla...

This suggests something is mis-configured in either DNS, or /etc/hosts
or the OS hostname or a mix

You need the configured 'hostname' to correctly resolve either via DNS
or an /etc/hosts entry or both, and for it to point to a public IP of
the machine, not 127.0.0.1

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list