[Libvir] Probs migrating domain with libvirt 0.4.0

Hi, I try migrate a domain from xen02 to xen03-server (both fedora core-8 linux) - but it failed. Could you tell me, where a can look for more information About this failure ? [root@xen02 ~]# rpm -qa | grep libvirt libvirt-0.4.0-3.fc8 libvirt-0.4.0-3.fc8 libvirt-devel-0.4.0-3.fc8 libvirt-python-0.4.0-3.fc8 [root@xen03 log]# rpm -qa | grep libvirt libvirt-0.4.0-3.fc8 libvirt-python-0.4.0-3.fc8 ********** **** Migration with native XEN ********** [root@xen02 ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 512 8 r----- 1610.6 vm-home.winxp100-home.winxp100.1200950924765.2.1200950924765.4 1 250 1 -b---- 735.4 vm-home.winxp100-home.winxp100.1200951541281.2.1200951541281.4 2 250 1 -b---- 1564.2 vm-home.winxp100-home.winxp100.1200951640937.2.1200951640937.4 3 250 1 -b---- 1540.6 [root@xen02 ~]# xm migrate -l 2 xen03.domain.com [root@xen02 ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 512 8 r----- 1618.5 vm-home.winxp100-home.winxp100.1200950924765.2.1200950924765.4 1 250 1 -b---- 735.6 vm-home.winxp100-home.winxp100.1200951640937.2.1200951640937.4 3 250 1 -b---- 1541.1 ********** **** Check remote access (show migrated domain) ********** [root@xen02 ~]# virsh -c xen://xen03.domain.com/ list Id Name State ---------------------------------- 0 Domain-0 running 1 vm-home.winxp100-home.winxp100.1200951541281.2.1200951541281.4 no state ********** **** Migration with libvirtd ********** [root@xen02 ~]# virsh Welcome to virsh, the virtualization interactive terminal. virsh # list Id Name State ---------------------------------- 0 Domain-0 running 1 vm-home.winxp100-home.winxp100.1200950924765.2.1200950924765.4 blocked 3 vm-home.winxp100-home.winxp100.1200951640937.2.1200951640937.4 blocked virsh # migrate 3 xen://xen03.domain.com libvir: Remote error : remoteDispatchClientRequest: internal error: library function returned error but did not set virterror regards Danny ------------------------------------------------------------------- DT Netsolution GmbH - Taläckerstr. 30 - D-70437 Stuttgart Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870 Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwager@dtnet.de

Daniel Schwager wrote:
Hi,
I try migrate a domain from xen02 to xen03-server (both fedora core-8 linux) - but it failed. Could you tell me, where a can look for more information About this failure ? [...] virsh # migrate 3 xen://xen03.domain.com libvir: Remote error : remoteDispatchClientRequest: internal error: library function returned error but did not set virterror
If it isn't something simple like missing the trailing '/' from the URI, then there's no way to diagnose this without enabling debugging in the library (./configure --enable-debug). In libvirt CVS debugging is now enabled by default; unfortunately that's not the case with 0.4.0. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903

On Tue, Jan 22, 2008 at 06:27:56PM +0000, Richard W.M. Jones wrote:
Daniel Schwager wrote:
virsh # migrate 3 xen://xen03.domain.com libvir: Remote error : remoteDispatchClientRequest: internal error: library function returned error but did not set virterror
If it isn't something simple like missing the trailing '/' from the URI, then there's no way to diagnose this without enabling debugging in the library (./configure --enable-debug).
Ahh .... the trailing slash was missing - and it works (-: Thx Danny

Daniel Schwager wrote:
On Tue, Jan 22, 2008 at 06:27:56PM +0000, Richard W.M. Jones wrote:
virsh # migrate 3 xen://xen03.domain.com libvir: Remote error : remoteDispatchClientRequest: internal error: library function returned error but did not set virterror If it isn't something simple like missing the trailing '/' from the URI,
Daniel Schwager wrote: then there's no way to diagnose this without enabling debugging in the library (./configure --enable-debug).
Ahh .... the trailing slash was missing - and it works (-:
I thought I'd fixed that as well ... Maybe only in > 0.4.0 ...? Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
participants (2)
-
Daniel Schwager
-
Richard W.M. Jones