[fedora-virt] live migration from CentOS 6.2 to 6.1 fails

Gianluca Cecchi gianluca.cecchi at gmail.com
Sat Jan 14 14:36:47 UTC 2012


On Sat, Jan 14, 2012 at 3:00 PM, Gianluca Cecchi wrote:
> Hello,
> posting here as it could have occurred in Fedora too, during crossing
> versions of components...
> hope anyone could drive me some hints..

[snip]

> # virsh migrate --live dacsmaster qemu+ssh://intrarhev2/system tcp:intrarhev2
> error: internal error missing hostuuid element in migration data
>
> It seems I'm able to connect through virsh from rhev1 (6.2) to rhev2
> (6.1) as I can run
>
> rhev1 prompt--  # virsh
> Welcome to virsh, the virtualization interactive terminal.
>
> Type:  'help' for help with commands
>       'quit' to quit
>
> virsh # connect qemu+ssh://intrarhev2/system
>
> virsh # list
>
> and this command shows me the domains currently running on rhev2 as expected
>
> So I presume there is something related to migration itself and
> possibly different needed parameters in 6.2 shipped version of libvirt
> (0.9.4 vs 0.8.7).


possibly the answer is inside this thread, from a view of source
changes contained inside:

http://web.archiveorange.com/archive/v/8XiUW68vUOENyUOzpfSt

at line

[OP] Daniel P. Berrange Thu 12 May 2011 06:12:33 PM CEST

"
The migration protocol has support for a 'cookie' parameter which
is an opaque array of bytes as far as libvirt is concerned. Drivers
may use this for passing around arbitrary extra data they might
need during migration. The QEMU driver needs to do a few things:

 - Pass hostname/uuid to allow strict protection against localhost
  migration attempts
 - Pass SPICE/VNC server port from the target back to the source to
  allow seamless relocation of client sessions
 - Pass lock driver state from source to destination

This patch introduces the basic glue for handling cookies
but only includes the host/guest UUID & name.
"

any way/option to bypass the parameter in virsh command?
Or any way to easily understand where in libvirt was added for rhel 6?

Thanks
Gianluca


More information about the virt mailing list