[Libvirt-cim] MigratevirtualSystemToHost reports "unsupported"

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Aug 5 23:07:59 UTC 2009


Velayudham, Madan Ganesh (STSD / ESS SW) wrote:
> 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

We're doing a callback to the CIMOM here, asking the CIMOM to create an 
instance of Virt_MigrationJob for us.  The CIMOM is responding saying 
that our request is unsupported.

Can you check the following setting:

# cat /etc/Pegasus/cimserver_planned.conf  | grep 
repositoryIsDefaultInstanceProvider

or

# cat /etc/Pegasus/cimserver_current.conf  | grep 
repositoryIsDefaultInstanceProvider

You should see this set to:
repositoryIsDefaultInstanceProvider=true

If it's not, can you try running the following command:

cimconfig -s repositoryIsDefaultInstanceProvider=true -p

Then be sure to restart the CIMOM so it picks up the changes.  This 
tells Pegasus that we would like it to enable it's default provider for 
generating instances.

Let me know if this doesn't resolve the issue.
-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list