Live move b/w RHEL 5.3 hosts fail through libvirt-cim - xm migrate --live works

Hi, I'm trying to perform a live move of a domU using libvirt-cim. The hosts are RHEL 5.3 hosts with the following: [root@RHEL53Xen1 tmp]# rpm -q tog-pegasus tog-pegasus-2.7.0-2.el5 [root@RHEL53Xen1 tmp]# rpm -q libvirt-cim libvirt-cim-0.5.1-4.el5 [root@RHEL53Xen1 tmp]# rpm -q sblim-cmpi-base sblim-cmpi-base-1.5.5-31.el5 [root@RHEL53Xen1 tmp]# cat /etc/Pegasus/cimserver_planned.conf | grep repositoryIsDefaultInstanceProvider repositoryIsDefaultInstanceProvider=true [root@RHEL53Xen1 tmp]# The destination host is also an RHEL 5.3 with similar configuration. So, I enabled the libvirt cim log on the source host and following is a excerpt from the log file. The log shows the operation failed. I'm I missing something here. Any help is much appreciated. infostore.c(88): Path is /etc/libvirt/cim/Xen_Domain-0 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_Copy_RHELVM3 misc_util.c(72): Connecting to libvirt with uri `xen' misc_util.c(199): URI of connection is: xen:/// instance_util.c(127): Number of keys: 1 instance_util.c(140): Comparing key 0: `InstanceID' 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 a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3 Virt_VSMigrationService.c(1283): Creating instance: root/virt:Virt_MigrationJob.InstanceID="a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3" Virt_VSMigrationService.c(783): Creating indication. misc_util.c(72): Connecting to libvirt with uri `xen' misc_util.c(199): URI of connection is: xen:/// Virt_VSMigrationService.c(757): Setting SourceInstance std_indication.c(70): Indications disabled for this provider std_invokemethod.c(305): Method `MigrateVirtualSystemToHost' returned 0 Virt_VSMigrationService.c(1184): Migration Job a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3 started Virt_VSMigrationService.c(833): MigrationJob ref: root/virt:Virt_MigrationJob.InstanceID="a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3" Virt_VSMigrationService.c(783): Creating indication. Virt_VSMigrationService.c(806): Setting PreviousInstance Virt_VSMigrationService.c(896): Modifying job a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3 (4:Running) misc_util.c(72): Connecting to libvirt with uri `xen' misc_util.c(199): URI of connection is: xen:/// Virt_VSMigrationService.c(757): Setting SourceInstance std_indication.c(70): Indications disabled for this provider misc_util.c(72): Connecting to libvirt with uri `xen' Virt_VSMigrationService.c(1135): Live migration Virt_VSMigrationService.c(937): Migrating Copy_RHELVM3 Virt_VSMigrationService.c(940): Migration failed Virt_VSMigrationService.c(833): MigrationJob ref: root/virt:Virt_MigrationJob.InstanceID="a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3" Virt_VSMigrationService.c(783): Creating indication. misc_util.c(72): Connecting to libvirt with uri `xen' misc_util.c(199): URI of connection is: xen:/// Virt_VSMigrationService.c(757): Setting SourceInstance std_indication.c(70): Indications disabled for this provider Virt_VSMigrationService.c(1189): Migration Job a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3 finished: 1 Virt_VSMigrationService.c(833): MigrationJob ref: root/virt:Virt_MigrationJob.InstanceID="a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3" Virt_VSMigrationService.c(783): Creating indication. Virt_VSMigrationService.c(806): Setting PreviousInstance Virt_VSMigrationService.c(896): Modifying job a92bb2ac-7dcf-4d74-bc47-4afa6e2047b3 (7:Migration Failed) misc_util.c(72): Connecting to libvirt with uri `xen' misc_util.c(199): URI of connection is: xen:/// Thanks, Sandeep

Subba Rao, Sandeep M (STSD) wrote:
Hi,
I'm trying to perform a live move of a domU using libvirt-cim. The hosts are RHEL 5.3 hosts with the following:
[root@RHEL53Xen1 tmp]# rpm -q tog-pegasus tog-pegasus-2.7.0-2.el5 [root@RHEL53Xen1 tmp]# rpm -q libvirt-cim libvirt-cim-0.5.1-4.el5 [root@RHEL53Xen1 tmp]# rpm -q sblim-cmpi-base sblim-cmpi-base-1.5.5-31.el5 [root@RHEL53Xen1 tmp]# cat /etc/Pegasus/cimserver_planned.conf | grep repositoryIsDefaultInstanceProvider repositoryIsDefaultInstanceProvider=true [root@RHEL53Xen1 tmp]#
The destination host is also an RHEL 5.3 with similar configuration. So, I enabled the libvirt cim log on the source host and following is a excerpt from the log file. The log shows the operation failed.
I'm I missing something here. Any help is much appreciated.
Virt_VSMigrationService.c(1135): Live migration Virt_VSMigrationService.c(937): Migrating Copy_RHELVM3 Virt_VSMigrationService.c(940): Migration failed
Hi Sandeep, Hmm.. the provider log isn't too helpful here. Are you able to migrate the guest through libvirt using virsh? virsh migrate --live Copy_RHELVM3 xen+ssh://HostB Also, can you look in /var/log/messages to see if you see any libvirt related errors? -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (2)
-
Kaitlin Rupert
-
Subba Rao, Sandeep M (STSD)