[Libvirt-cim] MigratevirtualSystemToHost reports "unsupported"

Velayudham, Madan Ganesh (STSD / ESS SW) madan-ganesh.v at hp.com
Wed Aug 5 19:35:13 UTC 2009


Hi Kaitlin,

Thanks for the troubleshooting tip.

We retried the invocation and the same result appeared. The following snippet related to migrateVirtualSystemToHost was found in the /tmp/libvirt-cim.log file.

<snip>
device_parsing.c(257): Disk node: disk
infostore.c(88): Path is /etc/libvirt/cim/Xen_Copy_Copy_RHEL52VM1
std_invokemethod.c(279): Method `MigrateVirtualSystemToHost' execution attempted
std_invokemethod.c(230): Method parameter `ComputerSystem' validated type 0x1100
std_invokemethod.c(230): Method parameter `DestinationHost' validated type 0x1600
std_invokemethod.c(215): No optional parameter supplied for `MigrationSettingData'
std_invokemethod.c(230): Method parameter `MigrationSettingData' validated type 0x1000
std_invokemethod.c(303): Executing handler for method `MigrateVirtualSystemToHost'
misc_util.c(72): Connecting to libvirt with uri `xen'
Virt_VSMigrationService.c(102): Using default values for MigrationSettingData param
Virt_VSMigrationService.c(1351): Prepared migration job f64be851-e44a-4d3c-b4a8-bce814ceffe1
Virt_VSMigrationService.c(1283): Creating instance: root/virt:Virt_MigrationJob.InstanceID="f64be851-e44a-4d3c-b4a8-bce814ceffe1"
Virt_VSMigrationService.c(1287): Failed to create job instance: 7
std_invokemethod.c(305): Method `MigrateVirtualSystemToHost' returned 7
misc_util.c(72): Connecting to libvirt with uri `xen'
misc_util.c(199): URI of connection is: xen:///
misc_util.c(199): URI of connection is: xen:///
device_parsing.c(257): Disk node: disk
infostore.c(88): Path is /etc/libvirt/cim/Xen_RHELVM-GUI-1
<snip>

Can you suggest us how to get around this?

Thanks and Regards,
Madan (_MaGa_)
Madan Ganesh Velayudham
Office: +91 80 2516 5333

-----Original Message-----
From: Kaitlin Rupert [mailto:kaitlin at linux.vnet.ibm.com] 
Sent: Wednesday, August 05, 2009 10:21 PM
To: List for discussion and development of libvirt CIM
Cc: Velayudham, Madan Ganesh (STSD / ESS SW)
Subject: Re: [Libvirt-cim] MigratevirtualSystemToHost reports "unsupported"

Subba Rao, Sandeep M (STSD) wrote:
> Hi,
> 
>  I'm trying to perform a live move of a domU using libvirt-cim, but I'm receiving a CIM_ERR_NOT_SUPPORTED exception.
>  I have attached the request and response xmls.
> 
>  The same operation when tried through virsh command worked.
> 
>  Please let me know if I'm missing something here.

Hi Sandeep,

I don't see anything obvious in the information you provided.  The 
return error of CIM_ERR_NOT_SUPPORTED is interesting, as both versions 
of libvirt support the MigrateVirtualSystemToHost() method.

I'm wondering if something is happening in the CIMOM before our method 
even gets called.  Can you enable debugging in the libvirt-cim providers 
and then provide the log output you get?

You can enable debugging using the following:

export CU_DEBUG="/tmp/libvirt-cim.log"

Then restart the CIMOM in the same terminal (to make sure it picks up 
the environment settings).

Thanks!

> 
>  Thanks for the help.
> 
> Regards,
> Sandeep
> 
>  The following are the details of the 2 machines.
> 
> Source Xen host: RHEL 5.3
> 
> The virsh comamnd that worked:
> virsh migrate --live Copy_Copy_RHEL52VM1 xen:/// xenmigr://15.154.102.20/
> 
> Libvirt and libvirt-cim Versions:
> [root at RHEL53Xen1 xen]# rpm -qa | grep -i libvirt
> libvirt-0.3.3-14.el5
> libvirt-devel-0.3.3-14.el5
> libvirt-cim-0.5.1-4.el5
> libvirt-python-0.3.3-14.el5
> 
> RHEL Version:
> [root at RHEL53Xen1 xen]# cat /etc/issue
> Red Hat Enterprise Linux Server release 5.3 (Tikanga)
> Kernel \r on an \m
> 
> Xen Version:
> [root at RHEL53Xen1 xen]# rpm -qa | grep xen
> xen-3.0.3-80.el5
> xen-libs-3.0.3-80.el5
> xen-devel-3.0.3-80.el5
> kernel-xen-2.6.18-128.el5
> 
> Destination Xen host: RHEL 5.2
> 
> Libvirt and libvirt-cim Versions:
> [root at Rhel52-Xen ~]# rpm -qa | grep libvirt
> libvirt-cim-0.4-1
> libvirt-0.3.3-7.el5
> libvirt-python-0.3.3-7.el5
> 
> RHEL Version:
> [root at Rhel52-Xen ~]# cat /etc/issue
> Red Hat Enterprise Linux Server release 5.2 (Tikanga)
> Kernel \r on an \m
> 
> Xen Version:
> [root at Rhel52-Xen ~]# rpm -qa | grep xen
> xen-libs-3.0.3-64.el5
> xen-3.0.3-64.el5
> kernel-xen-devel-2.6.18-92.el5
> kernel-xen-2.6.18-92.el5
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim


-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list