Thank you Jirka
I think I am more clear now:
For some reason, libvirtd running on that host was not able to resolve the
name to an IP address that could be sent back and still be useful and thus
it sent the hostname hoping the source libvirtd would be more successful
with resolving the name
Thank you
On Mon, May 7, 2012 at 10:38 PM, Jiri Denemark <jdenemar(a)redhat.com> wrote:
On Mon, May 07, 2012 at 20:18:42 +0800, William Herry wrote:
> I use virsh to migrate kvm virtual machine, it show me this error
>
> I already use ip address in my command:
> virsh migrate --live kvm-test qemu+ssh://root@my_ip:port/system
>
> after a few tries I make it work by change the hostname of dest to
> something else rather than localhost,
>
> this looks like a bug cause a already this virsh the ip address,
>
> or any thing I misunderstand?
I think you forgot to paste the actual error you see. But anyway, the
following page should help you understand what's going on and how to solve
it:
http://wiki.libvirt.org/page/Migration_fails_with_%22Unable_to_resolve_ad...
Feel free to come back if it doesn't help you :-)
Jirka
--
===========================
William Herry
WilliamHerryChina(a)Gmail.com