
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@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@RHEL53Xen1 xen]# cat /etc/issue Red Hat Enterprise Linux Server release 5.3 (Tikanga) Kernel \r on an \m
Xen Version: [root@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@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@Rhel52-Xen ~]# cat /etc/issue Red Hat Enterprise Linux Server release 5.2 (Tikanga) Kernel \r on an \m
Xen Version: [root@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@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
-- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com