Request for all in one instllation page

Hello. I am installing Cimtest environment from Libvirt-CIM. Is there good documentation which discribes from Libvirt-CIM, OpenPegasus and Cimtest? At this moment, these documentations are distributed. I hope setup pages are united. Thanks. Toshifumi Fujimura.

libvirt-cim-bounces@redhat.com wrote on 2008-10-16 09:03:38:
Hello.
I am installing Cimtest environment from Libvirt-CIM. Is there good documentation which discribes from Libvirt-CIM, OpenPegasus and Cimtest? At this moment, these documentations are distributed. I hope setup pages are united.
Pls refer to blow link, maybe it helps to you: https://ltc3.linux.ibm.com/wiki/LibvirtCimProvider/Setup
Thanks. Toshifumi Fujimura.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Thanks for your quick reply. I can't access to this page. Is this no longer live?
libvirt-cim-bounces@redhat.com wrote on 2008-10-16 09:03:38:
Hello.
I am installing Cimtest environment from Libvirt-CIM. Is there good documentation which discribes from Libvirt-CIM, OpenPegasus and Cimtest? At this moment, these documentations are distributed. I hope setup pages are united.
Pls refer to blow link, maybe it helps to you: https://ltc3.linux.ibm.com/wiki/LibvirtCimProvider/Setup
Thanks. Toshifumi Fujimura.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
------------------------------------------------------------------------
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
-- Toshifumi Fujimura.

Toshifumi Fujimura wrote:
Thanks for your quick reply.
I can't access to this page. Is this no longer live?
Hi, We currently don't have a page that describes the setup for both cimtest and libvirt-cim. This is something we'll need to add. The current assumption is that users will have a working libvirt-cim environment prior to setting up cimtest. Do you have any setup questions we can answer in the meantime? -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

I am newbie on CIMOM. So I am just reading through the Administrator Guide for pegasus. But it takes time. I just want to know how to add/monitor CIM provider(libvirt-cim and libcmpiutil). Thanks Toshifumi Fujimura.
Toshifumi Fujimura wrote:
Thanks for your quick reply.
I can't access to this page. Is this no longer live?
Hi,
We currently don't have a page that describes the setup for both cimtest and libvirt-cim. This is something we'll need to add. The current assumption is that users will have a working libvirt-cim environment prior to setting up cimtest.
Do you have any setup questions we can answer in the meantime?
-- Toshifumi Fujimura.

I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider. I re-installed Libvirt-CIM package. And I made sure that with Pegasus's command "cimprovider -s -l". But following error messages didn't disappear. ============================================================== -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ============================================================== Would you have any more suggestion of this messages?
Toshifumi Fujimura wrote:
Thanks for your quick reply.
I can't access to this page. Is this no longer live?
Hi,
We currently don't have a page that describes the setup for both cimtest and libvirt-cim. This is something we'll need to add. The current assumption is that users will have a working libvirt-cim environment prior to setting up cimtest.
Do you have any setup questions we can answer in the meantime?
-- Toshifumi Fujimura. ================================================= KVM on Pegasus Test Run Summary for Oct 16 2008 ================================================= Distro: Fedora release 9.92 (Rawhide) Kernel: 2.6.27-3.fc10.i686.PAE libvirt: 0.4.6 Hypervisor: QEMU 0.9.1 CIMOM: Pegasus 2.7.1 Libvirt-cim revision: 0 Libvirt-cim changeset: Unknown ================================================= FAIL : 127 XFAIL : 2 SKIP : 5 PASS : 2 ----------------- Total : 136 ================================================= FAIL Test Summary: AllocationCapabilities - 01_enum.py: FAIL AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ComputerSystem - 03_defineVS.py: FAIL ComputerSystem - 04_defineStartVS.py: FAIL ComputerSystem - 05_activate_defined_start.py: FAIL ComputerSystem - 06_paused_active_suspend.py: FAIL ComputerSystem - 22_define_suspend.py: FAIL ComputerSystem - 23_suspend_suspend.py: FAIL ComputerSystem - 27_define_suspend_errs.py: FAIL ComputerSystem - 32_start_reboot.py: FAIL ComputerSystem - 33_suspend_reboot.py: FAIL ComputerSystem - 35_start_reset.py: FAIL ComputerSystem - 40_RSC_start.py: FAIL ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL ComputerSystem - 42_cs_gi_errs.py: FAIL ComputerSystemIndication - 01_created_indication.py: FAIL ElementAllocatedFromPool - 01_forward.py: FAIL ElementAllocatedFromPool - 02_reverse.py: FAIL ElementAllocatedFromPool - 03_reverse_errs.py: FAIL ElementAllocatedFromPool - 04_forward_errs.py: FAIL ElementCapabilities - 01_forward.py: FAIL ElementCapabilities - 02_reverse.py: FAIL ElementCapabilities - 03_forward_errs.py: FAIL ElementCapabilities - 04_reverse_errs.py: FAIL ElementCapabilities - 05_hostsystem_cap.py: FAIL ElementConforms - 01_forward.py: FAIL ElementConforms - 02_reverse.py: FAIL ElementConforms - 03_ectp_fwd_errs.py: FAIL ElementConforms - 04_ectp_rev_errs.py: FAIL ElementSettingData - 01_forward.py: FAIL ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL EnabledLogicalElementCapabilities - 01_enum.py: FAIL EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL HostSystem - 01_enum.py: FAIL HostSystem - 02_hostsystem_to_rasd.py: FAIL HostSystem - 03_hs_to_settdefcap.py: FAIL HostSystem - 04_hs_to_EAPF.py: FAIL HostSystem - 05_hs_gi_errs.py: FAIL HostSystem - 06_hs_to_vsms.py: FAIL HostedDependency - 01_forward.py: FAIL HostedDependency - 02_reverse.py: FAIL HostedDependency - 03_enabledstate.py: FAIL HostedDependency - 04_reverse_errs.py: FAIL HostedResourcePool - 01_forward.py: FAIL HostedResourcePool - 02_reverse.py: FAIL HostedResourcePool - 03_forward_errs.py: FAIL HostedResourcePool - 04_reverse_errs.py: FAIL HostedService - 01_forward.py: FAIL HostedService - 02_reverse.py: FAIL HostedService - 03_forward_errs.py: FAIL HostedService - 04_reverse_errs.py: FAIL LogicalDisk - 01_disk.py: FAIL LogicalDisk - 02_nodevs.py: FAIL LogicalDisk - 03_ld_gi_errs.py: FAIL Memory - 01_memory.py: FAIL Memory - 02_defgetmem.py: FAIL Memory - 03_mem_gi_errs.py: FAIL NetworkPort - 01_netport.py: FAIL NetworkPort - 02_np_gi_errors.py: FAIL NetworkPort - 03_user_netport.py: FAIL Processor - 01_processor.py: FAIL Processor - 02_definesys_get_procs.py: FAIL Processor - 03_proc_gi_errs.py: FAIL Profile - 01_enum.py: FAIL Profile - 02_profile_to_elec.py: FAIL Profile - 03_rprofile_gi_errs.py: FAIL RASD - 01_verify_rasd_fields.py: FAIL RASD - 02_enum.py: FAIL RASD - 03_rasd_errs.py: FAIL RASD - 04_disk_rasd_size.py: FAIL ReferencedProfile - 01_verify_refprof.py: FAIL ReferencedProfile - 02_refprofile_errs.py: FAIL ResourceAllocationFromPool - 01_forward.py: FAIL ResourceAllocationFromPool - 02_reverse.py: FAIL ResourceAllocationFromPool - 03_forward_errs.py: FAIL ResourceAllocationFromPool - 04_reverse_errs.py: FAIL ResourceAllocationFromPool - 05_RAPF_err.py: FAIL ResourcePool - 01_enum.py: FAIL ResourcePool - 02_rp_gi_errors.py: FAIL ResourcePoolConfigurationCapabilities - 01_enum.py: FAIL ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: FAIL ResourcePoolConfigurationService - 01_enum.py: FAIL ResourcePoolConfigurationService - 02_rcps_gi_errors.py: FAIL ResourcePoolConfigurationService - 03_CreateResourcePool.py: FAIL ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: FAIL ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL SettingsDefine - 01_forward.py: FAIL SettingsDefine - 02_reverse.py: FAIL SettingsDefine - 03_sds_fwd_errs.py: FAIL SettingsDefine - 04_sds_rev_errs.py: FAIL SettingsDefineCapabilities - 01_forward.py: FAIL SettingsDefineCapabilities - 03_forward_errs.py: FAIL SettingsDefineCapabilities - 04_forward_vsmsdata.py: FAIL SettingsDefineCapabilities - 05_reverse_vsmcap.py: FAIL SystemDevice - 01_forward.py: FAIL SystemDevice - 02_reverse.py: FAIL SystemDevice - 03_fwderrs.py: FAIL VSSD - 01_enum.py: FAIL VSSD - 03_vssd_gi_errs.py: FAIL VSSD - 04_vssd_to_rasd.py: FAIL VirtualSystemManagementCapabilities - 01_enum.py: FAIL VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL VirtualSystemManagementService - 01_definesystem_name.py: FAIL VirtualSystemManagementService - 02_destroysystem.py: FAIL VirtualSystemManagementService - 03_definesystem_ess.py: FAIL VirtualSystemManagementService - 04_definesystem_ers.py: FAIL VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL VirtualSystemManagementService - 06_addresource.py: FAIL VirtualSystemManagementService - 08_modifyresource.py: FAIL VirtualSystemManagementService - 09_procrasd_persist.py: FAIL VirtualSystemManagementService - 10_hv_version.py: FAIL VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL VirtualSystemManagementService - 12_referenced_config.py: FAIL VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL VirtualSystemMigrationCapabilities - 01_enum.py: FAIL VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL VirtualSystemMigrationSettingData - 01_enum.py: FAIL VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL VirtualSystemSettingDataComponent - 01_forward.py: FAIL VirtualSystemSettingDataComponent - 02_reverse.py: FAIL VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL VirtualSystemSnapshotService - 01_enum.py: FAIL VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: FAIL ================================================= XFAIL Test Summary: ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: XFAIL VirtualSystemManagementService - 07_addresource_neg.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: FAIL ERROR - Failed to enumerate the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Error: property values are not set for VS domU1 -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: FAIL ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: FAIL ERROR - Exception: Unauthorized -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: FAIL ERROR - Exception: Unauthorized -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: FAIL ERROR - Unable to define domgst using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ComputerSystem - 23_suspend_suspend.py: FAIL ERROR - Unable to define domain 'cs_test_domain' using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ComputerSystem - 27_define_suspend_errs.py: FAIL ERROR - Unable to define domain 'test_domain' using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: FAIL ERROR - Unable to define domain 'cs_test_domain' using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: FAIL ERROR - Unable to define domain 'test_domain' using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: FAIL ERROR - Unable to define domain 'cs_test_domain' using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: FAIL ERROR - Exception: DefineSystem() failed to create domain: 'cs_test_domain' InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: FAIL ERROR - Exception: Unauthorized ERROR - AttributeError : 'NoneType' object has no attribute 'RequestedState' Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "41_cs_to_settingdefinestate.py", line 340, in main if status != PASS and cs_dom.RequestedState != 0: AttributeError: 'NoneType' object has no attribute 'RequestedState' ERROR - None -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "42_cs_gi_errs.py", line 117, in main expr_values=expr_values['invalid_name_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: FAIL InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: FAIL ERROR - Exception Unauthorized -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: FAIL ERROR - Failed to get associators information for KVM_ElementAllocatedFromPool ERROR - Exception: Unauthorized ERROR - Failed to get associators information for KVM_ElementAllocatedFromPool ERROR - Exception: Unauthorized ERROR - Failed to get associators information for KVM_ElementAllocatedFromPool ERROR - Exception: Unauthorized ERROR - Failed to get associators information for KVM_ElementAllocatedFromPool ERROR - Exception: Unauthorized -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_reverse_errs.py", line 196, in main ret = err_invalid_keyname() File "03_reverse_errs.py", line 125, in err_invalid_keyname expr_values=expr_values['invalid_keyname'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "04_forward_errs.py", line 514, in main ret = err_invalid_sysname_keyname(conn, exp_list[0]) File "04_forward_errs.py", line 178, in err_invalid_sysname_keyname return try_assoc(conn, exp_ret, test_dom, test_keys, test_vals, log_msg) File "04_forward_errs.py", line 123, in try_assoc AssocClass=assoc_classname) File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Failed to get host info -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Failed to get host info -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: FAIL ERROR - Unknown exception happened ERROR - Unauthorized -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: FAIL ERROR - Unknown exception happened ERROR - Unauthorized -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- ElementConforms - 01_forward.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Unable to define domain domU InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ElementConforms - 02_reverse.py: FAIL ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to get instance by the class of KVM_ComputerSystem ERROR - Exception: Unauthorized ERROR - Instance for domgst not created -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_ectp_fwd_errs.py", line 109, in main retval = try_invalid_assoc(sv_name_val, i, tc_scen[i], options.virt) File "03_ectp_fwd_errs.py", line 85, in try_invalid_assoc expr_values=expr_values[field], bug_no="") File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "04_ectp_rev_errs.py", line 168, in main retval = try_invalid_assoc(hs, host_name_val, i, tc_scen[i], options.virt) File "04_ectp_rev_errs.py", line 125, in try_invalid_assoc expr_values=expr_values[field], bug_no="") File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ElementSettingData - 01_forward.py: FAIL ERROR - Exception Unauthorized -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: FAIL ERROR - Failed to get associators information for KVM_VirtualSystemSettingDataComponent -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_EnabledLogicalElementCapabilities -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_elecap_gi_errs.py", line 84, in main expr_values=expr_values['invalid_instid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- HostSystem - 01_enum.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of %s KVM_HostSystem: Unauthorized ERROR - UnboundLocalError : local variable 'hs' referenced before assignment Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "01_enum.py", line 70, in main if len(hs) != 1: UnboundLocalError: local variable 'hs' referenced before assignment ERROR - None -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to define the dom: domgst_test InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Did not get the expected MigrationService record -------------------------------------------------------------------- HostedDependency - 01_forward.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- HostedDependency - 02_reverse.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to define the dom: hd_domain InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to define the dom: hd_domain1 InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - --- FAILED: Invalid Name Key Name.--- ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - --- FAILED: Invalid Name Key Value.--- ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - --- FAILED: Invalid CreationClassName Key Name--- ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - --- FAILED: Invalid CreationClassName Key Value--- -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Error in calling get_host_info function -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: FAIL ERROR - Failed to enumerate the class of KVM_HostSystem -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: FAIL ERROR - Failed to enumerate the class of KVM_HostSystem -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "04_reverse_errs.py", line 70, in main expr_values['Invalid_InstanceID_KeyName'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- HostedService - 01_forward.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Failed to get host info. -------------------------------------------------------------------- HostedService - 02_reverse.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Failed to get host info. -------------------------------------------------------------------- HostedService - 03_forward_errs.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Error in calling get_host_info function -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: FAIL ERROR - UnboundLocalError : local variable 'host_sys' referenced before assignment Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "04_reverse_errs.py", line 47, in main logger.error(CIM_ERROR_ENUMERATE % host_sys.name) UnboundLocalError: local variable 'host_sys' referenced before assignment ERROR - None -------------------------------------------------------------------- LogicalDisk - 01_disk.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "01_disk.py", line 56, in main dev = eval('devices.' + get_typed_class(options.virt, "LogicalDisk"))(options.ip, key_list) File "./lib/XenKvmLib/devices.py", line 53, in __init__ File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_nodevs.py", line 54, in main if not clean_system(options.ip, options.virt): File "02_nodevs.py", line 42, in clean_system l = enumclass.enumerate(host, 'ComputerSystem', keys, virt) File "./lib/XenKvmLib/enumclass.py", line 396, in enumerate File "./lib/XenKvmLib/enumclass.py", line 381, in enumerate_inst File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 434, in EnumerateInstances **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to Define the dom: hd_domain InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- Memory - 01_memory.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "01_memory.py", line 54, in main dev = eval('devices.' + get_typed_class(options.virt, "Memory"))(options.ip, key_list) File "./lib/XenKvmLib/devices.py", line 53, in __init__ File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- Memory - 02_defgetmem.py: FAIL ERROR - Exception: Unable to create domain domu using DefineSys() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_mem_gi_errs.py", line 209, in main retval = try_invalid_gi(i, field1, field2) File "03_mem_gi_errs.py", line 164, in try_invalid_gi expr_values=expr_values[field2], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- NetworkPort - 01_netport.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Exception: Unauthorized InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_np_gi_errors.py", line 265, in main ret_value = err_invalid_ccname_keyname() File "02_np_gi_errors.py", line 73, in err_invalid_ccname_keyname expr_values=expr_values['invalid_ccname'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: FAIL ERROR - Exception: Unauthorized -------------------------------------------------------------------- Processor - 01_processor.py: FAIL ERROR - Error check device domain/0: Unauthorized -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: FAIL ERROR - Exception: Unable create domain test_domain using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_proc_gi_errs.py", line 212, in main retval = try_invalid_gi(i, field1, field2) File "03_proc_gi_errs.py", line 166, in try_invalid_gi expr_values=expr_values[field2], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- Profile - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_RegisteredProfile ERROR - Exception: Unauthorized -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Unable define domain domguest using DefineSystem() InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_rprofile_gi_errs.py", line 88, in main expr_values=expr_values['invalid_instid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: FAIL ERROR - Failed to get associators information for KVM_KVM_VirtualSystemSettingDataComponent ERROR - Exception : Unauthorized -------------------------------------------------------------------- RASD - 02_enum.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to Define the domain: VSSDC_dom InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- RASD - 03_rasd_errs.py: FAIL ERROR - Failed to get instance by the class of Xen_DiskResourceAllocationSettingData ERROR - Exception: Unauthorized -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: FAIL ERROR - Failed to test RASD: Unauthorized ERROR - UnboundLocalError : local variable 'status' referenced before assignment Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "04_disk_rasd_size.py", line 124, in main return status UnboundLocalError: local variable 'status' referenced before assignment ERROR - None InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: FAIL ERROR - Failed to enumerate the class of KVM_RegisteredProfile ERROR - Exception: Unauthorized -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: FAIL ERROR - Failed to enumerate the class of KVM_RegisteredProfile ERROR - Exception: Unauthorized -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to Define the domain: RAFP_dom InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: FAIL ERROR - Failed to get instance by the class of KVM_MemResourceAllocationSettingData ERROR - Exception details: Unauthorized -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: FAIL ERROR - Unknown exception happened ERROR - Unauthorized -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: FAIL ERROR - Unknown exception happened ERROR - Unauthorized -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to define the dom 'RAPF_domain' for 'network' type interface ERROR - Failed to setup the domain InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- ResourcePool - 01_enum.py: FAIL ERROR - Failed to enumerate the class of MemoryPool -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_rp_gi_errors.py", line 126, in main ret_value = err_invalid_instid_keyname(conn, cn, instid) File "02_rp_gi_errors.py", line 65, in err_invalid_instid_keyname bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_ResourcePoolConfigurationCapabilities -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_rpcc_gi_errs.py", line 74, in main expr_values=expr_values['invalid_instid'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of KVM_HostSystem -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized ERROR - Problem getting host information -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: FAIL ERROR - Unexpected rc code 0 and description Unauthorized InvokeMethod(CreateResourcePool): Unauthorized -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: FAIL ERROR - Unexpected rc code 0 and description Unauthorized InvokeMethod(CreateChildResourcePool): Unauthorized -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: XFAIL ERROR - Unexpected rc code 0 and description Unauthorized InvokeMethod(AddResourcesToResourcePool): Unauthorized Unauthorized Bug:<92173> -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: FAIL ERROR - Unexpected rc code 0 and description Unauthorized InvokeMethod(RemoveResourcesFromResourcePool): Unauthorized -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: FAIL ERROR - Unexpected rc code 0 and description Unauthorized InvokeMethod(DeleteResourcePool): Unauthorized -------------------------------------------------------------------- SettingsDefine - 01_forward.py: FAIL ERROR - Failed to get instance by the class of NetworkPort ERROR - Exception: Unauthorized -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: FAIL ERROR - Failed to get associators information for KVM_VirtualSystemSettingDataComponent ERROR - Exception : Unauthorized -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_sds_fwd_errs.py", line 254, in main tc_scen[i], options.virt) File "03_sds_fwd_errs.py", line 201, in try_invalid_assoc expr_values=expr_values[field], bug_no='') File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "04_sds_rev_errs.py", line 144, in main retval = try_invalid_assoc(classname, name_val, i, tc_scen[i], options.virt) File "04_sds_rev_errs.py", line 89, in try_invalid_assoc expr_values=expr_values[field], bug_no='') File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: FAIL ERROR - Failed to get instance by the class of XenKvmLib.enumclass.KVM_DiskPool ERROR - Exception: Unauthorized -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_forward_errs.py", line 112, in main field='INVALID_InstID_KeyName') File "03_forward_errs.py", line 67, in err_invalid_instid_keyname bug_no="") File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: FAIL ERROR - Failed to get associators information for KVM_SettingsDefineCapabilities ERROR - Exception: Unauthorized -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: FAIL ERROR - Failed to get associators information for KVM_SettingsDefineCapabilities ERROR - Exception: Unauthorized -------------------------------------------------------------------- SystemDevice - 01_forward.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "01_forward.py", line 67, in main Name=test_dom, CreationClassName=cs_classname) File "./lib/XenKvmLib/assoc.py", line 49, in AssociatorNames File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- SystemDevice - 02_reverse.py: FAIL ERROR - Exception: Unauthorized -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: FAIL -------------------------------------------------------------------- VSSD - 01_enum.py: FAIL ERROR - Exception Unauthorized -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_vssd_gi_errs.py", line 108, in main retval = try_invalid_gi(VSType, name_val, i, tc_scen[i]) File "03_vssd_gi_errs.py", line 80, in try_invalid_gi expr_values=expr_values[field], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Failed to Define the domain: VSSDC_dom InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_VirtualSystemManagementCapabilities -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_vsmcap_gi_errs.py", line 85, in main expr_values=expr_values['invalid_instid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: FAIL InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: FAIL ERROR - Unknow exception happened ERROR - (0, 'Unauthorized') InvokeMethod(DestroySystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: FAIL ERROR - Unexpected rc code 0 and description: Unauthorized ERROR - DefineSystem should NOT return OK with a wrong ss input InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: FAIL ERROR - Unexpected rc code 0 and description: Unauthorized ERROR - DefineSystem should NOT return OK with a wrong ss input InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: FAIL ERROR - destroy_fail>> noname: Error executing DestroySystem ERROR - (0, 'Unauthorized') ERROR - destroy_fail>> nonexistent: Error executing DestroySystem ERROR - (0, 'Unauthorized') InvokeMethod(DestroySystem): Unauthorized InvokeMethod(DestroySystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: FAIL ERROR - Error invoking AddRS: add_disk_res ERROR - (0, 'Unauthorized') InvokeMethod(AddResourceSettings): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: XFAIL ERROR - Unexpected rc code 0 and description: Unauthorized InvokeMethod(AddResourceSettings): Unauthorized Bug:<90070> -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: FAIL ERROR - Error invoking ModifyRS: mod_vcpu_res ERROR - (0, 'Unauthorized') InvokeMethod(ModifyResourceSettings): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: FAIL ERROR - (0, 'Unauthorized') InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: FAIL ERROR - Did not find VSMS instance ERROR - Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL ERROR - DefineSystem (Bytes) failed InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: FAIL ERROR - Unable to define rstest_domain using DefineSystem() ERROR - Unable to start rstest_domain InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: FAIL ERROR - Got CIM error Unauthorized with return code 0 ERROR - Unable define domain rstest_domain ERROR - Unable to define domain rstest_domain InvokeMethod(DefineSystem): Unauthorized -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_VirtualSystemMigrationCapabilities -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_vsmc_gi_errs.py", line 75, in main expr_values=expr_values['invalid_instid'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_VirtualSystemMigrationSettingData ERROR - Exception: Unauthorized -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_vsmsd_gi_errs.py", line 78, in main status = verify_fields() File "02_vsmsd_gi_errs.py", line 64, in verify_fields expr_values=expr_values['invalid_instid'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: FAIL ERROR - Failed to get instance by the class of KVM_VirtualSystemSettingData ERROR - Exception : Unauthorized -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: FAIL ERROR - Failed to get associators information for VirtualSystemSettingDataComponent ERROR - Exception : Unauthorized -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "03_vssdc_fwd_errs.py", line 143, in main retval = try_invalid_assoc(classname, name_val, i, tc_scen[i], options.virt) File "03_vssdc_fwd_errs.py", line 89, in try_invalid_assoc expr_values=expr_values[field], bug_no='') File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "04_vssdc_rev_errs.py", line 130, in main retval = try_invalid_assoc(name_val, i, tc_scen[i], options.virt) File "04_vssdc_rev_errs.py", line 91, in try_invalid_assoc expr_values=expr_values[field], bug_no='') File "./lib/XenKvmLib/common_util.py", line 250, in try_assoc File "./lib/XenKvmLib/assoc.py", line 101, in AssociatorNames File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: FAIL ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Linux_ComputerSystem ERROR - Exception: Unauthorized ERROR - Failed to enumerate the class of Hostsystem ERROR - Exception: Unauthorized -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_VirtualSystemSnapshotServiceCapabilities ERROR - Exception: Unauthorized -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_vs_sservicecap_gi_errs.py", line 76, in main status = verify_fields() File "02_vs_sservicecap_gi_errs.py", line 63, in verify_fields expr_values=expr_values['invalid_instid'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None --------------------------------------------------------------------

Toshifumi Fujimura wrote:
I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider.
I re-installed Libvirt-CIM package. And I made sure that with Pegasus's command "cimprovider -s -l".
You can check to make sure the providers are properly installed by running the following command. Replace user:pass with the username and password of the user that has CIM query rights. The convention is to use the root user or the pegasus user, but you can use any user since you've modified /etc/Pegasus/access.conf to allow all users. wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem This should return something like the following: localhost:5988/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="demo2" When you run cimtest, you'll need to run the command as root and pass in the root username / password (this will need to be fixed in the future). CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -d -v KVM
But following error messages didn't disappear. ============================================================== -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ============================================================== Would you have any more suggestion of this messages?
This error is because pywbem is unable to authenticate with Pegasus. Be sure the following query works (change pass to the proper password): wbemcli ein http://root:pass@localhost:5988/root/virt:KVM_ComputerSystem Hope this helps! =) -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

Kaitlin Rupert wrote:
Toshifumi Fujimura wrote:
I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider.
I re-installed Libvirt-CIM package. And I made sure that with Pegasus's command "cimprovider -s -l".
You can check to make sure the providers are properly installed by running the following command. Replace user:pass with the username and password of the user that has CIM query rights.
The convention is to use the root user or the pegasus user, but you can use any user since you've modified /etc/Pegasus/access.conf to allow all users.
wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem
This should return something like the following:
localhost:5988/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="demo2"
When you run cimtest, you'll need to run the command as root and pass in the root username / password (this will need to be fixed in the future).
CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -d -v KVM
But following error messages didn't disappear. ============================================================== -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ============================================================== Would you have any more suggestion of this messages?
This error is because pywbem is unable to authenticate with Pegasus. Be sure the following query works (change pass to the proper password):
wbemcli ein http://root:pass@localhost:5988/root/virt:KVM_ComputerSystem
Hope this helps! =)
You can also verify if the required providers are installed by using the following query: wbemcli ecn http://root:pass@localhost:5988/root/virt The above query will report all the providers registered with the /root/virt namespace. you can use the same query replacing the above /root/virt with other namespace like /root/interop to know the providers registered in that particular namespace. Regards, Deepti.

Thanks for your reply. Currently, WBEM Client works for getting CIM_OperatingSystem. But not for getting KVM_ComputerSystem. (I attach the wbemcli output.) ======================================================================== [root@localhost ~]# wbemcli ei 'http://user:pass@localhost:5988/root/cimv2:cim_operatingsystem' localhost:5988/root/cimv2:PG_OperatingSystem.CreationClassName="CIM_OperatingSystem",CSCreationClassName="CIM_UnitaryComputerSystem", CSName="localhost.localdomain",Name="Fedora" CSCreationClassName="CIM_UnitaryComputerSystem",CSName="localhost.localdomain", CreationClassName="CIM_OperatingSystem",Name="Fedora",Caption="Fedora release 9.92 (Rawhide)",Description="Fedora release 9.92 (Rawhide)", Status="Unknown",OSType=36,OtherTypeDescription="2.6.27.3-27.rc1.fc10.i686.PAE #1 SMP Sat Oct 18 20:27:11 EDT 2008",Version="2.6.27.3-27.rc1.fc10.i686.PAE", LastBootUpTime=20081022122916.000000+540,LocalDateTime=20081022171753.000000+540,CurrentTimeZone=540,NumberOfLicensedUsers=0,NumberOfUsers=5,NumberOfProcesses=166, MaxNumberOfProcesses=196608,TotalSwapSpaceSize=4095992,TotalVirtualMemorySize=8233000,FreeVirtualMemory=4095992,FreePhysicalMemory=3384328,TotalVisibleMemorySize=4137008, MaxProcessMemorySize=4095992,Distributed=FALSE,MaxProcessesPerUser=196608,SystemUpTime=17317,OperatingSystemCapability="32 bit" [root@localhost ~]# wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem * * wbemcli: Cim: (5) CIM_ERR_INVALID_CLASS: KVM_ComputerSystem * ======================================================================== Anyway cimxxxxx shows Virt_xxx class. (I attach the "cimprovider -l" output.) ======================================================================== [root@localhost ~]# cimprovider -l OperatingSystemModule ComputerSystemModule ProcessModule Virt_AllocationCapabilities Virt_ComputerSystem Virt_ComputerSystemIndication Virt_ComputerSystemMigrationIndication Virt_ConcreteComponent Virt_ConsoleRedirectionService Virt_ConsoleRedirectionServiceCapabilities Virt_Device Virt_DevicePool Virt_ElementAllocatedFromPool Virt_ElementCapabilities Virt_ElementConformsToProfile Virt_ElementSettingData Virt_EnabledLogicalElementCapabilities Virt_HostedDependency Virt_HostedResourcePool Virt_HostedService Virt_HostSystem Virt_RASD Virt_ReferencedProfile Virt_RegisteredProfile Virt_ResourceAllocationFromPool Virt_ResourcePoolConfigurationCapabilities Virt_ResourcePoolConfigurationService Virt_ServiceAffectsElement Virt_SettingsDefineCapabilities Virt_SettingsDefineState Virt_SystemDevice Virt_VirtualSystemManagementCapabilities Virt_VirtualSystemManagementService Virt_VirtualSystemSnapshotService Virt_VirtualSystemSnapshotServiceCapabilities Virt_VSMigrationCapabilities Virt_VSMigrationService Virt_VSMigrationSettingData Virt_VSSD Virt_VSSDComponent ========================================================================
From these, I guess libvirt-cim provider is not connected properly. Would you give me an advice to investigate it.
Thanks Toshifumi Fujimura.
Kaitlin Rupert wrote:
Toshifumi Fujimura wrote:
I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider.
I re-installed Libvirt-CIM package. And I made sure that with Pegasus's command "cimprovider -s -l".
You can check to make sure the providers are properly installed by running the following command. Replace user:pass with the username and password of the user that has CIM query rights.
The convention is to use the root user or the pegasus user, but you can use any user since you've modified /etc/Pegasus/access.conf to allow all users.
wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem
This should return something like the following:
localhost:5988/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="demo2"
When you run cimtest, you'll need to run the command as root and pass in the root username / password (this will need to be fixed in the future).
CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -d -v KVM
But following error messages didn't disappear. ============================================================== -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ============================================================== Would you have any more suggestion of this messages?
This error is because pywbem is unable to authenticate with Pegasus. Be sure the following query works (change pass to the proper password):
wbemcli ein http://root:pass@localhost:5988/root/virt:KVM_ComputerSystem
Hope this helps! =)
You can also verify if the required providers are installed by using the following query:
wbemcli ecn http://root:pass@localhost:5988/root/virt
The above query will report all the providers registered with the /root/virt namespace. you can use the same query replacing the above /root/virt with other namespace like /root/interop to know the providers registered in that particular namespace.
Regards, Deepti.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
-- Toshifumi Fujimura.

What is the output of wbemcli ecn http://root:pass@localhost:5988/root/virt Thanks and Regards, Deepti. Toshifumi Fujimura wrote:
Thanks for your reply.
Currently, WBEM Client works for getting CIM_OperatingSystem. But not for getting KVM_ComputerSystem. (I attach the wbemcli output.) ======================================================================== [root@localhost ~]# wbemcli ei 'http://user:pass@localhost:5988/root/cimv2:cim_operatingsystem' localhost:5988/root/cimv2:PG_OperatingSystem.CreationClassName="CIM_OperatingSystem",CSCreationClassName="CIM_UnitaryComputerSystem",
CSName="localhost.localdomain",Name="Fedora" CSCreationClassName="CIM_UnitaryComputerSystem",CSName="localhost.localdomain",
CreationClassName="CIM_OperatingSystem",Name="Fedora",Caption="Fedora release 9.92 (Rawhide)",Description="Fedora release 9.92 (Rawhide)", Status="Unknown",OSType=36,OtherTypeDescription="2.6.27.3-27.rc1.fc10.i686.PAE
#1 SMP Sat Oct 18 20:27:11 EDT 2008",Version="2.6.27.3-27.rc1.fc10.i686.PAE", LastBootUpTime=20081022122916.000000+540,LocalDateTime=20081022171753.000000+540,CurrentTimeZone=540,NumberOfLicensedUsers=0,NumberOfUsers=5,NumberOfProcesses=166,
MaxNumberOfProcesses=196608,TotalSwapSpaceSize=4095992,TotalVirtualMemorySize=8233000,FreeVirtualMemory=4095992,FreePhysicalMemory=3384328,TotalVisibleMemorySize=4137008,
MaxProcessMemorySize=4095992,Distributed=FALSE,MaxProcessesPerUser=196608,SystemUpTime=17317,OperatingSystemCapability="32
bit"
[root@localhost ~]# wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem * * wbemcli: Cim: (5) CIM_ERR_INVALID_CLASS: KVM_ComputerSystem * ========================================================================
Anyway cimxxxxx shows Virt_xxx class. (I attach the "cimprovider -l" output.) ======================================================================== [root@localhost ~]# cimprovider -l OperatingSystemModule ComputerSystemModule ProcessModule Virt_AllocationCapabilities Virt_ComputerSystem Virt_ComputerSystemIndication Virt_ComputerSystemMigrationIndication Virt_ConcreteComponent Virt_ConsoleRedirectionService Virt_ConsoleRedirectionServiceCapabilities Virt_Device Virt_DevicePool Virt_ElementAllocatedFromPool Virt_ElementCapabilities Virt_ElementConformsToProfile Virt_ElementSettingData Virt_EnabledLogicalElementCapabilities Virt_HostedDependency Virt_HostedResourcePool Virt_HostedService Virt_HostSystem Virt_RASD Virt_ReferencedProfile Virt_RegisteredProfile Virt_ResourceAllocationFromPool Virt_ResourcePoolConfigurationCapabilities Virt_ResourcePoolConfigurationService Virt_ServiceAffectsElement Virt_SettingsDefineCapabilities Virt_SettingsDefineState Virt_SystemDevice Virt_VirtualSystemManagementCapabilities Virt_VirtualSystemManagementService Virt_VirtualSystemSnapshotService Virt_VirtualSystemSnapshotServiceCapabilities Virt_VSMigrationCapabilities Virt_VSMigrationService Virt_VSMigrationSettingData Virt_VSSD Virt_VSSDComponent ========================================================================
From these, I guess libvirt-cim provider is not connected properly. Would you give me an advice to investigate it.
Thanks
Toshifumi Fujimura.
Kaitlin Rupert wrote:
Toshifumi Fujimura wrote:
I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider.
I re-installed Libvirt-CIM package. And I made sure that with Pegasus's command "cimprovider -s -l".
You can check to make sure the providers are properly installed by running the following command. Replace user:pass with the username and password of the user that has CIM query rights.
The convention is to use the root user or the pegasus user, but you can use any user since you've modified /etc/Pegasus/access.conf to allow all users.
wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem
This should return something like the following:
localhost:5988/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="demo2"
When you run cimtest, you'll need to run the command as root and pass in the root username / password (this will need to be fixed in the future).
CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -d -v KVM
But following error messages didn't disappear. ============================================================== -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ============================================================== Would you have any more suggestion of this messages?
This error is because pywbem is unable to authenticate with Pegasus. Be sure the following query works (change pass to the proper password):
wbemcli ein http://root:pass@localhost:5988/root/virt:KVM_ComputerSystem
Hope this helps! =)
You can also verify if the required providers are installed by using the following query:
wbemcli ecn http://root:pass@localhost:5988/root/virt
The above query will report all the providers registered with the /root/virt namespace. you can use the same query replacing the above /root/virt with other namespace like /root/interop to know the providers registered in that particular namespace.
Regards, Deepti.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Thanks for your reply. These are its command's outputs. ============================================================================ localhost:5988/root/virt:CIM_ConcreteIdentity localhost:5988/root/virt:CIM_NetworkPacketAction localhost:5988/root/virt:CIM_MemberOfStatusCollection localhost:5988/root/virt:CIM_Collection localhost:5988/root/virt:CIM_IndicationHandler localhost:5988/root/virt:CIM_MetricDefForME localhost:5988/root/virt:CIM_PackageLocation localhost:5988/root/virt:CIM_OSPFServiceCapabilities localhost:5988/root/virt:CIM_BaseMetricValue localhost:5988/root/virt:CIM_ReplaceableProductFRU localhost:5988/root/virt:CIM_J2eeJMSConnectionStats localhost:5988/root/virt:CIM_PrioritySchedulingElement localhost:5988/root/virt:CIM_PhysicalComponent localhost:5988/root/virt:PRS_Person localhost:5988/root/virt:CIM_PublicKeyCertificate localhost:5988/root/virt:CIM_FileIdentity localhost:5988/root/virt:CIM_IPsecTransportAction localhost:5988/root/virt:CIM_iSCSISessionFailures localhost:5988/root/virt:CIM_UoWMetricDefinition localhost:5988/root/virt:PRS_SolutionHasElement localhost:5988/root/virt:CIM_ElementCapabilities localhost:5988/root/virt:CIM_IPCOMPTransform localhost:5988/root/virt:CIM_FilterList localhost:5988/root/virt:CIM_UnsignedPublicKey localhost:5988/root/virt:CIM_Setting localhost:5988/root/virt:CIM_IPSubnet localhost:5988/root/virt:CIM_ProductElementComponent localhost:5988/root/virt:CIM_StatisticsCapabilities localhost:5988/root/virt:CIM_TraceLevelType localhost:5988/root/virt:CIM_InstRead localhost:5988/root/virt:CIM_PreconfiguredSAAction localhost:5988/root/virt:CIM_Person localhost:5988/root/virt:PRS_ServiceRequester localhost:5988/root/virt:KVM_ElementCapabilities localhost:5988/root/virt:PRS_ServiceAgreement localhost:5988/root/virt:PRS_ExchangeElement localhost:5988/root/virt:CIM_FCPortRateStatistics localhost:5988/root/virt:CIM_CollectedBufferPool localhost:5988/root/virt:LXC_RegisteredProfile localhost:5988/root/virt:CIM_RedundancySetSettingData localhost:5988/root/virt:CIM_ElementProfile localhost:5988/root/virt:CIM_StorageError localhost:5988/root/virt:CIM_SubUoW localhost:5988/root/virt:PRS_SolutionResolution localhost:5988/root/virt:CIM_J2eeJMSSessionStats localhost:5988/root/virt:CIM_AuthenticationCondition localhost:5988/root/virt:CIM_FormattedIndicationSubscription localhost:5988/root/virt:CIM_TimeZone localhost:5988/root/virt:CIM_BufferPool localhost:5988/root/virt:CIM_AuthorizedTarget localhost:5988/root/virt:CIM_SharedSecret localhost:5988/root/virt:CIM_InstModification localhost:5988/root/virt:CIM_LogicalElementUnitOfWorkDef localhost:5988/root/virt:CIM_ProductFRU localhost:5988/root/virt:CIM_Statistics localhost:5988/root/virt:CIM_OrderedComponent localhost:5988/root/virt:CIM_InstMethodCall localhost:5988/root/virt:CIM_PolicyConditionInPolicyRule localhost:5988/root/virt:CIM_BlockStatisticsManifest localhost:5988/root/virt:CIM_SoftwareIdentityComponent localhost:5988/root/virt:PRS_Address localhost:5988/root/virt:CIM_Container localhost:5988/root/virt:CIM_BlockStatisticsManifestCollection localhost:5988/root/virt:CIM_IKEAction localhost:5988/root/virt:Xen_SettingsDefineState localhost:5988/root/virt:LXC_SettingsDefineState localhost:5988/root/virt:CIM_AccountMapsToAccount localhost:5988/root/virt:CIM_iSCSILoginStatistics localhost:5988/root/virt:CIM_MetricInstance localhost:5988/root/virt:Xen_RegisteredProfile localhost:5988/root/virt:CIM_DocumentAuthentication localhost:5988/root/virt:CIM_CollectionSetting localhost:5988/root/virt:CIM_Indication localhost:5988/root/virt:CIM_ScopedSettingData localhost:5988/root/virt:CIM_OSPFLink localhost:5988/root/virt:CIM_FileSystemSettingData localhost:5988/root/virt:CIM_DNSSettingData localhost:5988/root/virt:CIM_StatisticalData localhost:5988/root/virt:CIM_J2eeSessionBeanStats localhost:5988/root/virt:CIM_SystemInNamespace localhost:5988/root/virt:CIM_ElementCapacity localhost:5988/root/virt:CIM_CollectionConfiguration localhost:5988/root/virt:CIM_DeviceErrorData localhost:5988/root/virt:CIM_RegisteredProfile localhost:5988/root/virt:CIM_PolicyGroupInPolicyGroup localhost:5988/root/virt:KVM_RegisteredProfile localhost:5988/root/virt:CIM_NextHopIPRoute localhost:5988/root/virt:CIM_MoreOrgUnitInfo localhost:5988/root/virt:CIM_SoftwareIdentity localhost:5988/root/virt:CIM_OrgUnit localhost:5988/root/virt:CIM_ProductSoftwareFeatures localhost:5988/root/virt:CIM_IPConnectivitySubnet localhost:5988/root/virt:CIM_ContainedLocation localhost:5988/root/virt:CIM_SettingAssociatedToCapabilities localhost:5988/root/virt:CIM_ProductParentChild localhost:5988/root/virt:PRS_Resource localhost:5988/root/virt:CIM_SystemConfiguration localhost:5988/root/virt:PRS_Organization localhost:5988/root/virt:PRS_ProductParentChild localhost:5988/root/virt:CIM_Namespace localhost:5988/root/virt:Xen_ComputerSystemMigrationJobModifiedIndication localhost:5988/root/virt:PRS_StatementFeature localhost:5988/root/virt:CIM_ContainedProposal localhost:5988/root/virt:CIM_CollectionOfMSEs localhost:5988/root/virt:CIM_J2eeJCAConnectionPools localhost:5988/root/virt:CIM_BlockStatisticsCapabilities localhost:5988/root/virt:CIM_PolicyConditionInPolicyCondition localhost:5988/root/virt:Xen_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:CIM_UnitOfWorkDefinition localhost:5988/root/virt:CIM_CollectionInOrganization localhost:5988/root/virt:CIM_SoftwareInstallationServiceCapabilities localhost:5988/root/virt:CIM_StorageSynchronized localhost:5988/root/virt:CIM_SystemBusCard localhost:5988/root/virt:CIM_SubProfileRequiresProfile localhost:5988/root/virt:CIM_ZoneMembershipSettingData localhost:5988/root/virt:CIM_FRUIncludesProduct localhost:5988/root/virt:CIM_J2eeJMSSessionProducers localhost:5988/root/virt:CIM_StorageReplicationCapabilities localhost:5988/root/virt:CIM_PackageInSlot localhost:5988/root/virt:CIM_OwningCollectionElement localhost:5988/root/virt:LXC_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:LXC_ComputerSystemMigrationJobModifiedIndication localhost:5988/root/virt:CIM_ElementLocation localhost:5988/root/virt:CIM_J2eeStatelessSessionBeanStats localhost:5988/root/virt:KVM_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:PRS_ServiceActivity localhost:5988/root/virt:CIM_Directory localhost:5988/root/virt:CIM_Group localhost:5988/root/virt:CIM_SystemSettingContext localhost:5988/root/virt:CIM_OtherPersonInformation localhost:5988/root/virt:CIM_PolicySet localhost:5988/root/virt:CIM_DiagnosticResultForMSE localhost:5988/root/virt:CIM_J2eeJMSSessionConsumers localhost:5988/root/virt:CIM_CompatibleProduct localhost:5988/root/virt:CIM_AccountAuthentication localhost:5988/root/virt:CIM_CompoundPolicyCondition localhost:5988/root/virt:CIM_UsersCredential localhost:5988/root/virt:CIM_PreconfiguredTunnelAction localhost:5988/root/virt:CIM_SAProposal localhost:5988/root/virt:PRS_ServiceIncident localhost:5988/root/virt:CIM_VideoControllerResolution localhost:5988/root/virt:CIM_PreconfiguredTransportAction localhost:5988/root/virt:CIM_SystemSetting localhost:5988/root/virt:CIM_PhysicalElementLocation localhost:5988/root/virt:CIM_DiagnosticSetting localhost:5988/root/virt:CIM_SARule localhost:5988/root/virt:CIM_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_InstIndication localhost:5988/root/virt:CIM_CIMOMStatisticalData localhost:5988/root/virt:CIM_Hdr8021Filter localhost:5988/root/virt:CIM_PolicySetComponent localhost:5988/root/virt:CIM_RejectConnectionAction localhost:5988/root/virt:CIM_PhysicalMemory localhost:5988/root/virt:Xen_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_CollectedSoftwareFeatures localhost:5988/root/virt:CIM_FilterOfPacketCondition localhost:5988/root/virt:PRS_Revision localhost:5988/root/virt:CIM_PolicyActionStructure localhost:5988/root/virt:KVM_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_J2eeServletStats localhost:5988/root/virt:CIM_X509CredentialFilterEntry localhost:5988/root/virt:CIM_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_LogRecord localhost:5988/root/virt:CIM_DiagnosticCompletionRecord localhost:5988/root/virt:LXC_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_ConnectivityMembershipSettingData localhost:5988/root/virt:CIM_RangeOfIPAddresses localhost:5988/root/virt:CIM_FRUIncludesSoftwareFeature localhost:5988/root/virt:CIM_SupportAccess localhost:5988/root/virt:CIM_AuthenticationTarget localhost:5988/root/virt:CIM_IndicationHandlerCIMXML localhost:5988/root/virt:CIM_AuthorizedPrivilege localhost:5988/root/virt:CIM_MemoryOnCard localhost:5988/root/virt:CIM_UsersAccount localhost:5988/root/virt:CIM_IPsecProposal localhost:5988/root/virt:CIM_FibrePortEventCounters localhost:5988/root/virt:CIM_Chassis localhost:5988/root/virt:PRS_ActivityResource localhost:5988/root/virt:CIM_UoWMetric localhost:5988/root/virt:CIM_CollectedCollections localhost:5988/root/virt:CIM_UserContact localhost:5988/root/virt:PRS_AdministrativeContact localhost:5988/root/virt:CIM_J2eeJDBCConnectionPools localhost:5988/root/virt:CIM_Spared localhost:5988/root/virt:CIM_ElementConfiguration localhost:5988/root/virt:CIM_Location localhost:5988/root/virt:Xen_AllocationCapabilities localhost:5988/root/virt:CIM_Capabilities localhost:5988/root/virt:CIM_MonitorResolution localhost:5988/root/virt:CIM_DiagnosticServiceRecord localhost:5988/root/virt:CIM_PhysicalStatisticalInformation localhost:5988/root/virt:CIM_ExtraCapacityGroup localhost:5988/root/virt:CIM_BlockStorageStatisticalData localhost:5988/root/virt:PRS_Attachment localhost:5988/root/virt:CIM_DiagnosticSettingRecord localhost:5988/root/virt:CIM_SystemIdentification localhost:5988/root/virt:CIM_UnitOfWork localhost:5988/root/virt:CIM_AffectedJobElement localhost:5988/root/virt:CIM_NamedSharedIKESecret localhost:5988/root/virt:CIM_SAPStatisticalInformation localhost:5988/root/virt:PRS_FeatureResource localhost:5988/root/virt:CIM_StorageRedundancySet localhost:5988/root/virt:PRS_Feature localhost:5988/root/virt:CIM_PhysicalMedia localhost:5988/root/virt:CIM_Magazine localhost:5988/root/virt:CIM_J2eeStatefulSessionBeanStats localhost:5988/root/virt:CIM_BIOSFeatureBIOSElements localhost:5988/root/virt:PRS_ExpressionElement localhost:5988/root/virt:CIM_LANSegment localhost:5988/root/virt:CIM_NextHopRouting localhost:5988/root/virt:CIM_SpareGroup localhost:5988/root/virt:CIM_HomeForMedia localhost:5988/root/virt:PRS_Activity localhost:5988/root/virt:PRS_SolutionProblem localhost:5988/root/virt:CIM_DataFile localhost:5988/root/virt:CIM_MethodParameters localhost:5988/root/virt:CIM_FCPortStatistics localhost:5988/root/virt:KVM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_CommonDatabaseStatistics localhost:5988/root/virt:CIM_OwningJobElement localhost:5988/root/virt:CIM_TransparentBridgingStatistics localhost:5988/root/virt:CIM_StatisticalSetting localhost:5988/root/virt:CIM_RoutingPolicy localhost:5988/root/virt:CIM_RedundancyComponent localhost:5988/root/virt:CIM_RangesOfConfiguration localhost:5988/root/virt:CIM_NetworkPortStatistics localhost:5988/root/virt:CIM_MemberPrincipal localhost:5988/root/virt:CIM_LocalizationCapabilities localhost:5988/root/virt:Xen_ElementSettingData localhost:5988/root/virt:CIM_ElementSettingData localhost:5988/root/virt:CIM_J2eeJDBCNonpooledConnections localhost:5988/root/virt:CIM_ConnectivityCollection localhost:5988/root/virt:CIM_PhysicalMediaInLocation localhost:5988/root/virt:LXC_ElementSettingData localhost:5988/root/virt:KVM_ElementSettingData localhost:5988/root/virt:CIM_AllocationCapabilities localhost:5988/root/virt:CIM_DeviceFile localhost:5988/root/virt:CIM_DatabaseSegmentSettingData localhost:5988/root/virt:CIM_PolicyRoleCollection localhost:5988/root/virt:CIM_NetworkPortSettings localhost:5988/root/virt:CIM_RedundancySetCapabilities localhost:5988/root/virt:CIM_StorageMediaLocation localhost:5988/root/virt:CIM_IPsecTunnelAction localhost:5988/root/virt:CIM_ChassisInRack localhost:5988/root/virt:CIM_SAStaticAction localhost:5988/root/virt:CIM_IPRoute localhost:5988/root/virt:CIM_LogicalElementPerformsUoW localhost:5988/root/virt:CIM_ComputerSystemNodeCapabilities localhost:5988/root/virt:CIM_PreambleFilter localhost:5988/root/virt:CIM_J2eeMessageDrivenBeanStats localhost:5988/root/virt:PRS_ContactPerson localhost:5988/root/virt:CIM_Account localhost:5988/root/virt:PRS_AdminAssociation localhost:5988/root/virt:PRS_SolutionReference localhost:5988/root/virt:CIM_Dependency localhost:5988/root/virt:CIM_EntriesInFilterList localhost:5988/root/virt:CIM_SymbolicLink localhost:5988/root/virt:CIM_ProductPhysicalComponent localhost:5988/root/virt:CIM_VendorPolicyCondition localhost:5988/root/virt:CIM_DiagnosticResultInPackage localhost:5988/root/virt:CIM_AuthorizationSubject localhost:5988/root/virt:CIM_LogicalPortSettings localhost:5988/root/virt:CIM_SwitchPortSpanningTreeStatistics localhost:5988/root/virt:Xen_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_BGPCluster localhost:5988/root/virt:CIM_IndicationSubscription localhost:5988/root/virt:PRS_AdministrativeRevision localhost:5988/root/virt:CIM_RecordAppliesToElement localhost:5988/root/virt:LXC_SettingsDefineCapabilities localhost:5988/root/virt:PRS_Categorization localhost:5988/root/virt:CIM_ElementsLinked localhost:5988/root/virt:CIM_LogicalFile localhost:5988/root/virt:CIM_StorageNameBinding localhost:5988/root/virt:PRS_SolutionExpression localhost:5988/root/virt:CIM_StatisticsCollection localhost:5988/root/virt:KVM_AllocationCapabilities localhost:5988/root/virt:CIM_NamedAddressCollection localhost:5988/root/virt:CIM_FilterEntryBase localhost:5988/root/virt:CIM_RelatedStatistics localhost:5988/root/virt:CIM_PolicyAction localhost:5988/root/virt:CIM_AuthenticationRule localhost:5988/root/virt:CIM_ZoneCapabilities localhost:5988/root/virt:CIM_J2eeJDBCStats localhost:5988/root/virt:CIM_ProcessIndication localhost:5988/root/virt:CIM_PolicyTimePeriodCondition localhost:5988/root/virt:CIM_ElementInPolicyRoleCollection localhost:5988/root/virt:LXC_AllocationCapabilities localhost:5988/root/virt:CIM_SettingsAffectSettings localhost:5988/root/virt:CIM_StaticIPAssignmentSettingData localhost:5988/root/virt:CIM_StartedUoW localhost:5988/root/virt:CIM_SAAction localhost:5988/root/virt:CIM_IPXNetwork localhost:5988/root/virt:CIM_J2eeJMSProducerStats localhost:5988/root/virt:CIM_DiskGroup localhost:5988/root/virt:CIM_IPSOFilterEntry localhost:5988/root/virt:CIM_LogicalPortCapabilities localhost:5988/root/virt:CIM_CompoundPolicyAction localhost:5988/root/virt:CIM_AlertInstIndication localhost:5988/root/virt:CIM_TimeZoneSettingData localhost:5988/root/virt:PRS_AddressLocation localhost:5988/root/virt:CIM_J2eeManagedObjectCapabilities localhost:5988/root/virt:CIM_InstalledProduct localhost:5988/root/virt:CIM_VendorPolicyAction localhost:5988/root/virt:CIM_DatabaseResourceStatistics localhost:5988/root/virt:PRS_Agreement localhost:5988/root/virt:PRS_Solution localhost:5988/root/virt:CIM_SATransform localhost:5988/root/virt:CIM_AdministrativeDistance localhost:5988/root/virt:CIM_Privilege localhost:5988/root/virt:CIM_AHTransform localhost:5988/root/virt:CIM_PolicyRuleValidityPeriod localhost:5988/root/virt:CIM_OrderedDependency localhost:5988/root/virt:CIM_ElementSoftwareIdentity localhost:5988/root/virt:CIM_SecuritySensitivity localhost:5988/root/virt:CIM_PhysicalLink localhost:5988/root/virt:CIM_ManagedSystemElement localhost:5988/root/virt:CIM_VideoBIOSFeature localhost:5988/root/virt:CIM_BoundedPrioritySchedulingElement localhost:5988/root/virt:CIM_AGPSoftwareFeature localhost:5988/root/virt:CIM_PhysicalTape localhost:5988/root/virt:CIM_iSCSIConnectionSettings localhost:5988/root/virt:CIM_ClassModification localhost:5988/root/virt:CIM_ElementAsUser localhost:5988/root/virt:CIM_StorageSettingWithHints localhost:5988/root/virt:PRS_Statement localhost:5988/root/virt:CIM_DatabaseServiceStatistics localhost:5988/root/virt:CIM_RedundancyGroup localhost:5988/root/virt:CIM_iSCSISessionSettings localhost:5988/root/virt:LXC_ConcreteComponent localhost:5988/root/virt:CIM_ActsAsSpare localhost:5988/root/virt:CIM_PolicyRuleInPolicyGroup localhost:5988/root/virt:CIM_IPsecAction localhost:5988/root/virt:CIM_GroupInDiskGroup localhost:5988/root/virt:CIM_OrgStructure localhost:5988/root/virt:PRS_Transaction localhost:5988/root/virt:CIM_SoftwareElementComponent localhost:5988/root/virt:CIM_SwitchPortTransparentBridgingStatistics localhost:5988/root/virt:CIM_J2eeJMSConsumerStats localhost:5988/root/virt:KVM_SettingsDefineCapabilities localhost:5988/root/virt:CIM_SettingContext localhost:5988/root/virt:CIM_SoftwareFeatureComponent localhost:5988/root/virt:CIM_LogicalPortGroup localhost:5988/root/virt:CIM_SettingsDefineCapabilities localhost:5988/root/virt:CIM_SchedulingElement localhost:5988/root/virt:CIM_PolicyCondition localhost:5988/root/virt:CIM_MediaPhysicalStatData localhost:5988/root/virt:CIM_FCAdapterEventCounters localhost:5988/root/virt:CIM_HostedDependency localhost:5988/root/virt:CIM_OrganizationalEntity localhost:5988/root/virt:CIM_SCSIMultipathSettings localhost:5988/root/virt:CIM_FCSwitchCapabilities localhost:5988/root/virt:CIM_ConfigurationCapacity localhost:5988/root/virt:CIM_ScopedSetting localhost:5988/root/virt:CIM_FRUPhysicalElements localhost:5988/root/virt:CIM_UnixDirectory localhost:5988/root/virt:CIM_AuthenticationRequirement localhost:5988/root/virt:CIM_ElementStatisticalData localhost:5988/root/virt:CIM_PhysicalStatistics localhost:5988/root/virt:CIM_PickerStatData localhost:5988/root/virt:CIM_BGPEndpointStatistics localhost:5988/root/virt:CIM_J2eeNotification localhost:5988/root/virt:LXC_ReferencedProfile localhost:5988/root/virt:CIM_PhysicalElement localhost:5988/root/virt:CIM_UsersAccess localhost:5988/root/virt:CIM_StorageSettingsGeneratedFromCapabilities localhost:5988/root/virt:CIM_PublicPrivateKeyAuthentication localhost:5988/root/virt:CIM_NextHopRoute localhost:5988/root/virt:PRS_Category localhost:5988/root/virt:CIM_SystemSpecificCollection localhost:5988/root/virt:CIM_J2eeJMSEndpointStats localhost:5988/root/virt:CIM_DiagnosticServiceCapabilities localhost:5988/root/virt:CIM_PublicPrivateKeyPair localhost:5988/root/virt:CIM_PickerStatInfo localhost:5988/root/virt:PRS_Resolution localhost:5988/root/virt:PRS_ServiceResolutionSolution localhost:5988/root/virt:CIM_MediaPhysicalStatInfo localhost:5988/root/virt:CIM_InstCreation localhost:5988/root/virt:CIM_TokenRingPortStatistics localhost:5988/root/virt:CIM_ReferencedProfile localhost:5988/root/virt:CIM_PrintJob localhost:5988/root/virt:CIM_ElementSetting localhost:5988/root/virt:KVM_ReferencedProfile localhost:5988/root/virt:CIM_PowerManagementCapabilities localhost:5988/root/virt:CIM_ProductComponent localhost:5988/root/virt:CIM_SoftwareFeatureSoftwareElements localhost:5988/root/virt:CIM_Docked localhost:5988/root/virt:CIM_DependencyContext localhost:5988/root/virt:CIM_PolicySetValidityPeriod localhost:5988/root/virt:CIM_ConcreteCollection localhost:5988/root/virt:CIM_OtherOrgUnitInformation localhost:5988/root/virt:CIM_WRRSchedulingElement localhost:5988/root/virt:CIM_VideoBIOSFeatureVideoBIOSElements localhost:5988/root/virt:CIM_FCPortCapabilities localhost:5988/root/virt:CIM_ProductSupport localhost:5988/root/virt:CIM_SoftwareElement localhost:5988/root/virt:Xen_HostedDependency localhost:5988/root/virt:CIM_OSPFAreaConfiguration localhost:5988/root/virt:CIM_OtherOrganizationInformation localhost:5988/root/virt:CIM_MemoryCapacity localhost:5988/root/virt:CIM_PackagedComponent localhost:5988/root/virt:CIM_J2eeJMSStatConnections localhost:5988/root/virt:CIM_PhysicalConnector localhost:5988/root/virt:CIM_FIFOPipeFile localhost:5988/root/virt:CIM_RecordForLog localhost:5988/root/virt:CIM_Card localhost:5988/root/virt:CIM_RelatedStatisticalData localhost:5988/root/virt:CIM_Role localhost:5988/root/virt:CIM_FRU localhost:5988/root/virt:CIM_Zone localhost:5988/root/virt:CIM_SAEndpointConnectionStatistics localhost:5988/root/virt:PRS_ExpressionLink localhost:5988/root/virt:CIM_UnixProcessStatisticalInformation localhost:5988/root/virt:CIM_AllocationSchedulingElement localhost:5988/root/virt:CIM_Organization localhost:5988/root/virt:PRS_ContactOrganization localhost:5988/root/virt:CIM_Rack localhost:5988/root/virt:CIM_PolicyRule localhost:5988/root/virt:CIM_Product localhost:5988/root/virt:PRS_Product localhost:5988/root/virt:CIM_MoreOrganizationInfo localhost:5988/root/virt:CIM_SNMPTrapIndication localhost:5988/root/virt:PRS_ServiceProblem localhost:5988/root/virt:CIM_ElementSecuritySensitivity localhost:5988/root/virt:CIM_ConnectorOnPackage localhost:5988/root/virt:CIM_PhysicalCapacity localhost:5988/root/virt:CIM_PeerIDPayloadFilterEntry localhost:5988/root/virt:Xen_ReferencedProfile localhost:5988/root/virt:CIM_NetworkingIDAuthentication localhost:5988/root/virt:CIM_Configuration localhost:5988/root/virt:CIM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_BIOSFeature localhost:5988/root/virt:CIM_ConfigurationData localhost:5988/root/virt:CIM_OrderedMemberOfCollection localhost:5988/root/virt:CIM_JobSettingData localhost:5988/root/virt:CIM_AssignedIdentity localhost:5988/root/virt:CIM_ThresholdIndication localhost:5988/root/virt:CIM_LogicalNetwork localhost:5988/root/virt:CIM_J2eeURLStats localhost:5988/root/virt:CIM_Synchronized localhost:5988/root/virt:CIM_DynamicForwardingEntry localhost:5988/root/virt:PRS_Problem localhost:5988/root/virt:CIM_Job localhost:5988/root/virt:PRS_Administrative localhost:5988/root/virt:CIM_DatabaseParameter localhost:5988/root/virt:LXC_EnabledLogicalElementCapabilities localhost:5988/root/virt:Xen_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:CIM_FilteredBGPAttributes localhost:5988/root/virt:CIM_Chip localhost:5988/root/virt:CIM_ReplacementFRU localhost:5988/root/virt:CIM_ListenerDestination localhost:5988/root/virt:CIM_CorrespondingSettingsRecord localhost:5988/root/virt:CIM_ReplacementSet localhost:5988/root/virt:PRS_ActivityTransaction localhost:5988/root/virt:LXC_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:KVM_ComputerSystemMigrationJobModifiedIndication localhost:5988/root/virt:CIM_ElementHasBeenFRUed localhost:5988/root/virt:PRS_RevisionContact localhost:5988/root/virt:CIM_PacketFilterCondition localhost:5988/root/virt:KVM_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:CIM_BiometricAuthentication localhost:5988/root/virt:CIM_IKEProposal localhost:5988/root/virt:CIM_ConcreteComponent localhost:5988/root/virt:CIM_Slot localhost:5988/root/virt:CIM_ClassCreation localhost:5988/root/virt:KVM_ConcreteComponent localhost:5988/root/virt:CIM_Identity localhost:5988/root/virt:Xen_ComputerSystemModifiedIndication localhost:5988/root/virt:PRS_CategoryParentChild localhost:5988/root/virt:CIM_MoreGroupInfo localhost:5988/root/virt:CIM_ListsInRoutingPolicy localhost:5988/root/virt:CIM_DeviceErrorCounts localhost:5988/root/virt:KVM_ComputerSystemModifiedIndication localhost:5988/root/virt:CIM_PoweredStatisticalData localhost:5988/root/virt:LXC_ComputerSystemModifiedIndication localhost:5988/root/virt:LXC_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_Profile localhost:5988/root/virt:CIM_J2eeEJBStats localhost:5988/root/virt:CIM_IPNetworkIdentity localhost:5988/root/virt:CIM_CommonDatabaseCapabilities localhost:5988/root/virt:PRS_Contact localhost:5988/root/virt:CIM_FilterListsInBGPRouteMap localhost:5988/root/virt:CIM_ZoneSet localhost:5988/root/virt:CIM_MetricDefinition localhost:5988/root/virt:PRS_ActivityContact localhost:5988/root/virt:Xen_ConcreteComponent localhost:5988/root/virt:CIM_BGPPeerGroup localhost:5988/root/virt:CIM_SANegotiationAction localhost:5988/root/virt:CIM_Policy localhost:5988/root/virt:CIM_OtherGroupInformation localhost:5988/root/virt:CIM_PolicySetAppliesToElement localhost:5988/root/virt:LXC_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_ParameterValueSources localhost:5988/root/virt:CIM_LogicalElement localhost:5988/root/virt:CIM_J2eeJTAStats localhost:5988/root/virt:CIM_J2eeJCAStats localhost:5988/root/virt:CIM_ParametersForMethod localhost:5988/root/virt:CIM_J2eeJMSStats localhost:5988/root/virt:CIM_J2eeJVMStats localhost:5988/root/virt:CIM_J2eeStatistic localhost:5988/root/virt:PRS_ProductAsset localhost:5988/root/virt:KVM_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_UserEntity localhost:5988/root/virt:CIM_StorageRedundancyGroup localhost:5988/root/virt:CIM_IPAssignmentSettingData localhost:5988/root/virt:CIM_ClassIndication localhost:5988/root/virt:CIM_IPXConnectivityNetwork localhost:5988/root/virt:CIM_AccountIdentity localhost:5988/root/virt:Xen_ElementConformsToProfile localhost:5988/root/virt:PRS_ServiceProvider localhost:5988/root/virt:CIM_ElementConformsToProfile localhost:5988/root/virt:KVM_ElementConformsToProfile localhost:5988/root/virt:KVM_ComputerSystemDeletedIndication localhost:5988/root/virt:CIM_UnixFile localhost:5988/root/virt:CIM_SwitchPortSourceRoutingStatistics localhost:5988/root/virt:Xen_ComputerSystemDeletedIndication localhost:5988/root/virt:PRS_Attached localhost:5988/root/virt:CIM_CardInSlot localhost:5988/root/virt:CIM_ListenerDestinationCIMXML localhost:5988/root/virt:CIM_RedundancySet localhost:5988/root/virt:CIM_ServiceStatisticalInformation localhost:5988/root/virt:CIM_J2eeEntityBeanStats localhost:5988/root/virt:CIM_BGPAttributes localhost:5988/root/virt:PRS_ContactItemAddress localhost:5988/root/virt:CIM_AdjacentSlots localhost:5988/root/virt:KVM_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_SlotInSlot localhost:5988/root/virt:CIM_SettingData localhost:5988/root/virt:Xen_ElementCapabilities localhost:5988/root/virt:CIM_ProductPhysicalElements localhost:5988/root/virt:CIM_RegisteredSubProfile localhost:5988/root/virt:CIM_AlertIndication localhost:5988/root/virt:PRS_Location localhost:5988/root/virt:LXC_ElementCapabilities localhost:5988/root/virt:CIM_StorageSettingsAssociatedToCapabilities localhost:5988/root/virt:LXC_ComputerSystemDeletedIndication localhost:5988/root/virt:CIM_FileSystemCapabilities localhost:5988/root/virt:CIM_ConcreteDependency localhost:5988/root/virt:Xen_VirtualSystemSettingData localhost:5988/root/virt:CIM_IdentityContext localhost:5988/root/virt:CIM_DiagnosticRecord localhost:5988/root/virt:CIM_BGPRouteMapsInRoutingPolicy localhost:5988/root/virt:CIM_RelatedElementCausingError localhost:5988/root/virt:CIM_VirtualSystemSettingData localhost:5988/root/virt:KVM_VirtualSystemSettingData localhost:5988/root/virt:PRS_ProductComponent localhost:5988/root/virt:CIM_SAEndpointRefreshSettings localhost:5988/root/virt:CIM_ElementFRU localhost:5988/root/virt:CIM_PolicyConditionStructure localhost:5988/root/virt:CIM_J2eeJCANonpooledConnections localhost:5988/root/virt:LXC_HostedDependency localhost:5988/root/virt:CIM_InstalledProductImage localhost:5988/root/virt:CIM_StorageCapabilities localhost:5988/root/virt:LXC_VirtualSystemSettingData localhost:5988/root/virt:CIM_BGPStatistics localhost:5988/root/virt:CIM_UnixDeviceFile localhost:5988/root/virt:CIM_AuthorizationTarget localhost:5988/root/virt:CIM_Credential localhost:5988/root/virt:CIM_J2eeJavaMailStats localhost:5988/root/virt:CIM_ESPTransform localhost:5988/root/virt:CIM_PackageInConnector localhost:5988/root/virt:CIM_CollectedSoftwareElements localhost:5988/root/virt:CIM_GatewayPathID localhost:5988/root/virt:CIM_KerberosTicket localhost:5988/root/virt:CIM_PolicyGroup localhost:5988/root/virt:CIM_CardOnCard localhost:5988/root/virt:CIM_BaseMetricDefinition localhost:5988/root/virt:CIM_DNSGeneralSettingData localhost:5988/root/virt:CIM_StorageHardwareID localhost:5988/root/virt:CIM_StorageClientSettingData localhost:5988/root/virt:CIM_VideoBIOSElement localhost:5988/root/virt:LXC_ElementConformsToProfile localhost:5988/root/virt:PRS_ContactContactItem localhost:5988/root/virt:CIM_ProductProductDependency localhost:5988/root/virt:CIM_InstDeletion localhost:5988/root/virt:CIM_DiagnosticResult localhost:5988/root/virt:CIM_ProtocolControllerMaskingCapabilities localhost:5988/root/virt:CIM_AuthorizedSubject localhost:5988/root/virt:CIM_AbstractIndicationSubscription localhost:5988/root/virt:CIM_MetricForME localhost:5988/root/virt:CIM_SettingsDefineState localhost:5988/root/virt:CIM_PackageInChassis localhost:5988/root/virt:CIM_OtherRoleInformation localhost:5988/root/virt:CIM_EthernetPortStatistics localhost:5988/root/virt:CIM_BGPPathAttributes localhost:5988/root/virt:CIM_MediaAccessStatData localhost:5988/root/virt:CIM_SharedSecretAuthentication localhost:5988/root/virt:KVM_SettingsDefineState localhost:5988/root/virt:CIM_CollectedMSEs localhost:5988/root/virt:CIM_iSCSICapabilities localhost:5988/root/virt:PRS_SolutionElement localhost:5988/root/virt:PRS_Reference localhost:5988/root/virt:CIM_DeviceStatisticalInformation localhost:5988/root/virt:CIM_SubUoWDef localhost:5988/root/virt:PRS_ResolutionResource localhost:5988/root/virt:CIM_IPHeadersFilter localhost:5988/root/virt:CIM_DirectoryContainsFile localhost:5988/root/virt:CIM_MemoryWithMedia localhost:5988/root/virt:KVM_HostedDependency localhost:5988/root/virt:CIM_PolicySetInRoleCollection localhost:5988/root/virt:CIM_PolicyComponent localhost:5988/root/virt:CIM_StatisticalInformation localhost:5988/root/virt:CIM_PhysicalPackage localhost:5988/root/virt:CIM_AssociatedBlockStatisticsManifestCollection localhost:5988/root/virt:PRS_SolutionCategory localhost:5988/root/virt:CIM_LinkHasConnector localhost:5988/root/virt:CIM_SwitchPortStatistics localhost:5988/root/virt:CIM_IPAddressRange localhost:5988/root/virt:CIM_BGPRouteMap localhost:5988/root/virt:CIM_SystemStatisticalInformation localhost:5988/root/virt:CIM_LANConnectivitySegment localhost:5988/root/virt:CIM_AccessControlInformation localhost:5988/root/virt:CIM_ParticipatesInSet localhost:5988/root/virt:CIM_PhysicalFrame localhost:5988/root/virt:CIM_MediaAccessStatInfo localhost:5988/root/virt:CIM_IndicationFilter localhost:5988/root/virt:CIM_PhysicalCredentialAuthentication localhost:5988/root/virt:CIM_SpanningTreeStatistics localhost:5988/root/virt:CIM_LogicalIdentity localhost:5988/root/virt:Xen_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_StaticForwardingEntry localhost:5988/root/virt:PRS_ContactItem localhost:5988/root/virt:CIM_FilterEntry localhost:5988/root/virt:CIM_ManagedElement localhost:5988/root/virt:Xen_SettingsDefineCapabilities localhost:5988/root/virt:CIM_LabelReaderStatData localhost:5988/root/virt:CIM_SoftwareFeature localhost:5988/root/virt:CIM_UoWDefTraceLevelType localhost:5988/root/virt:CIM_ClassDeletion localhost:5988/root/virt:CIM_MoreRoleInfo localhost:5988/root/virt:CIM_ConfigurationComponent localhost:5988/root/virt:CIM_MemoryError localhost:5988/root/virt:CIM_StatisticalRuntimeOverview localhost:5988/root/virt:CIM_J2eeConnectionStats localhost:5988/root/virt:Xen_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_StorageSetting localhost:5988/root/virt:CIM_TransformOfPreconfiguredAction localhost:5988/root/virt:CIM_Component localhost:5988/root/virt:CIM_KerberosAuthentication localhost:5988/root/virt:CIM_LabelReaderStatInfo localhost:5988/root/virt:CIM_ConnectedTo localhost:5988/root/virt:CIM_SNMPDatabaseParameter localhost:5988/root/virt:CIM_MemberOfCollection localhost:5988/root/virt:CIM_J2eeJMSConnectionSessions localhost:5988/root/virt:CIM_StatusCollection localhost:5988/root/virt:CIM_ProductSoftwareComponent localhost:5988/root/virt:CIM_StorageConfigurationCapabilities localhost:5988/root/virt:PRS_Expression localhost:5988/root/virt:CIM_CommonDatabaseSettingData localhost:5988/root/virt:CIM_FCSwitchSettings localhost:5988/root/virt:CIM_BIOSElement localhost:5988/root/virt:CIM_J2eeConnectionPoolStats localhost:5988/root/virt:CIM_BGPPeerUsesRouteMap ============================================================================ Do these contain clues to solve? Works for me. Toshifumi Fujimura.
What is the output of
wbemcli ecn http://root:pass@localhost:5988/root/virt
Thanks and Regards, Deepti.
Toshifumi Fujimura wrote:
Thanks for your reply.
Currently, WBEM Client works for getting CIM_OperatingSystem. But not for getting KVM_ComputerSystem. (I attach the wbemcli output.) ======================================================================== [root@localhost ~]# wbemcli ei 'http://user:pass@localhost:5988/root/cimv2:cim_operatingsystem' localhost:5988/root/cimv2:PG_OperatingSystem.CreationClassName="CIM_OperatingSystem",CSCreationClassName="CIM_UnitaryComputerSystem",
CSName="localhost.localdomain",Name="Fedora" CSCreationClassName="CIM_UnitaryComputerSystem",CSName="localhost.localdomain",
CreationClassName="CIM_OperatingSystem",Name="Fedora",Caption="Fedora release 9.92 (Rawhide)",Description="Fedora release 9.92 (Rawhide)", Status="Unknown",OSType=36,OtherTypeDescription="2.6.27.3-27.rc1.fc10.i686.PAE
#1 SMP Sat Oct 18 20:27:11 EDT 2008",Version="2.6.27.3-27.rc1.fc10.i686.PAE", LastBootUpTime=20081022122916.000000+540,LocalDateTime=20081022171753.000000+540,CurrentTimeZone=540,NumberOfLicensedUsers=0,NumberOfUsers=5,NumberOfProcesses=166,
MaxNumberOfProcesses=196608,TotalSwapSpaceSize=4095992,TotalVirtualMemorySize=8233000,FreeVirtualMemory=4095992,FreePhysicalMemory=3384328,TotalVisibleMemorySize=4137008,
MaxProcessMemorySize=4095992,Distributed=FALSE,MaxProcessesPerUser=196608,SystemUpTime=17317,OperatingSystemCapability="32
bit"
[root@localhost ~]# wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem * * wbemcli: Cim: (5) CIM_ERR_INVALID_CLASS: KVM_ComputerSystem * ========================================================================
Anyway cimxxxxx shows Virt_xxx class. (I attach the "cimprovider -l" output.) ======================================================================== [root@localhost ~]# cimprovider -l OperatingSystemModule ComputerSystemModule ProcessModule Virt_AllocationCapabilities Virt_ComputerSystem Virt_ComputerSystemIndication Virt_ComputerSystemMigrationIndication Virt_ConcreteComponent Virt_ConsoleRedirectionService Virt_ConsoleRedirectionServiceCapabilities Virt_Device Virt_DevicePool Virt_ElementAllocatedFromPool Virt_ElementCapabilities Virt_ElementConformsToProfile Virt_ElementSettingData Virt_EnabledLogicalElementCapabilities Virt_HostedDependency Virt_HostedResourcePool Virt_HostedService Virt_HostSystem Virt_RASD Virt_ReferencedProfile Virt_RegisteredProfile Virt_ResourceAllocationFromPool Virt_ResourcePoolConfigurationCapabilities Virt_ResourcePoolConfigurationService Virt_ServiceAffectsElement Virt_SettingsDefineCapabilities Virt_SettingsDefineState Virt_SystemDevice Virt_VirtualSystemManagementCapabilities Virt_VirtualSystemManagementService Virt_VirtualSystemSnapshotService Virt_VirtualSystemSnapshotServiceCapabilities Virt_VSMigrationCapabilities Virt_VSMigrationService Virt_VSMigrationSettingData Virt_VSSD Virt_VSSDComponent ========================================================================
From these, I guess libvirt-cim provider is not connected properly. Would you give me an advice to investigate it.
Thanks
Toshifumi Fujimura.
Kaitlin Rupert wrote:
Toshifumi Fujimura wrote:
I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider.
I re-installed Libvirt-CIM package. And I made sure that with Pegasus's command "cimprovider -s -l".
You can check to make sure the providers are properly installed by running the following command. Replace user:pass with the username and password of the user that has CIM query rights.
The convention is to use the root user or the pegasus user, but you can use any user since you've modified /etc/Pegasus/access.conf to allow all users.
wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem
This should return something like the following:
localhost:5988/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="demo2"
When you run cimtest, you'll need to run the command as root and pass in the root username / password (this will need to be fixed in the future).
CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -d -v KVM
But following error messages didn't disappear. ============================================================== -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ============================================================== Would you have any more suggestion of this messages?
This error is because pywbem is unable to authenticate with Pegasus. Be sure the following query works (change pass to the proper password):
wbemcli ein http://root:pass@localhost:5988/root/virt:KVM_ComputerSystem
Hope this helps! =)
You can also verify if the required providers are installed by using the following query:
wbemcli ecn http://root:pass@localhost:5988/root/virt
The above query will report all the providers registered with the /root/virt namespace. you can use the same query replacing the above /root/virt with other namespace like /root/interop to know the providers registered in that particular namespace.
Regards, Deepti.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
-- Toshifumi Fujimura.

From the o/p what you have given you do not have KVM_ComputerSystem registered and that is why you are not able to get the records when you query with KVM_ComputerSystem. When required you can use the following to verify if a particular provider is registered by using wbemcli ecn http://root:pass@localhost:5988/root/virt | grep KVM_ComputerSystem In your libvirt-cim directory, run the following: sudo make preuninstall sudo make preinstall sudo make postinstall Then restart Pegasus. The following query: wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem might not return any records if you don't have any guests defined. In that case, you can also try: http://user:pass@localhost:5988/root/virt:KVM_VirtualSystemManagementService That should always return an instance. Thanks and Regards, Deepti. Toshifumi Fujimura wrote:
Thanks for your reply.
These are its command's outputs. ============================================================================
localhost:5988/root/virt:CIM_ConcreteIdentity localhost:5988/root/virt:CIM_NetworkPacketAction localhost:5988/root/virt:CIM_MemberOfStatusCollection localhost:5988/root/virt:CIM_Collection localhost:5988/root/virt:CIM_IndicationHandler localhost:5988/root/virt:CIM_MetricDefForME localhost:5988/root/virt:CIM_PackageLocation localhost:5988/root/virt:CIM_OSPFServiceCapabilities localhost:5988/root/virt:CIM_BaseMetricValue localhost:5988/root/virt:CIM_ReplaceableProductFRU localhost:5988/root/virt:CIM_J2eeJMSConnectionStats localhost:5988/root/virt:CIM_PrioritySchedulingElement localhost:5988/root/virt:CIM_PhysicalComponent localhost:5988/root/virt:PRS_Person localhost:5988/root/virt:CIM_PublicKeyCertificate localhost:5988/root/virt:CIM_FileIdentity localhost:5988/root/virt:CIM_IPsecTransportAction localhost:5988/root/virt:CIM_iSCSISessionFailures localhost:5988/root/virt:CIM_UoWMetricDefinition localhost:5988/root/virt:PRS_SolutionHasElement localhost:5988/root/virt:CIM_ElementCapabilities localhost:5988/root/virt:CIM_IPCOMPTransform localhost:5988/root/virt:CIM_FilterList localhost:5988/root/virt:CIM_UnsignedPublicKey localhost:5988/root/virt:CIM_Setting localhost:5988/root/virt:CIM_IPSubnet localhost:5988/root/virt:CIM_ProductElementComponent localhost:5988/root/virt:CIM_StatisticsCapabilities localhost:5988/root/virt:CIM_TraceLevelType localhost:5988/root/virt:CIM_InstRead localhost:5988/root/virt:CIM_PreconfiguredSAAction localhost:5988/root/virt:CIM_Person localhost:5988/root/virt:PRS_ServiceRequester localhost:5988/root/virt:KVM_ElementCapabilities localhost:5988/root/virt:PRS_ServiceAgreement localhost:5988/root/virt:PRS_ExchangeElement localhost:5988/root/virt:CIM_FCPortRateStatistics localhost:5988/root/virt:CIM_CollectedBufferPool localhost:5988/root/virt:LXC_RegisteredProfile localhost:5988/root/virt:CIM_RedundancySetSettingData localhost:5988/root/virt:CIM_ElementProfile localhost:5988/root/virt:CIM_StorageError localhost:5988/root/virt:CIM_SubUoW localhost:5988/root/virt:PRS_SolutionResolution localhost:5988/root/virt:CIM_J2eeJMSSessionStats localhost:5988/root/virt:CIM_AuthenticationCondition localhost:5988/root/virt:CIM_FormattedIndicationSubscription localhost:5988/root/virt:CIM_TimeZone localhost:5988/root/virt:CIM_BufferPool localhost:5988/root/virt:CIM_AuthorizedTarget localhost:5988/root/virt:CIM_SharedSecret localhost:5988/root/virt:CIM_InstModification localhost:5988/root/virt:CIM_LogicalElementUnitOfWorkDef localhost:5988/root/virt:CIM_ProductFRU localhost:5988/root/virt:CIM_Statistics localhost:5988/root/virt:CIM_OrderedComponent localhost:5988/root/virt:CIM_InstMethodCall localhost:5988/root/virt:CIM_PolicyConditionInPolicyRule localhost:5988/root/virt:CIM_BlockStatisticsManifest localhost:5988/root/virt:CIM_SoftwareIdentityComponent localhost:5988/root/virt:PRS_Address localhost:5988/root/virt:CIM_Container localhost:5988/root/virt:CIM_BlockStatisticsManifestCollection localhost:5988/root/virt:CIM_IKEAction localhost:5988/root/virt:Xen_SettingsDefineState localhost:5988/root/virt:LXC_SettingsDefineState localhost:5988/root/virt:CIM_AccountMapsToAccount localhost:5988/root/virt:CIM_iSCSILoginStatistics localhost:5988/root/virt:CIM_MetricInstance localhost:5988/root/virt:Xen_RegisteredProfile localhost:5988/root/virt:CIM_DocumentAuthentication localhost:5988/root/virt:CIM_CollectionSetting localhost:5988/root/virt:CIM_Indication localhost:5988/root/virt:CIM_ScopedSettingData localhost:5988/root/virt:CIM_OSPFLink localhost:5988/root/virt:CIM_FileSystemSettingData localhost:5988/root/virt:CIM_DNSSettingData localhost:5988/root/virt:CIM_StatisticalData localhost:5988/root/virt:CIM_J2eeSessionBeanStats localhost:5988/root/virt:CIM_SystemInNamespace localhost:5988/root/virt:CIM_ElementCapacity localhost:5988/root/virt:CIM_CollectionConfiguration localhost:5988/root/virt:CIM_DeviceErrorData localhost:5988/root/virt:CIM_RegisteredProfile localhost:5988/root/virt:CIM_PolicyGroupInPolicyGroup localhost:5988/root/virt:KVM_RegisteredProfile localhost:5988/root/virt:CIM_NextHopIPRoute localhost:5988/root/virt:CIM_MoreOrgUnitInfo localhost:5988/root/virt:CIM_SoftwareIdentity localhost:5988/root/virt:CIM_OrgUnit localhost:5988/root/virt:CIM_ProductSoftwareFeatures localhost:5988/root/virt:CIM_IPConnectivitySubnet localhost:5988/root/virt:CIM_ContainedLocation localhost:5988/root/virt:CIM_SettingAssociatedToCapabilities localhost:5988/root/virt:CIM_ProductParentChild localhost:5988/root/virt:PRS_Resource localhost:5988/root/virt:CIM_SystemConfiguration localhost:5988/root/virt:PRS_Organization localhost:5988/root/virt:PRS_ProductParentChild localhost:5988/root/virt:CIM_Namespace localhost:5988/root/virt:Xen_ComputerSystemMigrationJobModifiedIndication localhost:5988/root/virt:PRS_StatementFeature localhost:5988/root/virt:CIM_ContainedProposal localhost:5988/root/virt:CIM_CollectionOfMSEs localhost:5988/root/virt:CIM_J2eeJCAConnectionPools localhost:5988/root/virt:CIM_BlockStatisticsCapabilities localhost:5988/root/virt:CIM_PolicyConditionInPolicyCondition localhost:5988/root/virt:Xen_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:CIM_UnitOfWorkDefinition localhost:5988/root/virt:CIM_CollectionInOrganization localhost:5988/root/virt:CIM_SoftwareInstallationServiceCapabilities localhost:5988/root/virt:CIM_StorageSynchronized localhost:5988/root/virt:CIM_SystemBusCard localhost:5988/root/virt:CIM_SubProfileRequiresProfile localhost:5988/root/virt:CIM_ZoneMembershipSettingData localhost:5988/root/virt:CIM_FRUIncludesProduct localhost:5988/root/virt:CIM_J2eeJMSSessionProducers localhost:5988/root/virt:CIM_StorageReplicationCapabilities localhost:5988/root/virt:CIM_PackageInSlot localhost:5988/root/virt:CIM_OwningCollectionElement localhost:5988/root/virt:LXC_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:LXC_ComputerSystemMigrationJobModifiedIndication localhost:5988/root/virt:CIM_ElementLocation localhost:5988/root/virt:CIM_J2eeStatelessSessionBeanStats localhost:5988/root/virt:KVM_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:PRS_ServiceActivity localhost:5988/root/virt:CIM_Directory localhost:5988/root/virt:CIM_Group localhost:5988/root/virt:CIM_SystemSettingContext localhost:5988/root/virt:CIM_OtherPersonInformation localhost:5988/root/virt:CIM_PolicySet localhost:5988/root/virt:CIM_DiagnosticResultForMSE localhost:5988/root/virt:CIM_J2eeJMSSessionConsumers localhost:5988/root/virt:CIM_CompatibleProduct localhost:5988/root/virt:CIM_AccountAuthentication localhost:5988/root/virt:CIM_CompoundPolicyCondition localhost:5988/root/virt:CIM_UsersCredential localhost:5988/root/virt:CIM_PreconfiguredTunnelAction localhost:5988/root/virt:CIM_SAProposal localhost:5988/root/virt:PRS_ServiceIncident localhost:5988/root/virt:CIM_VideoControllerResolution localhost:5988/root/virt:CIM_PreconfiguredTransportAction localhost:5988/root/virt:CIM_SystemSetting localhost:5988/root/virt:CIM_PhysicalElementLocation localhost:5988/root/virt:CIM_DiagnosticSetting localhost:5988/root/virt:CIM_SARule localhost:5988/root/virt:CIM_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_InstIndication localhost:5988/root/virt:CIM_CIMOMStatisticalData localhost:5988/root/virt:CIM_Hdr8021Filter localhost:5988/root/virt:CIM_PolicySetComponent localhost:5988/root/virt:CIM_RejectConnectionAction localhost:5988/root/virt:CIM_PhysicalMemory localhost:5988/root/virt:Xen_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_CollectedSoftwareFeatures localhost:5988/root/virt:CIM_FilterOfPacketCondition localhost:5988/root/virt:PRS_Revision localhost:5988/root/virt:CIM_PolicyActionStructure localhost:5988/root/virt:KVM_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_J2eeServletStats localhost:5988/root/virt:CIM_X509CredentialFilterEntry localhost:5988/root/virt:CIM_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_LogRecord localhost:5988/root/virt:CIM_DiagnosticCompletionRecord localhost:5988/root/virt:LXC_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_ConnectivityMembershipSettingData localhost:5988/root/virt:CIM_RangeOfIPAddresses localhost:5988/root/virt:CIM_FRUIncludesSoftwareFeature localhost:5988/root/virt:CIM_SupportAccess localhost:5988/root/virt:CIM_AuthenticationTarget localhost:5988/root/virt:CIM_IndicationHandlerCIMXML localhost:5988/root/virt:CIM_AuthorizedPrivilege localhost:5988/root/virt:CIM_MemoryOnCard localhost:5988/root/virt:CIM_UsersAccount localhost:5988/root/virt:CIM_IPsecProposal localhost:5988/root/virt:CIM_FibrePortEventCounters localhost:5988/root/virt:CIM_Chassis localhost:5988/root/virt:PRS_ActivityResource localhost:5988/root/virt:CIM_UoWMetric localhost:5988/root/virt:CIM_CollectedCollections localhost:5988/root/virt:CIM_UserContact localhost:5988/root/virt:PRS_AdministrativeContact localhost:5988/root/virt:CIM_J2eeJDBCConnectionPools localhost:5988/root/virt:CIM_Spared localhost:5988/root/virt:CIM_ElementConfiguration localhost:5988/root/virt:CIM_Location localhost:5988/root/virt:Xen_AllocationCapabilities localhost:5988/root/virt:CIM_Capabilities localhost:5988/root/virt:CIM_MonitorResolution localhost:5988/root/virt:CIM_DiagnosticServiceRecord localhost:5988/root/virt:CIM_PhysicalStatisticalInformation localhost:5988/root/virt:CIM_ExtraCapacityGroup localhost:5988/root/virt:CIM_BlockStorageStatisticalData localhost:5988/root/virt:PRS_Attachment localhost:5988/root/virt:CIM_DiagnosticSettingRecord localhost:5988/root/virt:CIM_SystemIdentification localhost:5988/root/virt:CIM_UnitOfWork localhost:5988/root/virt:CIM_AffectedJobElement localhost:5988/root/virt:CIM_NamedSharedIKESecret localhost:5988/root/virt:CIM_SAPStatisticalInformation localhost:5988/root/virt:PRS_FeatureResource localhost:5988/root/virt:CIM_StorageRedundancySet localhost:5988/root/virt:PRS_Feature localhost:5988/root/virt:CIM_PhysicalMedia localhost:5988/root/virt:CIM_Magazine localhost:5988/root/virt:CIM_J2eeStatefulSessionBeanStats localhost:5988/root/virt:CIM_BIOSFeatureBIOSElements localhost:5988/root/virt:PRS_ExpressionElement localhost:5988/root/virt:CIM_LANSegment localhost:5988/root/virt:CIM_NextHopRouting localhost:5988/root/virt:CIM_SpareGroup localhost:5988/root/virt:CIM_HomeForMedia localhost:5988/root/virt:PRS_Activity localhost:5988/root/virt:PRS_SolutionProblem localhost:5988/root/virt:CIM_DataFile localhost:5988/root/virt:CIM_MethodParameters localhost:5988/root/virt:CIM_FCPortStatistics localhost:5988/root/virt:KVM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_CommonDatabaseStatistics localhost:5988/root/virt:CIM_OwningJobElement localhost:5988/root/virt:CIM_TransparentBridgingStatistics localhost:5988/root/virt:CIM_StatisticalSetting localhost:5988/root/virt:CIM_RoutingPolicy localhost:5988/root/virt:CIM_RedundancyComponent localhost:5988/root/virt:CIM_RangesOfConfiguration localhost:5988/root/virt:CIM_NetworkPortStatistics localhost:5988/root/virt:CIM_MemberPrincipal localhost:5988/root/virt:CIM_LocalizationCapabilities localhost:5988/root/virt:Xen_ElementSettingData localhost:5988/root/virt:CIM_ElementSettingData localhost:5988/root/virt:CIM_J2eeJDBCNonpooledConnections localhost:5988/root/virt:CIM_ConnectivityCollection localhost:5988/root/virt:CIM_PhysicalMediaInLocation localhost:5988/root/virt:LXC_ElementSettingData localhost:5988/root/virt:KVM_ElementSettingData localhost:5988/root/virt:CIM_AllocationCapabilities localhost:5988/root/virt:CIM_DeviceFile localhost:5988/root/virt:CIM_DatabaseSegmentSettingData localhost:5988/root/virt:CIM_PolicyRoleCollection localhost:5988/root/virt:CIM_NetworkPortSettings localhost:5988/root/virt:CIM_RedundancySetCapabilities localhost:5988/root/virt:CIM_StorageMediaLocation localhost:5988/root/virt:CIM_IPsecTunnelAction localhost:5988/root/virt:CIM_ChassisInRack localhost:5988/root/virt:CIM_SAStaticAction localhost:5988/root/virt:CIM_IPRoute localhost:5988/root/virt:CIM_LogicalElementPerformsUoW localhost:5988/root/virt:CIM_ComputerSystemNodeCapabilities localhost:5988/root/virt:CIM_PreambleFilter localhost:5988/root/virt:CIM_J2eeMessageDrivenBeanStats localhost:5988/root/virt:PRS_ContactPerson localhost:5988/root/virt:CIM_Account localhost:5988/root/virt:PRS_AdminAssociation localhost:5988/root/virt:PRS_SolutionReference localhost:5988/root/virt:CIM_Dependency localhost:5988/root/virt:CIM_EntriesInFilterList localhost:5988/root/virt:CIM_SymbolicLink localhost:5988/root/virt:CIM_ProductPhysicalComponent localhost:5988/root/virt:CIM_VendorPolicyCondition localhost:5988/root/virt:CIM_DiagnosticResultInPackage localhost:5988/root/virt:CIM_AuthorizationSubject localhost:5988/root/virt:CIM_LogicalPortSettings localhost:5988/root/virt:CIM_SwitchPortSpanningTreeStatistics localhost:5988/root/virt:Xen_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_BGPCluster localhost:5988/root/virt:CIM_IndicationSubscription localhost:5988/root/virt:PRS_AdministrativeRevision localhost:5988/root/virt:CIM_RecordAppliesToElement localhost:5988/root/virt:LXC_SettingsDefineCapabilities localhost:5988/root/virt:PRS_Categorization localhost:5988/root/virt:CIM_ElementsLinked localhost:5988/root/virt:CIM_LogicalFile localhost:5988/root/virt:CIM_StorageNameBinding localhost:5988/root/virt:PRS_SolutionExpression localhost:5988/root/virt:CIM_StatisticsCollection localhost:5988/root/virt:KVM_AllocationCapabilities localhost:5988/root/virt:CIM_NamedAddressCollection localhost:5988/root/virt:CIM_FilterEntryBase localhost:5988/root/virt:CIM_RelatedStatistics localhost:5988/root/virt:CIM_PolicyAction localhost:5988/root/virt:CIM_AuthenticationRule localhost:5988/root/virt:CIM_ZoneCapabilities localhost:5988/root/virt:CIM_J2eeJDBCStats localhost:5988/root/virt:CIM_ProcessIndication localhost:5988/root/virt:CIM_PolicyTimePeriodCondition localhost:5988/root/virt:CIM_ElementInPolicyRoleCollection localhost:5988/root/virt:LXC_AllocationCapabilities localhost:5988/root/virt:CIM_SettingsAffectSettings localhost:5988/root/virt:CIM_StaticIPAssignmentSettingData localhost:5988/root/virt:CIM_StartedUoW localhost:5988/root/virt:CIM_SAAction localhost:5988/root/virt:CIM_IPXNetwork localhost:5988/root/virt:CIM_J2eeJMSProducerStats localhost:5988/root/virt:CIM_DiskGroup localhost:5988/root/virt:CIM_IPSOFilterEntry localhost:5988/root/virt:CIM_LogicalPortCapabilities localhost:5988/root/virt:CIM_CompoundPolicyAction localhost:5988/root/virt:CIM_AlertInstIndication localhost:5988/root/virt:CIM_TimeZoneSettingData localhost:5988/root/virt:PRS_AddressLocation localhost:5988/root/virt:CIM_J2eeManagedObjectCapabilities localhost:5988/root/virt:CIM_InstalledProduct localhost:5988/root/virt:CIM_VendorPolicyAction localhost:5988/root/virt:CIM_DatabaseResourceStatistics localhost:5988/root/virt:PRS_Agreement localhost:5988/root/virt:PRS_Solution localhost:5988/root/virt:CIM_SATransform localhost:5988/root/virt:CIM_AdministrativeDistance localhost:5988/root/virt:CIM_Privilege localhost:5988/root/virt:CIM_AHTransform localhost:5988/root/virt:CIM_PolicyRuleValidityPeriod localhost:5988/root/virt:CIM_OrderedDependency localhost:5988/root/virt:CIM_ElementSoftwareIdentity localhost:5988/root/virt:CIM_SecuritySensitivity localhost:5988/root/virt:CIM_PhysicalLink localhost:5988/root/virt:CIM_ManagedSystemElement localhost:5988/root/virt:CIM_VideoBIOSFeature localhost:5988/root/virt:CIM_BoundedPrioritySchedulingElement localhost:5988/root/virt:CIM_AGPSoftwareFeature localhost:5988/root/virt:CIM_PhysicalTape localhost:5988/root/virt:CIM_iSCSIConnectionSettings localhost:5988/root/virt:CIM_ClassModification localhost:5988/root/virt:CIM_ElementAsUser localhost:5988/root/virt:CIM_StorageSettingWithHints localhost:5988/root/virt:PRS_Statement localhost:5988/root/virt:CIM_DatabaseServiceStatistics localhost:5988/root/virt:CIM_RedundancyGroup localhost:5988/root/virt:CIM_iSCSISessionSettings localhost:5988/root/virt:LXC_ConcreteComponent localhost:5988/root/virt:CIM_ActsAsSpare localhost:5988/root/virt:CIM_PolicyRuleInPolicyGroup localhost:5988/root/virt:CIM_IPsecAction localhost:5988/root/virt:CIM_GroupInDiskGroup localhost:5988/root/virt:CIM_OrgStructure localhost:5988/root/virt:PRS_Transaction localhost:5988/root/virt:CIM_SoftwareElementComponent localhost:5988/root/virt:CIM_SwitchPortTransparentBridgingStatistics localhost:5988/root/virt:CIM_J2eeJMSConsumerStats localhost:5988/root/virt:KVM_SettingsDefineCapabilities localhost:5988/root/virt:CIM_SettingContext localhost:5988/root/virt:CIM_SoftwareFeatureComponent localhost:5988/root/virt:CIM_LogicalPortGroup localhost:5988/root/virt:CIM_SettingsDefineCapabilities localhost:5988/root/virt:CIM_SchedulingElement localhost:5988/root/virt:CIM_PolicyCondition localhost:5988/root/virt:CIM_MediaPhysicalStatData localhost:5988/root/virt:CIM_FCAdapterEventCounters localhost:5988/root/virt:CIM_HostedDependency localhost:5988/root/virt:CIM_OrganizationalEntity localhost:5988/root/virt:CIM_SCSIMultipathSettings localhost:5988/root/virt:CIM_FCSwitchCapabilities localhost:5988/root/virt:CIM_ConfigurationCapacity localhost:5988/root/virt:CIM_ScopedSetting localhost:5988/root/virt:CIM_FRUPhysicalElements localhost:5988/root/virt:CIM_UnixDirectory localhost:5988/root/virt:CIM_AuthenticationRequirement localhost:5988/root/virt:CIM_ElementStatisticalData localhost:5988/root/virt:CIM_PhysicalStatistics localhost:5988/root/virt:CIM_PickerStatData localhost:5988/root/virt:CIM_BGPEndpointStatistics localhost:5988/root/virt:CIM_J2eeNotification localhost:5988/root/virt:LXC_ReferencedProfile localhost:5988/root/virt:CIM_PhysicalElement localhost:5988/root/virt:CIM_UsersAccess localhost:5988/root/virt:CIM_StorageSettingsGeneratedFromCapabilities localhost:5988/root/virt:CIM_PublicPrivateKeyAuthentication localhost:5988/root/virt:CIM_NextHopRoute localhost:5988/root/virt:PRS_Category localhost:5988/root/virt:CIM_SystemSpecificCollection localhost:5988/root/virt:CIM_J2eeJMSEndpointStats localhost:5988/root/virt:CIM_DiagnosticServiceCapabilities localhost:5988/root/virt:CIM_PublicPrivateKeyPair localhost:5988/root/virt:CIM_PickerStatInfo localhost:5988/root/virt:PRS_Resolution localhost:5988/root/virt:PRS_ServiceResolutionSolution localhost:5988/root/virt:CIM_MediaPhysicalStatInfo localhost:5988/root/virt:CIM_InstCreation localhost:5988/root/virt:CIM_TokenRingPortStatistics localhost:5988/root/virt:CIM_ReferencedProfile localhost:5988/root/virt:CIM_PrintJob localhost:5988/root/virt:CIM_ElementSetting localhost:5988/root/virt:KVM_ReferencedProfile localhost:5988/root/virt:CIM_PowerManagementCapabilities localhost:5988/root/virt:CIM_ProductComponent localhost:5988/root/virt:CIM_SoftwareFeatureSoftwareElements localhost:5988/root/virt:CIM_Docked localhost:5988/root/virt:CIM_DependencyContext localhost:5988/root/virt:CIM_PolicySetValidityPeriod localhost:5988/root/virt:CIM_ConcreteCollection localhost:5988/root/virt:CIM_OtherOrgUnitInformation localhost:5988/root/virt:CIM_WRRSchedulingElement localhost:5988/root/virt:CIM_VideoBIOSFeatureVideoBIOSElements localhost:5988/root/virt:CIM_FCPortCapabilities localhost:5988/root/virt:CIM_ProductSupport localhost:5988/root/virt:CIM_SoftwareElement localhost:5988/root/virt:Xen_HostedDependency localhost:5988/root/virt:CIM_OSPFAreaConfiguration localhost:5988/root/virt:CIM_OtherOrganizationInformation localhost:5988/root/virt:CIM_MemoryCapacity localhost:5988/root/virt:CIM_PackagedComponent localhost:5988/root/virt:CIM_J2eeJMSStatConnections localhost:5988/root/virt:CIM_PhysicalConnector localhost:5988/root/virt:CIM_FIFOPipeFile localhost:5988/root/virt:CIM_RecordForLog localhost:5988/root/virt:CIM_Card localhost:5988/root/virt:CIM_RelatedStatisticalData localhost:5988/root/virt:CIM_Role localhost:5988/root/virt:CIM_FRU localhost:5988/root/virt:CIM_Zone localhost:5988/root/virt:CIM_SAEndpointConnectionStatistics localhost:5988/root/virt:PRS_ExpressionLink localhost:5988/root/virt:CIM_UnixProcessStatisticalInformation localhost:5988/root/virt:CIM_AllocationSchedulingElement localhost:5988/root/virt:CIM_Organization localhost:5988/root/virt:PRS_ContactOrganization localhost:5988/root/virt:CIM_Rack localhost:5988/root/virt:CIM_PolicyRule localhost:5988/root/virt:CIM_Product localhost:5988/root/virt:PRS_Product localhost:5988/root/virt:CIM_MoreOrganizationInfo localhost:5988/root/virt:CIM_SNMPTrapIndication localhost:5988/root/virt:PRS_ServiceProblem localhost:5988/root/virt:CIM_ElementSecuritySensitivity localhost:5988/root/virt:CIM_ConnectorOnPackage localhost:5988/root/virt:CIM_PhysicalCapacity localhost:5988/root/virt:CIM_PeerIDPayloadFilterEntry localhost:5988/root/virt:Xen_ReferencedProfile localhost:5988/root/virt:CIM_NetworkingIDAuthentication localhost:5988/root/virt:CIM_Configuration localhost:5988/root/virt:CIM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_BIOSFeature localhost:5988/root/virt:CIM_ConfigurationData localhost:5988/root/virt:CIM_OrderedMemberOfCollection localhost:5988/root/virt:CIM_JobSettingData localhost:5988/root/virt:CIM_AssignedIdentity localhost:5988/root/virt:CIM_ThresholdIndication localhost:5988/root/virt:CIM_LogicalNetwork localhost:5988/root/virt:CIM_J2eeURLStats localhost:5988/root/virt:CIM_Synchronized localhost:5988/root/virt:CIM_DynamicForwardingEntry localhost:5988/root/virt:PRS_Problem localhost:5988/root/virt:CIM_Job localhost:5988/root/virt:PRS_Administrative localhost:5988/root/virt:CIM_DatabaseParameter localhost:5988/root/virt:LXC_EnabledLogicalElementCapabilities localhost:5988/root/virt:Xen_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:CIM_FilteredBGPAttributes localhost:5988/root/virt:CIM_Chip localhost:5988/root/virt:CIM_ReplacementFRU localhost:5988/root/virt:CIM_ListenerDestination localhost:5988/root/virt:CIM_CorrespondingSettingsRecord localhost:5988/root/virt:CIM_ReplacementSet localhost:5988/root/virt:PRS_ActivityTransaction localhost:5988/root/virt:LXC_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:KVM_ComputerSystemMigrationJobModifiedIndication localhost:5988/root/virt:CIM_ElementHasBeenFRUed localhost:5988/root/virt:PRS_RevisionContact localhost:5988/root/virt:CIM_PacketFilterCondition localhost:5988/root/virt:KVM_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:CIM_BiometricAuthentication localhost:5988/root/virt:CIM_IKEProposal localhost:5988/root/virt:CIM_ConcreteComponent localhost:5988/root/virt:CIM_Slot localhost:5988/root/virt:CIM_ClassCreation localhost:5988/root/virt:KVM_ConcreteComponent localhost:5988/root/virt:CIM_Identity localhost:5988/root/virt:Xen_ComputerSystemModifiedIndication localhost:5988/root/virt:PRS_CategoryParentChild localhost:5988/root/virt:CIM_MoreGroupInfo localhost:5988/root/virt:CIM_ListsInRoutingPolicy localhost:5988/root/virt:CIM_DeviceErrorCounts localhost:5988/root/virt:KVM_ComputerSystemModifiedIndication localhost:5988/root/virt:CIM_PoweredStatisticalData localhost:5988/root/virt:LXC_ComputerSystemModifiedIndication localhost:5988/root/virt:LXC_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_Profile localhost:5988/root/virt:CIM_J2eeEJBStats localhost:5988/root/virt:CIM_IPNetworkIdentity localhost:5988/root/virt:CIM_CommonDatabaseCapabilities localhost:5988/root/virt:PRS_Contact localhost:5988/root/virt:CIM_FilterListsInBGPRouteMap localhost:5988/root/virt:CIM_ZoneSet localhost:5988/root/virt:CIM_MetricDefinition localhost:5988/root/virt:PRS_ActivityContact localhost:5988/root/virt:Xen_ConcreteComponent localhost:5988/root/virt:CIM_BGPPeerGroup localhost:5988/root/virt:CIM_SANegotiationAction localhost:5988/root/virt:CIM_Policy localhost:5988/root/virt:CIM_OtherGroupInformation localhost:5988/root/virt:CIM_PolicySetAppliesToElement localhost:5988/root/virt:LXC_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_ParameterValueSources localhost:5988/root/virt:CIM_LogicalElement localhost:5988/root/virt:CIM_J2eeJTAStats localhost:5988/root/virt:CIM_J2eeJCAStats localhost:5988/root/virt:CIM_ParametersForMethod localhost:5988/root/virt:CIM_J2eeJMSStats localhost:5988/root/virt:CIM_J2eeJVMStats localhost:5988/root/virt:CIM_J2eeStatistic localhost:5988/root/virt:PRS_ProductAsset localhost:5988/root/virt:KVM_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_UserEntity localhost:5988/root/virt:CIM_StorageRedundancyGroup localhost:5988/root/virt:CIM_IPAssignmentSettingData localhost:5988/root/virt:CIM_ClassIndication localhost:5988/root/virt:CIM_IPXConnectivityNetwork localhost:5988/root/virt:CIM_AccountIdentity localhost:5988/root/virt:Xen_ElementConformsToProfile localhost:5988/root/virt:PRS_ServiceProvider localhost:5988/root/virt:CIM_ElementConformsToProfile localhost:5988/root/virt:KVM_ElementConformsToProfile localhost:5988/root/virt:KVM_ComputerSystemDeletedIndication localhost:5988/root/virt:CIM_UnixFile localhost:5988/root/virt:CIM_SwitchPortSourceRoutingStatistics localhost:5988/root/virt:Xen_ComputerSystemDeletedIndication localhost:5988/root/virt:PRS_Attached localhost:5988/root/virt:CIM_CardInSlot localhost:5988/root/virt:CIM_ListenerDestinationCIMXML localhost:5988/root/virt:CIM_RedundancySet localhost:5988/root/virt:CIM_ServiceStatisticalInformation localhost:5988/root/virt:CIM_J2eeEntityBeanStats localhost:5988/root/virt:CIM_BGPAttributes localhost:5988/root/virt:PRS_ContactItemAddress localhost:5988/root/virt:CIM_AdjacentSlots localhost:5988/root/virt:KVM_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_SlotInSlot localhost:5988/root/virt:CIM_SettingData localhost:5988/root/virt:Xen_ElementCapabilities localhost:5988/root/virt:CIM_ProductPhysicalElements localhost:5988/root/virt:CIM_RegisteredSubProfile localhost:5988/root/virt:CIM_AlertIndication localhost:5988/root/virt:PRS_Location localhost:5988/root/virt:LXC_ElementCapabilities localhost:5988/root/virt:CIM_StorageSettingsAssociatedToCapabilities localhost:5988/root/virt:LXC_ComputerSystemDeletedIndication localhost:5988/root/virt:CIM_FileSystemCapabilities localhost:5988/root/virt:CIM_ConcreteDependency localhost:5988/root/virt:Xen_VirtualSystemSettingData localhost:5988/root/virt:CIM_IdentityContext localhost:5988/root/virt:CIM_DiagnosticRecord localhost:5988/root/virt:CIM_BGPRouteMapsInRoutingPolicy localhost:5988/root/virt:CIM_RelatedElementCausingError localhost:5988/root/virt:CIM_VirtualSystemSettingData localhost:5988/root/virt:KVM_VirtualSystemSettingData localhost:5988/root/virt:PRS_ProductComponent localhost:5988/root/virt:CIM_SAEndpointRefreshSettings localhost:5988/root/virt:CIM_ElementFRU localhost:5988/root/virt:CIM_PolicyConditionStructure localhost:5988/root/virt:CIM_J2eeJCANonpooledConnections localhost:5988/root/virt:LXC_HostedDependency localhost:5988/root/virt:CIM_InstalledProductImage localhost:5988/root/virt:CIM_StorageCapabilities localhost:5988/root/virt:LXC_VirtualSystemSettingData localhost:5988/root/virt:CIM_BGPStatistics localhost:5988/root/virt:CIM_UnixDeviceFile localhost:5988/root/virt:CIM_AuthorizationTarget localhost:5988/root/virt:CIM_Credential localhost:5988/root/virt:CIM_J2eeJavaMailStats localhost:5988/root/virt:CIM_ESPTransform localhost:5988/root/virt:CIM_PackageInConnector localhost:5988/root/virt:CIM_CollectedSoftwareElements localhost:5988/root/virt:CIM_GatewayPathID localhost:5988/root/virt:CIM_KerberosTicket localhost:5988/root/virt:CIM_PolicyGroup localhost:5988/root/virt:CIM_CardOnCard localhost:5988/root/virt:CIM_BaseMetricDefinition localhost:5988/root/virt:CIM_DNSGeneralSettingData localhost:5988/root/virt:CIM_StorageHardwareID localhost:5988/root/virt:CIM_StorageClientSettingData localhost:5988/root/virt:CIM_VideoBIOSElement localhost:5988/root/virt:LXC_ElementConformsToProfile localhost:5988/root/virt:PRS_ContactContactItem localhost:5988/root/virt:CIM_ProductProductDependency localhost:5988/root/virt:CIM_InstDeletion localhost:5988/root/virt:CIM_DiagnosticResult localhost:5988/root/virt:CIM_ProtocolControllerMaskingCapabilities localhost:5988/root/virt:CIM_AuthorizedSubject localhost:5988/root/virt:CIM_AbstractIndicationSubscription localhost:5988/root/virt:CIM_MetricForME localhost:5988/root/virt:CIM_SettingsDefineState localhost:5988/root/virt:CIM_PackageInChassis localhost:5988/root/virt:CIM_OtherRoleInformation localhost:5988/root/virt:CIM_EthernetPortStatistics localhost:5988/root/virt:CIM_BGPPathAttributes localhost:5988/root/virt:CIM_MediaAccessStatData localhost:5988/root/virt:CIM_SharedSecretAuthentication localhost:5988/root/virt:KVM_SettingsDefineState localhost:5988/root/virt:CIM_CollectedMSEs localhost:5988/root/virt:CIM_iSCSICapabilities localhost:5988/root/virt:PRS_SolutionElement localhost:5988/root/virt:PRS_Reference localhost:5988/root/virt:CIM_DeviceStatisticalInformation localhost:5988/root/virt:CIM_SubUoWDef localhost:5988/root/virt:PRS_ResolutionResource localhost:5988/root/virt:CIM_IPHeadersFilter localhost:5988/root/virt:CIM_DirectoryContainsFile localhost:5988/root/virt:CIM_MemoryWithMedia localhost:5988/root/virt:KVM_HostedDependency localhost:5988/root/virt:CIM_PolicySetInRoleCollection localhost:5988/root/virt:CIM_PolicyComponent localhost:5988/root/virt:CIM_StatisticalInformation localhost:5988/root/virt:CIM_PhysicalPackage localhost:5988/root/virt:CIM_AssociatedBlockStatisticsManifestCollection localhost:5988/root/virt:PRS_SolutionCategory localhost:5988/root/virt:CIM_LinkHasConnector localhost:5988/root/virt:CIM_SwitchPortStatistics localhost:5988/root/virt:CIM_IPAddressRange localhost:5988/root/virt:CIM_BGPRouteMap localhost:5988/root/virt:CIM_SystemStatisticalInformation localhost:5988/root/virt:CIM_LANConnectivitySegment localhost:5988/root/virt:CIM_AccessControlInformation localhost:5988/root/virt:CIM_ParticipatesInSet localhost:5988/root/virt:CIM_PhysicalFrame localhost:5988/root/virt:CIM_MediaAccessStatInfo localhost:5988/root/virt:CIM_IndicationFilter localhost:5988/root/virt:CIM_PhysicalCredentialAuthentication localhost:5988/root/virt:CIM_SpanningTreeStatistics localhost:5988/root/virt:CIM_LogicalIdentity localhost:5988/root/virt:Xen_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_StaticForwardingEntry localhost:5988/root/virt:PRS_ContactItem localhost:5988/root/virt:CIM_FilterEntry localhost:5988/root/virt:CIM_ManagedElement localhost:5988/root/virt:Xen_SettingsDefineCapabilities localhost:5988/root/virt:CIM_LabelReaderStatData localhost:5988/root/virt:CIM_SoftwareFeature localhost:5988/root/virt:CIM_UoWDefTraceLevelType localhost:5988/root/virt:CIM_ClassDeletion localhost:5988/root/virt:CIM_MoreRoleInfo localhost:5988/root/virt:CIM_ConfigurationComponent localhost:5988/root/virt:CIM_MemoryError localhost:5988/root/virt:CIM_StatisticalRuntimeOverview localhost:5988/root/virt:CIM_J2eeConnectionStats localhost:5988/root/virt:Xen_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_StorageSetting localhost:5988/root/virt:CIM_TransformOfPreconfiguredAction localhost:5988/root/virt:CIM_Component localhost:5988/root/virt:CIM_KerberosAuthentication localhost:5988/root/virt:CIM_LabelReaderStatInfo localhost:5988/root/virt:CIM_ConnectedTo localhost:5988/root/virt:CIM_SNMPDatabaseParameter localhost:5988/root/virt:CIM_MemberOfCollection localhost:5988/root/virt:CIM_J2eeJMSConnectionSessions localhost:5988/root/virt:CIM_StatusCollection localhost:5988/root/virt:CIM_ProductSoftwareComponent localhost:5988/root/virt:CIM_StorageConfigurationCapabilities localhost:5988/root/virt:PRS_Expression localhost:5988/root/virt:CIM_CommonDatabaseSettingData localhost:5988/root/virt:CIM_FCSwitchSettings localhost:5988/root/virt:CIM_BIOSElement localhost:5988/root/virt:CIM_J2eeConnectionPoolStats localhost:5988/root/virt:CIM_BGPPeerUsesRouteMap ============================================================================
Do these contain clues to solve?
Works for me. Toshifumi Fujimura.
What is the output of
wbemcli ecn http://root:pass@localhost:5988/root/virt
Thanks and Regards, Deepti.
Toshifumi Fujimura wrote:
Thanks for your reply.
Currently, WBEM Client works for getting CIM_OperatingSystem. But not for getting KVM_ComputerSystem. (I attach the wbemcli output.) ========================================================================
[root@localhost ~]# wbemcli ei 'http://user:pass@localhost:5988/root/cimv2:cim_operatingsystem' localhost:5988/root/cimv2:PG_OperatingSystem.CreationClassName="CIM_OperatingSystem",CSCreationClassName="CIM_UnitaryComputerSystem",
CSName="localhost.localdomain",Name="Fedora" CSCreationClassName="CIM_UnitaryComputerSystem",CSName="localhost.localdomain",
CreationClassName="CIM_OperatingSystem",Name="Fedora",Caption="Fedora release 9.92 (Rawhide)",Description="Fedora release 9.92 (Rawhide)", Status="Unknown",OSType=36,OtherTypeDescription="2.6.27.3-27.rc1.fc10.i686.PAE
#1 SMP Sat Oct 18 20:27:11 EDT 2008",Version="2.6.27.3-27.rc1.fc10.i686.PAE", LastBootUpTime=20081022122916.000000+540,LocalDateTime=20081022171753.000000+540,CurrentTimeZone=540,NumberOfLicensedUsers=0,NumberOfUsers=5,NumberOfProcesses=166,
MaxNumberOfProcesses=196608,TotalSwapSpaceSize=4095992,TotalVirtualMemorySize=8233000,FreeVirtualMemory=4095992,FreePhysicalMemory=3384328,TotalVisibleMemorySize=4137008,
MaxProcessMemorySize=4095992,Distributed=FALSE,MaxProcessesPerUser=196608,SystemUpTime=17317,OperatingSystemCapability="32
bit"
[root@localhost ~]# wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem * * wbemcli: Cim: (5) CIM_ERR_INVALID_CLASS: KVM_ComputerSystem * ========================================================================
Anyway cimxxxxx shows Virt_xxx class. (I attach the "cimprovider -l" output.) ========================================================================
[root@localhost ~]# cimprovider -l OperatingSystemModule ComputerSystemModule ProcessModule Virt_AllocationCapabilities Virt_ComputerSystem Virt_ComputerSystemIndication Virt_ComputerSystemMigrationIndication Virt_ConcreteComponent Virt_ConsoleRedirectionService Virt_ConsoleRedirectionServiceCapabilities Virt_Device Virt_DevicePool Virt_ElementAllocatedFromPool Virt_ElementCapabilities Virt_ElementConformsToProfile Virt_ElementSettingData Virt_EnabledLogicalElementCapabilities Virt_HostedDependency Virt_HostedResourcePool Virt_HostedService Virt_HostSystem Virt_RASD Virt_ReferencedProfile Virt_RegisteredProfile Virt_ResourceAllocationFromPool Virt_ResourcePoolConfigurationCapabilities Virt_ResourcePoolConfigurationService Virt_ServiceAffectsElement Virt_SettingsDefineCapabilities Virt_SettingsDefineState Virt_SystemDevice Virt_VirtualSystemManagementCapabilities Virt_VirtualSystemManagementService Virt_VirtualSystemSnapshotService Virt_VirtualSystemSnapshotServiceCapabilities Virt_VSMigrationCapabilities Virt_VSMigrationService Virt_VSMigrationSettingData Virt_VSSD Virt_VSSDComponent ========================================================================
From these, I guess libvirt-cim provider is not connected properly. Would you give me an advice to investigate it.
Thanks
Toshifumi Fujimura.
Kaitlin Rupert wrote:
Toshifumi Fujimura wrote:
I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider.
I re-installed Libvirt-CIM package. And I made sure that with Pegasus's command "cimprovider -s -l".
You can check to make sure the providers are properly installed by running the following command. Replace user:pass with the username and password of the user that has CIM query rights.
The convention is to use the root user or the pegasus user, but you can use any user since you've modified /etc/Pegasus/access.conf to allow all users.
wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem
This should return something like the following:
localhost:5988/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="demo2"
When you run cimtest, you'll need to run the command as root and pass in the root username / password (this will need to be fixed in the future).
CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -d -v KVM
But following error messages didn't disappear. ============================================================== -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: FAIL ERROR - Failed to enumerate the class of KVM_AllocationCapabilities ERROR - Unauthorized ERROR - Only 0 pools returned, expected at least 4 -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL ERROR - AuthError : Unauthorized Traceback (most recent call last): File "./lib/XenKvmLib/const.py", line 116, in do_try File "02_alloccap_gi_errs.py", line 109, in main expr_values=exp['invalid_keyvalue'], bug_no="") File "./lib/XenKvmLib/common_util.py", line 264, in try_getinstance File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 464, in GetInstance **params) File "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", line 181, in imethodcall verify_callback = self.verify_callback) File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", line 226, in wbem_request raise AuthError(response.reason) AuthError: Unauthorized ERROR - None -------------------------------------------------------------------- ============================================================== Would you have any more suggestion of this messages?
This error is because pywbem is unable to authenticate with Pegasus. Be sure the following query works (change pass to the proper password):
wbemcli ein http://root:pass@localhost:5988/root/virt:KVM_ComputerSystem
Hope this helps! =)
You can also verify if the required providers are installed by using the following query:
wbemcli ecn http://root:pass@localhost:5988/root/virt
The above query will report all the providers registered with the /root/virt namespace. you can use the same query replacing the above /root/virt with other namespace like /root/interop to know the providers registered in that particular namespace.
Regards, Deepti.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Thanks Mr or Ms Deepti B Kalakeri and Mr or Ms Kaitlin Rupert. I tryed to regist CIM schema for Libvirt-CIM as your advice. On "make postinstall",I met this error message. ======================================================================================= Registering providers with active cimserver Parsing error: parse error: Error adding class Xen_KVMRedirectionSAP to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_KVMRedirectionSAP make: *** [postinstall] Error 250 ======================================================================================= I think the superclasses "CIM_KVMRedirectionSAP","CIM_ERR_INVALID_SUPERCLASS" don't exist in my cimserver. How can I add those classes? Works for me. Toshifumi Fujimura.
From the o/p what you have given you do not have KVM_ComputerSystem registered and that is why you are not able to get the records when you query with KVM_ComputerSystem. When required you can use the following to verify if a particular provider is registered by using
wbemcli ecn http://root:pass@localhost:5988/root/virt | grep KVM_ComputerSystem
In your libvirt-cim directory, run the following:
sudo make preuninstall sudo make preinstall sudo make postinstall
Then restart Pegasus.
The following query: wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem might not return any records if you don't have any guests defined.
In that case, you can also try:
http://user:pass@localhost:5988/root/virt:KVM_VirtualSystemManagementService
That should always return an instance.
Thanks and Regards, Deepti.
Toshifumi Fujimura wrote:
Thanks for your reply.
These are its command's outputs. ============================================================================
localhost:5988/root/virt:CIM_ConcreteIdentity localhost:5988/root/virt:CIM_NetworkPacketAction localhost:5988/root/virt:CIM_MemberOfStatusCollection localhost:5988/root/virt:CIM_Collection localhost:5988/root/virt:CIM_IndicationHandler localhost:5988/root/virt:CIM_MetricDefForME localhost:5988/root/virt:CIM_PackageLocation localhost:5988/root/virt:CIM_OSPFServiceCapabilities localhost:5988/root/virt:CIM_BaseMetricValue localhost:5988/root/virt:CIM_ReplaceableProductFRU localhost:5988/root/virt:CIM_J2eeJMSConnectionStats localhost:5988/root/virt:CIM_PrioritySchedulingElement localhost:5988/root/virt:CIM_PhysicalComponent localhost:5988/root/virt:PRS_Person localhost:5988/root/virt:CIM_PublicKeyCertificate localhost:5988/root/virt:CIM_FileIdentity localhost:5988/root/virt:CIM_IPsecTransportAction localhost:5988/root/virt:CIM_iSCSISessionFailures localhost:5988/root/virt:CIM_UoWMetricDefinition localhost:5988/root/virt:PRS_SolutionHasElement localhost:5988/root/virt:CIM_ElementCapabilities localhost:5988/root/virt:CIM_IPCOMPTransform localhost:5988/root/virt:CIM_FilterList localhost:5988/root/virt:CIM_UnsignedPublicKey localhost:5988/root/virt:CIM_Setting localhost:5988/root/virt:CIM_IPSubnet localhost:5988/root/virt:CIM_ProductElementComponent localhost:5988/root/virt:CIM_StatisticsCapabilities localhost:5988/root/virt:CIM_TraceLevelType localhost:5988/root/virt:CIM_InstRead localhost:5988/root/virt:CIM_PreconfiguredSAAction localhost:5988/root/virt:CIM_Person localhost:5988/root/virt:PRS_ServiceRequester localhost:5988/root/virt:KVM_ElementCapabilities localhost:5988/root/virt:PRS_ServiceAgreement localhost:5988/root/virt:PRS_ExchangeElement localhost:5988/root/virt:CIM_FCPortRateStatistics localhost:5988/root/virt:CIM_CollectedBufferPool localhost:5988/root/virt:LXC_RegisteredProfile localhost:5988/root/virt:CIM_RedundancySetSettingData localhost:5988/root/virt:CIM_ElementProfile localhost:5988/root/virt:CIM_StorageError localhost:5988/root/virt:CIM_SubUoW localhost:5988/root/virt:PRS_SolutionResolution localhost:5988/root/virt:CIM_J2eeJMSSessionStats localhost:5988/root/virt:CIM_AuthenticationCondition localhost:5988/root/virt:CIM_FormattedIndicationSubscription localhost:5988/root/virt:CIM_TimeZone localhost:5988/root/virt:CIM_BufferPool localhost:5988/root/virt:CIM_AuthorizedTarget localhost:5988/root/virt:CIM_SharedSecret localhost:5988/root/virt:CIM_InstModification localhost:5988/root/virt:CIM_LogicalElementUnitOfWorkDef localhost:5988/root/virt:CIM_ProductFRU localhost:5988/root/virt:CIM_Statistics localhost:5988/root/virt:CIM_OrderedComponent localhost:5988/root/virt:CIM_InstMethodCall localhost:5988/root/virt:CIM_PolicyConditionInPolicyRule localhost:5988/root/virt:CIM_BlockStatisticsManifest localhost:5988/root/virt:CIM_SoftwareIdentityComponent localhost:5988/root/virt:PRS_Address localhost:5988/root/virt:CIM_Container localhost:5988/root/virt:CIM_BlockStatisticsManifestCollection localhost:5988/root/virt:CIM_IKEAction localhost:5988/root/virt:Xen_SettingsDefineState localhost:5988/root/virt:LXC_SettingsDefineState localhost:5988/root/virt:CIM_AccountMapsToAccount localhost:5988/root/virt:CIM_iSCSILoginStatistics localhost:5988/root/virt:CIM_MetricInstance localhost:5988/root/virt:Xen_RegisteredProfile localhost:5988/root/virt:CIM_DocumentAuthentication localhost:5988/root/virt:CIM_CollectionSetting localhost:5988/root/virt:CIM_Indication localhost:5988/root/virt:CIM_ScopedSettingData localhost:5988/root/virt:CIM_OSPFLink localhost:5988/root/virt:CIM_FileSystemSettingData localhost:5988/root/virt:CIM_DNSSettingData localhost:5988/root/virt:CIM_StatisticalData localhost:5988/root/virt:CIM_J2eeSessionBeanStats localhost:5988/root/virt:CIM_SystemInNamespace localhost:5988/root/virt:CIM_ElementCapacity localhost:5988/root/virt:CIM_CollectionConfiguration localhost:5988/root/virt:CIM_DeviceErrorData localhost:5988/root/virt:CIM_RegisteredProfile localhost:5988/root/virt:CIM_PolicyGroupInPolicyGroup localhost:5988/root/virt:KVM_RegisteredProfile localhost:5988/root/virt:CIM_NextHopIPRoute localhost:5988/root/virt:CIM_MoreOrgUnitInfo localhost:5988/root/virt:CIM_SoftwareIdentity localhost:5988/root/virt:CIM_OrgUnit localhost:5988/root/virt:CIM_ProductSoftwareFeatures localhost:5988/root/virt:CIM_IPConnectivitySubnet localhost:5988/root/virt:CIM_ContainedLocation localhost:5988/root/virt:CIM_SettingAssociatedToCapabilities localhost:5988/root/virt:CIM_ProductParentChild localhost:5988/root/virt:PRS_Resource localhost:5988/root/virt:CIM_SystemConfiguration localhost:5988/root/virt:PRS_Organization localhost:5988/root/virt:PRS_ProductParentChild localhost:5988/root/virt:CIM_Namespace localhost:5988/root/virt:Xen_ComputerSystemMigrationJobModifiedIndication
localhost:5988/root/virt:PRS_StatementFeature localhost:5988/root/virt:CIM_ContainedProposal localhost:5988/root/virt:CIM_CollectionOfMSEs localhost:5988/root/virt:CIM_J2eeJCAConnectionPools localhost:5988/root/virt:CIM_BlockStatisticsCapabilities localhost:5988/root/virt:CIM_PolicyConditionInPolicyCondition localhost:5988/root/virt:Xen_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:CIM_UnitOfWorkDefinition localhost:5988/root/virt:CIM_CollectionInOrganization localhost:5988/root/virt:CIM_SoftwareInstallationServiceCapabilities localhost:5988/root/virt:CIM_StorageSynchronized localhost:5988/root/virt:CIM_SystemBusCard localhost:5988/root/virt:CIM_SubProfileRequiresProfile localhost:5988/root/virt:CIM_ZoneMembershipSettingData localhost:5988/root/virt:CIM_FRUIncludesProduct localhost:5988/root/virt:CIM_J2eeJMSSessionProducers localhost:5988/root/virt:CIM_StorageReplicationCapabilities localhost:5988/root/virt:CIM_PackageInSlot localhost:5988/root/virt:CIM_OwningCollectionElement localhost:5988/root/virt:LXC_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:LXC_ComputerSystemMigrationJobModifiedIndication
localhost:5988/root/virt:CIM_ElementLocation localhost:5988/root/virt:CIM_J2eeStatelessSessionBeanStats localhost:5988/root/virt:KVM_ComputerSystemMigrationJobCreatedIndication localhost:5988/root/virt:PRS_ServiceActivity localhost:5988/root/virt:CIM_Directory localhost:5988/root/virt:CIM_Group localhost:5988/root/virt:CIM_SystemSettingContext localhost:5988/root/virt:CIM_OtherPersonInformation localhost:5988/root/virt:CIM_PolicySet localhost:5988/root/virt:CIM_DiagnosticResultForMSE localhost:5988/root/virt:CIM_J2eeJMSSessionConsumers localhost:5988/root/virt:CIM_CompatibleProduct localhost:5988/root/virt:CIM_AccountAuthentication localhost:5988/root/virt:CIM_CompoundPolicyCondition localhost:5988/root/virt:CIM_UsersCredential localhost:5988/root/virt:CIM_PreconfiguredTunnelAction localhost:5988/root/virt:CIM_SAProposal localhost:5988/root/virt:PRS_ServiceIncident localhost:5988/root/virt:CIM_VideoControllerResolution localhost:5988/root/virt:CIM_PreconfiguredTransportAction localhost:5988/root/virt:CIM_SystemSetting localhost:5988/root/virt:CIM_PhysicalElementLocation localhost:5988/root/virt:CIM_DiagnosticSetting localhost:5988/root/virt:CIM_SARule localhost:5988/root/virt:CIM_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_InstIndication localhost:5988/root/virt:CIM_CIMOMStatisticalData localhost:5988/root/virt:CIM_Hdr8021Filter localhost:5988/root/virt:CIM_PolicySetComponent localhost:5988/root/virt:CIM_RejectConnectionAction localhost:5988/root/virt:CIM_PhysicalMemory localhost:5988/root/virt:Xen_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_CollectedSoftwareFeatures localhost:5988/root/virt:CIM_FilterOfPacketCondition localhost:5988/root/virt:PRS_Revision localhost:5988/root/virt:CIM_PolicyActionStructure localhost:5988/root/virt:KVM_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_J2eeServletStats localhost:5988/root/virt:CIM_X509CredentialFilterEntry localhost:5988/root/virt:CIM_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_LogRecord localhost:5988/root/virt:CIM_DiagnosticCompletionRecord localhost:5988/root/virt:LXC_ComputerSystemCreatedIndication localhost:5988/root/virt:CIM_ConnectivityMembershipSettingData localhost:5988/root/virt:CIM_RangeOfIPAddresses localhost:5988/root/virt:CIM_FRUIncludesSoftwareFeature localhost:5988/root/virt:CIM_SupportAccess localhost:5988/root/virt:CIM_AuthenticationTarget localhost:5988/root/virt:CIM_IndicationHandlerCIMXML localhost:5988/root/virt:CIM_AuthorizedPrivilege localhost:5988/root/virt:CIM_MemoryOnCard localhost:5988/root/virt:CIM_UsersAccount localhost:5988/root/virt:CIM_IPsecProposal localhost:5988/root/virt:CIM_FibrePortEventCounters localhost:5988/root/virt:CIM_Chassis localhost:5988/root/virt:PRS_ActivityResource localhost:5988/root/virt:CIM_UoWMetric localhost:5988/root/virt:CIM_CollectedCollections localhost:5988/root/virt:CIM_UserContact localhost:5988/root/virt:PRS_AdministrativeContact localhost:5988/root/virt:CIM_J2eeJDBCConnectionPools localhost:5988/root/virt:CIM_Spared localhost:5988/root/virt:CIM_ElementConfiguration localhost:5988/root/virt:CIM_Location localhost:5988/root/virt:Xen_AllocationCapabilities localhost:5988/root/virt:CIM_Capabilities localhost:5988/root/virt:CIM_MonitorResolution localhost:5988/root/virt:CIM_DiagnosticServiceRecord localhost:5988/root/virt:CIM_PhysicalStatisticalInformation localhost:5988/root/virt:CIM_ExtraCapacityGroup localhost:5988/root/virt:CIM_BlockStorageStatisticalData localhost:5988/root/virt:PRS_Attachment localhost:5988/root/virt:CIM_DiagnosticSettingRecord localhost:5988/root/virt:CIM_SystemIdentification localhost:5988/root/virt:CIM_UnitOfWork localhost:5988/root/virt:CIM_AffectedJobElement localhost:5988/root/virt:CIM_NamedSharedIKESecret localhost:5988/root/virt:CIM_SAPStatisticalInformation localhost:5988/root/virt:PRS_FeatureResource localhost:5988/root/virt:CIM_StorageRedundancySet localhost:5988/root/virt:PRS_Feature localhost:5988/root/virt:CIM_PhysicalMedia localhost:5988/root/virt:CIM_Magazine localhost:5988/root/virt:CIM_J2eeStatefulSessionBeanStats localhost:5988/root/virt:CIM_BIOSFeatureBIOSElements localhost:5988/root/virt:PRS_ExpressionElement localhost:5988/root/virt:CIM_LANSegment localhost:5988/root/virt:CIM_NextHopRouting localhost:5988/root/virt:CIM_SpareGroup localhost:5988/root/virt:CIM_HomeForMedia localhost:5988/root/virt:PRS_Activity localhost:5988/root/virt:PRS_SolutionProblem localhost:5988/root/virt:CIM_DataFile localhost:5988/root/virt:CIM_MethodParameters localhost:5988/root/virt:CIM_FCPortStatistics localhost:5988/root/virt:KVM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_CommonDatabaseStatistics localhost:5988/root/virt:CIM_OwningJobElement localhost:5988/root/virt:CIM_TransparentBridgingStatistics localhost:5988/root/virt:CIM_StatisticalSetting localhost:5988/root/virt:CIM_RoutingPolicy localhost:5988/root/virt:CIM_RedundancyComponent localhost:5988/root/virt:CIM_RangesOfConfiguration localhost:5988/root/virt:CIM_NetworkPortStatistics localhost:5988/root/virt:CIM_MemberPrincipal localhost:5988/root/virt:CIM_LocalizationCapabilities localhost:5988/root/virt:Xen_ElementSettingData localhost:5988/root/virt:CIM_ElementSettingData localhost:5988/root/virt:CIM_J2eeJDBCNonpooledConnections localhost:5988/root/virt:CIM_ConnectivityCollection localhost:5988/root/virt:CIM_PhysicalMediaInLocation localhost:5988/root/virt:LXC_ElementSettingData localhost:5988/root/virt:KVM_ElementSettingData localhost:5988/root/virt:CIM_AllocationCapabilities localhost:5988/root/virt:CIM_DeviceFile localhost:5988/root/virt:CIM_DatabaseSegmentSettingData localhost:5988/root/virt:CIM_PolicyRoleCollection localhost:5988/root/virt:CIM_NetworkPortSettings localhost:5988/root/virt:CIM_RedundancySetCapabilities localhost:5988/root/virt:CIM_StorageMediaLocation localhost:5988/root/virt:CIM_IPsecTunnelAction localhost:5988/root/virt:CIM_ChassisInRack localhost:5988/root/virt:CIM_SAStaticAction localhost:5988/root/virt:CIM_IPRoute localhost:5988/root/virt:CIM_LogicalElementPerformsUoW localhost:5988/root/virt:CIM_ComputerSystemNodeCapabilities localhost:5988/root/virt:CIM_PreambleFilter localhost:5988/root/virt:CIM_J2eeMessageDrivenBeanStats localhost:5988/root/virt:PRS_ContactPerson localhost:5988/root/virt:CIM_Account localhost:5988/root/virt:PRS_AdminAssociation localhost:5988/root/virt:PRS_SolutionReference localhost:5988/root/virt:CIM_Dependency localhost:5988/root/virt:CIM_EntriesInFilterList localhost:5988/root/virt:CIM_SymbolicLink localhost:5988/root/virt:CIM_ProductPhysicalComponent localhost:5988/root/virt:CIM_VendorPolicyCondition localhost:5988/root/virt:CIM_DiagnosticResultInPackage localhost:5988/root/virt:CIM_AuthorizationSubject localhost:5988/root/virt:CIM_LogicalPortSettings localhost:5988/root/virt:CIM_SwitchPortSpanningTreeStatistics localhost:5988/root/virt:Xen_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_BGPCluster localhost:5988/root/virt:CIM_IndicationSubscription localhost:5988/root/virt:PRS_AdministrativeRevision localhost:5988/root/virt:CIM_RecordAppliesToElement localhost:5988/root/virt:LXC_SettingsDefineCapabilities localhost:5988/root/virt:PRS_Categorization localhost:5988/root/virt:CIM_ElementsLinked localhost:5988/root/virt:CIM_LogicalFile localhost:5988/root/virt:CIM_StorageNameBinding localhost:5988/root/virt:PRS_SolutionExpression localhost:5988/root/virt:CIM_StatisticsCollection localhost:5988/root/virt:KVM_AllocationCapabilities localhost:5988/root/virt:CIM_NamedAddressCollection localhost:5988/root/virt:CIM_FilterEntryBase localhost:5988/root/virt:CIM_RelatedStatistics localhost:5988/root/virt:CIM_PolicyAction localhost:5988/root/virt:CIM_AuthenticationRule localhost:5988/root/virt:CIM_ZoneCapabilities localhost:5988/root/virt:CIM_J2eeJDBCStats localhost:5988/root/virt:CIM_ProcessIndication localhost:5988/root/virt:CIM_PolicyTimePeriodCondition localhost:5988/root/virt:CIM_ElementInPolicyRoleCollection localhost:5988/root/virt:LXC_AllocationCapabilities localhost:5988/root/virt:CIM_SettingsAffectSettings localhost:5988/root/virt:CIM_StaticIPAssignmentSettingData localhost:5988/root/virt:CIM_StartedUoW localhost:5988/root/virt:CIM_SAAction localhost:5988/root/virt:CIM_IPXNetwork localhost:5988/root/virt:CIM_J2eeJMSProducerStats localhost:5988/root/virt:CIM_DiskGroup localhost:5988/root/virt:CIM_IPSOFilterEntry localhost:5988/root/virt:CIM_LogicalPortCapabilities localhost:5988/root/virt:CIM_CompoundPolicyAction localhost:5988/root/virt:CIM_AlertInstIndication localhost:5988/root/virt:CIM_TimeZoneSettingData localhost:5988/root/virt:PRS_AddressLocation localhost:5988/root/virt:CIM_J2eeManagedObjectCapabilities localhost:5988/root/virt:CIM_InstalledProduct localhost:5988/root/virt:CIM_VendorPolicyAction localhost:5988/root/virt:CIM_DatabaseResourceStatistics localhost:5988/root/virt:PRS_Agreement localhost:5988/root/virt:PRS_Solution localhost:5988/root/virt:CIM_SATransform localhost:5988/root/virt:CIM_AdministrativeDistance localhost:5988/root/virt:CIM_Privilege localhost:5988/root/virt:CIM_AHTransform localhost:5988/root/virt:CIM_PolicyRuleValidityPeriod localhost:5988/root/virt:CIM_OrderedDependency localhost:5988/root/virt:CIM_ElementSoftwareIdentity localhost:5988/root/virt:CIM_SecuritySensitivity localhost:5988/root/virt:CIM_PhysicalLink localhost:5988/root/virt:CIM_ManagedSystemElement localhost:5988/root/virt:CIM_VideoBIOSFeature localhost:5988/root/virt:CIM_BoundedPrioritySchedulingElement localhost:5988/root/virt:CIM_AGPSoftwareFeature localhost:5988/root/virt:CIM_PhysicalTape localhost:5988/root/virt:CIM_iSCSIConnectionSettings localhost:5988/root/virt:CIM_ClassModification localhost:5988/root/virt:CIM_ElementAsUser localhost:5988/root/virt:CIM_StorageSettingWithHints localhost:5988/root/virt:PRS_Statement localhost:5988/root/virt:CIM_DatabaseServiceStatistics localhost:5988/root/virt:CIM_RedundancyGroup localhost:5988/root/virt:CIM_iSCSISessionSettings localhost:5988/root/virt:LXC_ConcreteComponent localhost:5988/root/virt:CIM_ActsAsSpare localhost:5988/root/virt:CIM_PolicyRuleInPolicyGroup localhost:5988/root/virt:CIM_IPsecAction localhost:5988/root/virt:CIM_GroupInDiskGroup localhost:5988/root/virt:CIM_OrgStructure localhost:5988/root/virt:PRS_Transaction localhost:5988/root/virt:CIM_SoftwareElementComponent localhost:5988/root/virt:CIM_SwitchPortTransparentBridgingStatistics localhost:5988/root/virt:CIM_J2eeJMSConsumerStats localhost:5988/root/virt:KVM_SettingsDefineCapabilities localhost:5988/root/virt:CIM_SettingContext localhost:5988/root/virt:CIM_SoftwareFeatureComponent localhost:5988/root/virt:CIM_LogicalPortGroup localhost:5988/root/virt:CIM_SettingsDefineCapabilities localhost:5988/root/virt:CIM_SchedulingElement localhost:5988/root/virt:CIM_PolicyCondition localhost:5988/root/virt:CIM_MediaPhysicalStatData localhost:5988/root/virt:CIM_FCAdapterEventCounters localhost:5988/root/virt:CIM_HostedDependency localhost:5988/root/virt:CIM_OrganizationalEntity localhost:5988/root/virt:CIM_SCSIMultipathSettings localhost:5988/root/virt:CIM_FCSwitchCapabilities localhost:5988/root/virt:CIM_ConfigurationCapacity localhost:5988/root/virt:CIM_ScopedSetting localhost:5988/root/virt:CIM_FRUPhysicalElements localhost:5988/root/virt:CIM_UnixDirectory localhost:5988/root/virt:CIM_AuthenticationRequirement localhost:5988/root/virt:CIM_ElementStatisticalData localhost:5988/root/virt:CIM_PhysicalStatistics localhost:5988/root/virt:CIM_PickerStatData localhost:5988/root/virt:CIM_BGPEndpointStatistics localhost:5988/root/virt:CIM_J2eeNotification localhost:5988/root/virt:LXC_ReferencedProfile localhost:5988/root/virt:CIM_PhysicalElement localhost:5988/root/virt:CIM_UsersAccess localhost:5988/root/virt:CIM_StorageSettingsGeneratedFromCapabilities localhost:5988/root/virt:CIM_PublicPrivateKeyAuthentication localhost:5988/root/virt:CIM_NextHopRoute localhost:5988/root/virt:PRS_Category localhost:5988/root/virt:CIM_SystemSpecificCollection localhost:5988/root/virt:CIM_J2eeJMSEndpointStats localhost:5988/root/virt:CIM_DiagnosticServiceCapabilities localhost:5988/root/virt:CIM_PublicPrivateKeyPair localhost:5988/root/virt:CIM_PickerStatInfo localhost:5988/root/virt:PRS_Resolution localhost:5988/root/virt:PRS_ServiceResolutionSolution localhost:5988/root/virt:CIM_MediaPhysicalStatInfo localhost:5988/root/virt:CIM_InstCreation localhost:5988/root/virt:CIM_TokenRingPortStatistics localhost:5988/root/virt:CIM_ReferencedProfile localhost:5988/root/virt:CIM_PrintJob localhost:5988/root/virt:CIM_ElementSetting localhost:5988/root/virt:KVM_ReferencedProfile localhost:5988/root/virt:CIM_PowerManagementCapabilities localhost:5988/root/virt:CIM_ProductComponent localhost:5988/root/virt:CIM_SoftwareFeatureSoftwareElements localhost:5988/root/virt:CIM_Docked localhost:5988/root/virt:CIM_DependencyContext localhost:5988/root/virt:CIM_PolicySetValidityPeriod localhost:5988/root/virt:CIM_ConcreteCollection localhost:5988/root/virt:CIM_OtherOrgUnitInformation localhost:5988/root/virt:CIM_WRRSchedulingElement localhost:5988/root/virt:CIM_VideoBIOSFeatureVideoBIOSElements localhost:5988/root/virt:CIM_FCPortCapabilities localhost:5988/root/virt:CIM_ProductSupport localhost:5988/root/virt:CIM_SoftwareElement localhost:5988/root/virt:Xen_HostedDependency localhost:5988/root/virt:CIM_OSPFAreaConfiguration localhost:5988/root/virt:CIM_OtherOrganizationInformation localhost:5988/root/virt:CIM_MemoryCapacity localhost:5988/root/virt:CIM_PackagedComponent localhost:5988/root/virt:CIM_J2eeJMSStatConnections localhost:5988/root/virt:CIM_PhysicalConnector localhost:5988/root/virt:CIM_FIFOPipeFile localhost:5988/root/virt:CIM_RecordForLog localhost:5988/root/virt:CIM_Card localhost:5988/root/virt:CIM_RelatedStatisticalData localhost:5988/root/virt:CIM_Role localhost:5988/root/virt:CIM_FRU localhost:5988/root/virt:CIM_Zone localhost:5988/root/virt:CIM_SAEndpointConnectionStatistics localhost:5988/root/virt:PRS_ExpressionLink localhost:5988/root/virt:CIM_UnixProcessStatisticalInformation localhost:5988/root/virt:CIM_AllocationSchedulingElement localhost:5988/root/virt:CIM_Organization localhost:5988/root/virt:PRS_ContactOrganization localhost:5988/root/virt:CIM_Rack localhost:5988/root/virt:CIM_PolicyRule localhost:5988/root/virt:CIM_Product localhost:5988/root/virt:PRS_Product localhost:5988/root/virt:CIM_MoreOrganizationInfo localhost:5988/root/virt:CIM_SNMPTrapIndication localhost:5988/root/virt:PRS_ServiceProblem localhost:5988/root/virt:CIM_ElementSecuritySensitivity localhost:5988/root/virt:CIM_ConnectorOnPackage localhost:5988/root/virt:CIM_PhysicalCapacity localhost:5988/root/virt:CIM_PeerIDPayloadFilterEntry localhost:5988/root/virt:Xen_ReferencedProfile localhost:5988/root/virt:CIM_NetworkingIDAuthentication localhost:5988/root/virt:CIM_Configuration localhost:5988/root/virt:CIM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_BIOSFeature localhost:5988/root/virt:CIM_ConfigurationData localhost:5988/root/virt:CIM_OrderedMemberOfCollection localhost:5988/root/virt:CIM_JobSettingData localhost:5988/root/virt:CIM_AssignedIdentity localhost:5988/root/virt:CIM_ThresholdIndication localhost:5988/root/virt:CIM_LogicalNetwork localhost:5988/root/virt:CIM_J2eeURLStats localhost:5988/root/virt:CIM_Synchronized localhost:5988/root/virt:CIM_DynamicForwardingEntry localhost:5988/root/virt:PRS_Problem localhost:5988/root/virt:CIM_Job localhost:5988/root/virt:PRS_Administrative localhost:5988/root/virt:CIM_DatabaseParameter localhost:5988/root/virt:LXC_EnabledLogicalElementCapabilities localhost:5988/root/virt:Xen_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:CIM_FilteredBGPAttributes localhost:5988/root/virt:CIM_Chip localhost:5988/root/virt:CIM_ReplacementFRU localhost:5988/root/virt:CIM_ListenerDestination localhost:5988/root/virt:CIM_CorrespondingSettingsRecord localhost:5988/root/virt:CIM_ReplacementSet localhost:5988/root/virt:PRS_ActivityTransaction localhost:5988/root/virt:LXC_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:KVM_ComputerSystemMigrationJobModifiedIndication
localhost:5988/root/virt:CIM_ElementHasBeenFRUed localhost:5988/root/virt:PRS_RevisionContact localhost:5988/root/virt:CIM_PacketFilterCondition localhost:5988/root/virt:KVM_ComputerSystemMigrationJobDeletedIndication localhost:5988/root/virt:CIM_BiometricAuthentication localhost:5988/root/virt:CIM_IKEProposal localhost:5988/root/virt:CIM_ConcreteComponent localhost:5988/root/virt:CIM_Slot localhost:5988/root/virt:CIM_ClassCreation localhost:5988/root/virt:KVM_ConcreteComponent localhost:5988/root/virt:CIM_Identity localhost:5988/root/virt:Xen_ComputerSystemModifiedIndication localhost:5988/root/virt:PRS_CategoryParentChild localhost:5988/root/virt:CIM_MoreGroupInfo localhost:5988/root/virt:CIM_ListsInRoutingPolicy localhost:5988/root/virt:CIM_DeviceErrorCounts localhost:5988/root/virt:KVM_ComputerSystemModifiedIndication localhost:5988/root/virt:CIM_PoweredStatisticalData localhost:5988/root/virt:LXC_ComputerSystemModifiedIndication localhost:5988/root/virt:LXC_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_Profile localhost:5988/root/virt:CIM_J2eeEJBStats localhost:5988/root/virt:CIM_IPNetworkIdentity localhost:5988/root/virt:CIM_CommonDatabaseCapabilities localhost:5988/root/virt:PRS_Contact localhost:5988/root/virt:CIM_FilterListsInBGPRouteMap localhost:5988/root/virt:CIM_ZoneSet localhost:5988/root/virt:CIM_MetricDefinition localhost:5988/root/virt:PRS_ActivityContact localhost:5988/root/virt:Xen_ConcreteComponent localhost:5988/root/virt:CIM_BGPPeerGroup localhost:5988/root/virt:CIM_SANegotiationAction localhost:5988/root/virt:CIM_Policy localhost:5988/root/virt:CIM_OtherGroupInformation localhost:5988/root/virt:CIM_PolicySetAppliesToElement localhost:5988/root/virt:LXC_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_ParameterValueSources localhost:5988/root/virt:CIM_LogicalElement localhost:5988/root/virt:CIM_J2eeJTAStats localhost:5988/root/virt:CIM_J2eeJCAStats localhost:5988/root/virt:CIM_ParametersForMethod localhost:5988/root/virt:CIM_J2eeJMSStats localhost:5988/root/virt:CIM_J2eeJVMStats localhost:5988/root/virt:CIM_J2eeStatistic localhost:5988/root/virt:PRS_ProductAsset localhost:5988/root/virt:KVM_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_UserEntity localhost:5988/root/virt:CIM_StorageRedundancyGroup localhost:5988/root/virt:CIM_IPAssignmentSettingData localhost:5988/root/virt:CIM_ClassIndication localhost:5988/root/virt:CIM_IPXConnectivityNetwork localhost:5988/root/virt:CIM_AccountIdentity localhost:5988/root/virt:Xen_ElementConformsToProfile localhost:5988/root/virt:PRS_ServiceProvider localhost:5988/root/virt:CIM_ElementConformsToProfile localhost:5988/root/virt:KVM_ElementConformsToProfile localhost:5988/root/virt:KVM_ComputerSystemDeletedIndication localhost:5988/root/virt:CIM_UnixFile localhost:5988/root/virt:CIM_SwitchPortSourceRoutingStatistics localhost:5988/root/virt:Xen_ComputerSystemDeletedIndication localhost:5988/root/virt:PRS_Attached localhost:5988/root/virt:CIM_CardInSlot localhost:5988/root/virt:CIM_ListenerDestinationCIMXML localhost:5988/root/virt:CIM_RedundancySet localhost:5988/root/virt:CIM_ServiceStatisticalInformation localhost:5988/root/virt:CIM_J2eeEntityBeanStats localhost:5988/root/virt:CIM_BGPAttributes localhost:5988/root/virt:PRS_ContactItemAddress localhost:5988/root/virt:CIM_AdjacentSlots localhost:5988/root/virt:KVM_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_SlotInSlot localhost:5988/root/virt:CIM_SettingData localhost:5988/root/virt:Xen_ElementCapabilities localhost:5988/root/virt:CIM_ProductPhysicalElements localhost:5988/root/virt:CIM_RegisteredSubProfile localhost:5988/root/virt:CIM_AlertIndication localhost:5988/root/virt:PRS_Location localhost:5988/root/virt:LXC_ElementCapabilities localhost:5988/root/virt:CIM_StorageSettingsAssociatedToCapabilities localhost:5988/root/virt:LXC_ComputerSystemDeletedIndication localhost:5988/root/virt:CIM_FileSystemCapabilities localhost:5988/root/virt:CIM_ConcreteDependency localhost:5988/root/virt:Xen_VirtualSystemSettingData localhost:5988/root/virt:CIM_IdentityContext localhost:5988/root/virt:CIM_DiagnosticRecord localhost:5988/root/virt:CIM_BGPRouteMapsInRoutingPolicy localhost:5988/root/virt:CIM_RelatedElementCausingError localhost:5988/root/virt:CIM_VirtualSystemSettingData localhost:5988/root/virt:KVM_VirtualSystemSettingData localhost:5988/root/virt:PRS_ProductComponent localhost:5988/root/virt:CIM_SAEndpointRefreshSettings localhost:5988/root/virt:CIM_ElementFRU localhost:5988/root/virt:CIM_PolicyConditionStructure localhost:5988/root/virt:CIM_J2eeJCANonpooledConnections localhost:5988/root/virt:LXC_HostedDependency localhost:5988/root/virt:CIM_InstalledProductImage localhost:5988/root/virt:CIM_StorageCapabilities localhost:5988/root/virt:LXC_VirtualSystemSettingData localhost:5988/root/virt:CIM_BGPStatistics localhost:5988/root/virt:CIM_UnixDeviceFile localhost:5988/root/virt:CIM_AuthorizationTarget localhost:5988/root/virt:CIM_Credential localhost:5988/root/virt:CIM_J2eeJavaMailStats localhost:5988/root/virt:CIM_ESPTransform localhost:5988/root/virt:CIM_PackageInConnector localhost:5988/root/virt:CIM_CollectedSoftwareElements localhost:5988/root/virt:CIM_GatewayPathID localhost:5988/root/virt:CIM_KerberosTicket localhost:5988/root/virt:CIM_PolicyGroup localhost:5988/root/virt:CIM_CardOnCard localhost:5988/root/virt:CIM_BaseMetricDefinition localhost:5988/root/virt:CIM_DNSGeneralSettingData localhost:5988/root/virt:CIM_StorageHardwareID localhost:5988/root/virt:CIM_StorageClientSettingData localhost:5988/root/virt:CIM_VideoBIOSElement localhost:5988/root/virt:LXC_ElementConformsToProfile localhost:5988/root/virt:PRS_ContactContactItem localhost:5988/root/virt:CIM_ProductProductDependency localhost:5988/root/virt:CIM_InstDeletion localhost:5988/root/virt:CIM_DiagnosticResult localhost:5988/root/virt:CIM_ProtocolControllerMaskingCapabilities localhost:5988/root/virt:CIM_AuthorizedSubject localhost:5988/root/virt:CIM_AbstractIndicationSubscription localhost:5988/root/virt:CIM_MetricForME localhost:5988/root/virt:CIM_SettingsDefineState localhost:5988/root/virt:CIM_PackageInChassis localhost:5988/root/virt:CIM_OtherRoleInformation localhost:5988/root/virt:CIM_EthernetPortStatistics localhost:5988/root/virt:CIM_BGPPathAttributes localhost:5988/root/virt:CIM_MediaAccessStatData localhost:5988/root/virt:CIM_SharedSecretAuthentication localhost:5988/root/virt:KVM_SettingsDefineState localhost:5988/root/virt:CIM_CollectedMSEs localhost:5988/root/virt:CIM_iSCSICapabilities localhost:5988/root/virt:PRS_SolutionElement localhost:5988/root/virt:PRS_Reference localhost:5988/root/virt:CIM_DeviceStatisticalInformation localhost:5988/root/virt:CIM_SubUoWDef localhost:5988/root/virt:PRS_ResolutionResource localhost:5988/root/virt:CIM_IPHeadersFilter localhost:5988/root/virt:CIM_DirectoryContainsFile localhost:5988/root/virt:CIM_MemoryWithMedia localhost:5988/root/virt:KVM_HostedDependency localhost:5988/root/virt:CIM_PolicySetInRoleCollection localhost:5988/root/virt:CIM_PolicyComponent localhost:5988/root/virt:CIM_StatisticalInformation localhost:5988/root/virt:CIM_PhysicalPackage localhost:5988/root/virt:CIM_AssociatedBlockStatisticsManifestCollection localhost:5988/root/virt:PRS_SolutionCategory localhost:5988/root/virt:CIM_LinkHasConnector localhost:5988/root/virt:CIM_SwitchPortStatistics localhost:5988/root/virt:CIM_IPAddressRange localhost:5988/root/virt:CIM_BGPRouteMap localhost:5988/root/virt:CIM_SystemStatisticalInformation localhost:5988/root/virt:CIM_LANConnectivitySegment localhost:5988/root/virt:CIM_AccessControlInformation localhost:5988/root/virt:CIM_ParticipatesInSet localhost:5988/root/virt:CIM_PhysicalFrame localhost:5988/root/virt:CIM_MediaAccessStatInfo localhost:5988/root/virt:CIM_IndicationFilter localhost:5988/root/virt:CIM_PhysicalCredentialAuthentication localhost:5988/root/virt:CIM_SpanningTreeStatistics localhost:5988/root/virt:CIM_LogicalIdentity localhost:5988/root/virt:Xen_EnabledLogicalElementCapabilities localhost:5988/root/virt:CIM_StaticForwardingEntry localhost:5988/root/virt:PRS_ContactItem localhost:5988/root/virt:CIM_FilterEntry localhost:5988/root/virt:CIM_ManagedElement localhost:5988/root/virt:Xen_SettingsDefineCapabilities localhost:5988/root/virt:CIM_LabelReaderStatData localhost:5988/root/virt:CIM_SoftwareFeature localhost:5988/root/virt:CIM_UoWDefTraceLevelType localhost:5988/root/virt:CIM_ClassDeletion localhost:5988/root/virt:CIM_MoreRoleInfo localhost:5988/root/virt:CIM_ConfigurationComponent localhost:5988/root/virt:CIM_MemoryError localhost:5988/root/virt:CIM_StatisticalRuntimeOverview localhost:5988/root/virt:CIM_J2eeConnectionStats localhost:5988/root/virt:Xen_VirtualSystemMigrationSettingData localhost:5988/root/virt:CIM_StorageSetting localhost:5988/root/virt:CIM_TransformOfPreconfiguredAction localhost:5988/root/virt:CIM_Component localhost:5988/root/virt:CIM_KerberosAuthentication localhost:5988/root/virt:CIM_LabelReaderStatInfo localhost:5988/root/virt:CIM_ConnectedTo localhost:5988/root/virt:CIM_SNMPDatabaseParameter localhost:5988/root/virt:CIM_MemberOfCollection localhost:5988/root/virt:CIM_J2eeJMSConnectionSessions localhost:5988/root/virt:CIM_StatusCollection localhost:5988/root/virt:CIM_ProductSoftwareComponent localhost:5988/root/virt:CIM_StorageConfigurationCapabilities localhost:5988/root/virt:PRS_Expression localhost:5988/root/virt:CIM_CommonDatabaseSettingData localhost:5988/root/virt:CIM_FCSwitchSettings localhost:5988/root/virt:CIM_BIOSElement localhost:5988/root/virt:CIM_J2eeConnectionPoolStats localhost:5988/root/virt:CIM_BGPPeerUsesRouteMap ============================================================================
Do these contain clues to solve?
Works for me. Toshifumi Fujimura.
What is the output of
wbemcli ecn http://root:pass@localhost:5988/root/virt
Thanks and Regards, Deepti.
Toshifumi Fujimura wrote:
Thanks for your reply.
Currently, WBEM Client works for getting CIM_OperatingSystem. But not for getting KVM_ComputerSystem. (I attach the wbemcli output.) ========================================================================
[root@localhost ~]# wbemcli ei 'http://user:pass@localhost:5988/root/cimv2:cim_operatingsystem' localhost:5988/root/cimv2:PG_OperatingSystem.CreationClassName="CIM_OperatingSystem",CSCreationClassName="CIM_UnitaryComputerSystem",
CSName="localhost.localdomain",Name="Fedora" CSCreationClassName="CIM_UnitaryComputerSystem",CSName="localhost.localdomain",
CreationClassName="CIM_OperatingSystem",Name="Fedora",Caption="Fedora release 9.92 (Rawhide)",Description="Fedora release 9.92 (Rawhide)", Status="Unknown",OSType=36,OtherTypeDescription="2.6.27.3-27.rc1.fc10.i686.PAE
#1 SMP Sat Oct 18 20:27:11 EDT 2008",Version="2.6.27.3-27.rc1.fc10.i686.PAE", LastBootUpTime=20081022122916.000000+540,LocalDateTime=20081022171753.000000+540,CurrentTimeZone=540,NumberOfLicensedUsers=0,NumberOfUsers=5,NumberOfProcesses=166,
MaxNumberOfProcesses=196608,TotalSwapSpaceSize=4095992,TotalVirtualMemorySize=8233000,FreeVirtualMemory=4095992,FreePhysicalMemory=3384328,TotalVisibleMemorySize=4137008,
MaxProcessMemorySize=4095992,Distributed=FALSE,MaxProcessesPerUser=196608,SystemUpTime=17317,OperatingSystemCapability="32
bit"
[root@localhost ~]# wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem * * wbemcli: Cim: (5) CIM_ERR_INVALID_CLASS: KVM_ComputerSystem * ========================================================================
Anyway cimxxxxx shows Virt_xxx class. (I attach the "cimprovider -l" output.) ========================================================================
[root@localhost ~]# cimprovider -l OperatingSystemModule ComputerSystemModule ProcessModule Virt_AllocationCapabilities Virt_ComputerSystem Virt_ComputerSystemIndication Virt_ComputerSystemMigrationIndication Virt_ConcreteComponent Virt_ConsoleRedirectionService Virt_ConsoleRedirectionServiceCapabilities Virt_Device Virt_DevicePool Virt_ElementAllocatedFromPool Virt_ElementCapabilities Virt_ElementConformsToProfile Virt_ElementSettingData Virt_EnabledLogicalElementCapabilities Virt_HostedDependency Virt_HostedResourcePool Virt_HostedService Virt_HostSystem Virt_RASD Virt_ReferencedProfile Virt_RegisteredProfile Virt_ResourceAllocationFromPool Virt_ResourcePoolConfigurationCapabilities Virt_ResourcePoolConfigurationService Virt_ServiceAffectsElement Virt_SettingsDefineCapabilities Virt_SettingsDefineState Virt_SystemDevice Virt_VirtualSystemManagementCapabilities Virt_VirtualSystemManagementService Virt_VirtualSystemSnapshotService Virt_VirtualSystemSnapshotServiceCapabilities Virt_VSMigrationCapabilities Virt_VSMigrationService Virt_VSMigrationSettingData Virt_VSSD Virt_VSSDComponent ========================================================================
From these, I guess libvirt-cim provider is not connected properly. Would you give me an advice to investigate it.
Thanks
Toshifumi Fujimura.
Kaitlin Rupert wrote:
Toshifumi Fujimura wrote: > I think I've registerd Libvirt-CIM and Libcmputil as CIM Provider. > > I re-installed Libvirt-CIM package. > And I made sure that with Pegasus's command "cimprovider -s -l".
You can check to make sure the providers are properly installed by running the following command. Replace user:pass with the username and password of the user that has CIM query rights.
The convention is to use the root user or the pegasus user, but you can use any user since you've modified /etc/Pegasus/access.conf to allow all users.
wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem
This should return something like the following:
localhost:5988/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="demo2"
When you run cimtest, you'll need to run the command as root and pass in the root username / password (this will need to be fixed in the future).
CIM_NS=root/virt CIM_USER=root CIM_PASS=pass ./runtests libvirt-cim -i localhost -d -v KVM
> > But following error messages didn't disappear. > ============================================================== > -------------------------------------------------------------------- > > AllocationCapabilities - 01_enum.py: FAIL > ERROR - Failed to enumerate the class of > KVM_AllocationCapabilities > ERROR - Unauthorized > ERROR - Only 0 pools returned, expected at least 4 > -------------------------------------------------------------------- > > AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL > ERROR - AuthError : Unauthorized > Traceback (most recent call last): > File "./lib/XenKvmLib/const.py", line 116, in do_try > File "02_alloccap_gi_errs.py", line 109, in main > expr_values=exp['invalid_keyvalue'], bug_no="") > File "./lib/XenKvmLib/common_util.py", line 264, in > try_getinstance > File > "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", > line 464, in GetInstance > **params) > File > "/usr/lib/python2.5/site-packages/pywbem/cim_operations.py", > line 181, in imethodcall > verify_callback = self.verify_callback) > File "/usr/lib/python2.5/site-packages/pywbem/cim_http.py", > line 226, in wbem_request > raise AuthError(response.reason) > AuthError: Unauthorized > ERROR - None > -------------------------------------------------------------------- > > ============================================================== > Would you have any more suggestion of this messages?
This error is because pywbem is unable to authenticate with Pegasus. Be sure the following query works (change pass to the proper password):
wbemcli ein http://root:pass@localhost:5988/root/virt:KVM_ComputerSystem
Hope this helps! =)
You can also verify if the required providers are installed by using the following query:
wbemcli ecn http://root:pass@localhost:5988/root/virt
The above query will report all the providers registered with the /root/virt namespace. you can use the same query replacing the above /root/virt with other namespace like /root/interop to know the providers registered in that particular namespace.
Regards, Deepti.
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

Toshifumi Fujimura wrote:
Thanks Mr or Ms Deepti B Kalakeri and Mr or Ms Kaitlin Rupert. I tryed to regist CIM schema for Libvirt-CIM as your advice.
On "make postinstall",I met this error message.
=======================================================================================
Registering providers with active cimserver Parsing error: parse error: Error adding class Xen_KVMRedirectionSAP to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_KVMRedirectionSAP make: *** [postinstall] Error 250 =======================================================================================
I think the superclasses "CIM_KVMRedirectionSAP","CIM_ERR_INVALID_SUPERCLASS" don't exist in my cimserver. How can I add those classes?
Works for me. Toshifumi Fujimura.
Can you try the following: Restart Pegasus After restarting Pegasus, try: wbemcli ecn http://user:pass@localhost/root/virt | grep CIM_KVMRedirectionSAP This should return a record like the following: localhost:5988/root/virt:CIM_KVMRedirectionSAP After that is done, you can do: sudo make preuninstall sudo make postinstall Running "sudo make preuninstall" should have put the proper classes in place. However, sometimes Pegasus needs to be restarted after "sudo make preinstall". If the wbemcli command doesn't return any records, you can do the following: sudo make preuninstall sudo make preinstall restart Pegasus sudo make postinstall I hope this helps! -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

Kaitlin Rupert wrote:
Toshifumi Fujimura wrote:
Thanks Mr or Ms Deepti B Kalakeri and Mr or Ms Kaitlin Rupert. I tryed to regist CIM schema for Libvirt-CIM as your advice.
Hello, I've just added a libvirt-cim setup page on the wiki: http://wiki.libvirt.org/page/Libvirt-cim_setup -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

Dear Kaitlin. Thanks for your suggestion and adding wiki page. This wiki is very useful. After restarting Pegasus, I can't find the class "CIM_KVMRedirectionSAP". And from my investigation, I found two points. (1)The class "CIM_KVMRedirectionSAP"'s superclass isn't defined in any .mof files in Libvirt-CIM. (2)But other registered classes may have superclass. For example, the class "CIM_VirtualSystemMigrationCapabilities" has superclass "CIM_Capabilities". And that is defined in "schema/VSMigrationCapabilities.mof" file. (The log shows below) I think some package need to add. What should I do any more? Works for me. =============================== [root@localhost libvirt-cim]# grep -rn CIM_KVM * Binary file base_schema/cimv216Experimental-MOFs.zip matches schema/KVMRedirectionSAP.mof:4:class Xen_KVMRedirectionSAP : CIM_KVMRedirectionSAP schema/KVMRedirectionSAP.mof:9:class KVM_KVMRedirectionSAP : CIM_KVMRedirectionSAP schema/KVMRedirectionSAP.mof:14:class LXC_KVMRedirectionSAP : CIM_KVMRedirectionSAP [root@localhost ~]# wbemcli ecn http://user:pass@localhost/root/virt | grep Virt localhost:5988/root/virt:CIM_VirtualSystemMigrationSettingData localhost:5988/root/virt:KVM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:Xen_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:LXC_VirtualSystemMigrationSettingData localhost:5988/root/virt:LXC_VirtualSystemMigrationCapabilities localhost:5988/root/virt:KVM_VirtualSystemMigrationSettingData localhost:5988/root/virt:Xen_VirtualSystemSettingData localhost:5988/root/virt:CIM_VirtualSystemSettingData localhost:5988/root/virt:KVM_VirtualSystemSettingData localhost:5988/root/virt:LXC_VirtualSystemSettingData localhost:5988/root/virt:Xen_VirtualSystemMigrationSettingData =============================== (in schema/VSMigrationCapabilities.mof) =============================== class CIM_VirtualSystemMigrationCapabilities : CIM_Capabilities { uint16 DestinationHostFormatsSupported[]; uint16 SynchronousMethodsSupported[]; uint16 AsynchronousMethodsSupported[]; }; =============================== -- Toshifumi Fujimura.
Toshifumi Fujimura wrote:
Thanks Mr or Ms Deepti B Kalakeri and Mr or Ms Kaitlin Rupert. I tryed to regist CIM schema for Libvirt-CIM as your advice.
On "make postinstall",I met this error message.
=======================================================================================
Registering providers with active cimserver Parsing error: parse error: Error adding class Xen_KVMRedirectionSAP to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_KVMRedirectionSAP make: *** [postinstall] Error 250 =======================================================================================
I think the superclasses "CIM_KVMRedirectionSAP","CIM_ERR_INVALID_SUPERCLASS" don't exist in my cimserver. How can I add those classes?
Works for me. Toshifumi Fujimura.
Can you try the following:
Restart Pegasus
After restarting Pegasus, try: wbemcli ecn http://user:pass@localhost/root/virt | grep CIM_KVMRedirectionSAP
This should return a record like the following:
localhost:5988/root/virt:CIM_KVMRedirectionSAP
After that is done, you can do:
sudo make preuninstall sudo make postinstall
Running "sudo make preuninstall" should have put the proper classes in place. However, sometimes Pegasus needs to be restarted after "sudo make preinstall".
If the wbemcli command doesn't return any records, you can do the following:
sudo make preuninstall sudo make preinstall
restart Pegasus
sudo make postinstall
I hope this helps!
-- Toshifumi Fujimura.

Dear Kaitlin. After my investigation, I pass "make postinstall" by using attached patch. I think these definition in the .mof files are insuffcient. How do you think? Regards. Toshifumi Fujimura.
Dear Kaitlin.
Thanks for your suggestion and adding wiki page. This wiki is very useful.
After restarting Pegasus, I can't find the class "CIM_KVMRedirectionSAP".
And from my investigation, I found two points. (1)The class "CIM_KVMRedirectionSAP"'s superclass isn't defined in any .mof files in Libvirt-CIM. (2)But other registered classes may have superclass.
For example, the class "CIM_VirtualSystemMigrationCapabilities" has superclass "CIM_Capabilities". And that is defined in "schema/VSMigrationCapabilities.mof" file. (The log shows below)
I think some package need to add. What should I do any more?
Works for me.
=============================== [root@localhost libvirt-cim]# grep -rn CIM_KVM * Binary file base_schema/cimv216Experimental-MOFs.zip matches schema/KVMRedirectionSAP.mof:4:class Xen_KVMRedirectionSAP : CIM_KVMRedirectionSAP schema/KVMRedirectionSAP.mof:9:class KVM_KVMRedirectionSAP : CIM_KVMRedirectionSAP schema/KVMRedirectionSAP.mof:14:class LXC_KVMRedirectionSAP : CIM_KVMRedirectionSAP
[root@localhost ~]# wbemcli ecn http://user:pass@localhost/root/virt | grep Virt localhost:5988/root/virt:CIM_VirtualSystemMigrationSettingData localhost:5988/root/virt:KVM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:Xen_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:LXC_VirtualSystemMigrationSettingData localhost:5988/root/virt:LXC_VirtualSystemMigrationCapabilities localhost:5988/root/virt:KVM_VirtualSystemMigrationSettingData localhost:5988/root/virt:Xen_VirtualSystemSettingData localhost:5988/root/virt:CIM_VirtualSystemSettingData localhost:5988/root/virt:KVM_VirtualSystemSettingData localhost:5988/root/virt:LXC_VirtualSystemSettingData localhost:5988/root/virt:Xen_VirtualSystemMigrationSettingData ===============================
(in schema/VSMigrationCapabilities.mof) =============================== class CIM_VirtualSystemMigrationCapabilities : CIM_Capabilities {
uint16 DestinationHostFormatsSupported[];
uint16 SynchronousMethodsSupported[];
uint16 AsynchronousMethodsSupported[];
}; ===============================
-- Toshifumi Fujimura.
Toshifumi Fujimura wrote:
Thanks Mr or Ms Deepti B Kalakeri and Mr or Ms Kaitlin Rupert. I tryed to regist CIM schema for Libvirt-CIM as your advice.
On "make postinstall",I met this error message.
=======================================================================================
Registering providers with active cimserver Parsing error: parse error: Error adding class Xen_KVMRedirectionSAP to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_KVMRedirectionSAP make: *** [postinstall] Error 250 =======================================================================================
I think the superclasses "CIM_KVMRedirectionSAP","CIM_ERR_INVALID_SUPERCLASS" don't exist in my cimserver. How can I add those classes?
Works for me. Toshifumi Fujimura.
Can you try the following:
Restart Pegasus
After restarting Pegasus, try: wbemcli ecn http://user:pass@localhost/root/virt | grep CIM_KVMRedirectionSAP
This should return a record like the following:
localhost:5988/root/virt:CIM_KVMRedirectionSAP
After that is done, you can do:
sudo make preuninstall sudo make postinstall
Running "sudo make preuninstall" should have put the proper classes in place. However, sometimes Pegasus needs to be restarted after "sudo make preinstall".
If the wbemcli command doesn't return any records, you can do the following:
sudo make preuninstall sudo make preinstall
restart Pegasus
sudo make postinstall
I hope this helps!
-- Toshifumi Fujimura. diff -r f0a209b602e7 Makefile.am --- a/Makefile.am Wed Oct 08 09:13:55 2008 -0700 +++ b/Makefile.am Fri Oct 24 16:59:39 2008 +0900 @@ -4,49 +4,19 @@ SUBDIRS = libxkutil src doc base_schema MOFS = \ - schema/ComputerSystem.mof \ - schema/LogicalDisk.mof \ - schema/NetworkPort.mof \ - schema/Memory.mof \ - schema/Processor.mof \ - schema/SystemDevice.mof \ schema/VSSD.mof \ - schema/HostSystem.mof \ schema/HostedDependency.mof \ - schema/VirtualSystemManagementService.mof \ - schema/VirtualSystemManagementCapabilities.mof \ schema/EnabledLogicalElementCapabilities.mof \ schema/AllocationCapabilities.mof \ schema/SettingsDefineCapabilities.mof \ - schema/MemoryPool.mof \ schema/ElementCapabilities.mof \ - schema/ProcessorPool.mof \ - schema/DiskPool.mof \ - schema/HostedResourcePool.mof \ schema/RegisteredProfile.mof \ schema/ElementConformsToProfile.mof \ schema/ComputerSystemIndication.mof \ schema/ComputerSystemMigrationIndication.mof \ - schema/ResourceAllocationSettingData.mof \ - schema/ResourcePoolConfigurationService.mof \ - schema/ResourcePoolConfigurationCapabilities.mof \ - schema/VSSDComponent.mof \ schema/SettingsDefineState.mof \ - schema/NetPool.mof \ - schema/ResourceAllocationFromPool.mof \ - schema/ElementAllocatedFromPool.mof \ - schema/HostedService.mof \ schema/ElementSettingData.mof \ - schema/VSMigrationCapabilities.mof \ - schema/VSMigrationService.mof \ - schema/VSMigrationSettingData.mof \ - schema/VirtualSystemSnapshotService.mof \ - schema/VirtualSystemSnapshotServiceCapabilities.mof \ - schema/ConcreteComponent.mof \ - schema/ConsoleRedirectionService.mof \ - schema/ConsoleRedirectionServiceCapabilities.mof \ - schema/ServiceAffectsElement.mof \ - schema/KVMRedirectionSAP.mof + schema/ConcreteComponent.mof INTEROP_MOFS = \ schema/ComputerSystem.mof \

Hi, Kaitlin and Toshifumi Fedora 10 tog-pegasus uses CIM Schema 2.13.1(CIM2131). (from env_var_Linux.status) I think it should be upgraded to CIM Schema 2.17.1 or later. Since CIM Schema supports Virtualization after 2.17.1. http://www.dmtf.org/standards/cim/cim_schema_v2171/ Is this idea is correct? If this idea is correct, you need to build from upstream openpegasus or upgrade CIM Schema to 217 on F10 package. Thanks Atsushi SAKAI Toshifumi Fujimura <fujimura.toshifumi@np.css.fujitsu.com> wrote:
Dear Kaitlin.
After my investigation, I pass "make postinstall" by using attached patch. I think these definition in the .mof files are insuffcient.
How do you think?
Regards. Toshifumi Fujimura.
Dear Kaitlin.
Thanks for your suggestion and adding wiki page. This wiki is very useful.
After restarting Pegasus, I can't find the class "CIM_KVMRedirectionSAP".
And from my investigation, I found two points. (1)The class "CIM_KVMRedirectionSAP"'s superclass isn't defined in any .mof files in Libvirt-CIM. (2)But other registered classes may have superclass.
For example, the class "CIM_VirtualSystemMigrationCapabilities" has superclass "CIM_Capabilities". And that is defined in "schema/VSMigrationCapabilities.mof" file. (The log shows below)
I think some package need to add. What should I do any more?
Works for me.
=============================== [root@localhost libvirt-cim]# grep -rn CIM_KVM * Binary file base_schema/cimv216Experimental-MOFs.zip matches schema/KVMRedirectionSAP.mof:4:class Xen_KVMRedirectionSAP : CIM_KVMRedirectionSAP schema/KVMRedirectionSAP.mof:9:class KVM_KVMRedirectionSAP : CIM_KVMRedirectionSAP schema/KVMRedirectionSAP.mof:14:class LXC_KVMRedirectionSAP : CIM_KVMRedirectionSAP
[root@localhost ~]# wbemcli ecn http://user:pass@localhost/root/virt | grep Virt localhost:5988/root/virt:CIM_VirtualSystemMigrationSettingData localhost:5988/root/virt:KVM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:Xen_VirtualSystemMigrationCapabilities localhost:5988/root/virt:CIM_VirtualSystemMigrationCapabilities localhost:5988/root/virt:LXC_VirtualSystemMigrationSettingData localhost:5988/root/virt:LXC_VirtualSystemMigrationCapabilities localhost:5988/root/virt:KVM_VirtualSystemMigrationSettingData localhost:5988/root/virt:Xen_VirtualSystemSettingData localhost:5988/root/virt:CIM_VirtualSystemSettingData localhost:5988/root/virt:KVM_VirtualSystemSettingData localhost:5988/root/virt:LXC_VirtualSystemSettingData localhost:5988/root/virt:Xen_VirtualSystemMigrationSettingData ===============================
(in schema/VSMigrationCapabilities.mof) =============================== class CIM_VirtualSystemMigrationCapabilities : CIM_Capabilities {
uint16 DestinationHostFormatsSupported[];
uint16 SynchronousMethodsSupported[];
uint16 AsynchronousMethodsSupported[];
}; ===============================
-- Toshifumi Fujimura.
Toshifumi Fujimura wrote:
Thanks Mr or Ms Deepti B Kalakeri and Mr or Ms Kaitlin Rupert. I tryed to regist CIM schema for Libvirt-CIM as your advice.
On "make postinstall",I met this error message.
=======================================================================================
Registering providers with active cimserver Parsing error: parse error: Error adding class Xen_KVMRedirectionSAP to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_KVMRedirectionSAP make: *** [postinstall] Error 250 =======================================================================================
I think the superclasses "CIM_KVMRedirectionSAP","CIM_ERR_INVALID_SUPERCLASS" don't exist in my cimserver. How can I add those classes?
Works for me. Toshifumi Fujimura.
Can you try the following:
Restart Pegasus
After restarting Pegasus, try: wbemcli ecn http://user:pass@localhost/root/virt | grep CIM_KVMRedirectionSAP
This should return a record like the following:
localhost:5988/root/virt:CIM_KVMRedirectionSAP
After that is done, you can do:
sudo make preuninstall sudo make postinstall
Running "sudo make preuninstall" should have put the proper classes in place. However, sometimes Pegasus needs to be restarted after "sudo make preinstall".
If the wbemcli command doesn't return any records, you can do the following:
sudo make preuninstall sudo make preinstall
restart Pegasus
sudo make postinstall
I hope this helps!
-- Toshifumi Fujimura.

AS> Is this idea is correct? Certainly an upgrade would be nice. However, that shouldn't be a problem here. AS> If this idea is correct, you need to build from upstream AS> openpegasus or upgrade CIM Schema to 217 on F10 package. The "make preinstall" process downloads and installs the 2.16 experimental schema into our namespace (root/virt). It can coexist with the outdated pegasus schema just fine. The messages about a missing superclass likely mean that you don't have the base schema installed properly. You might try shutting down pegasus and removing the entire namespace directory: rm -Rf /var/lib/Pegasus/repository/root\#virt/ Then, do your "make preinstall" followed by "make postinstall" and then start up pegasus. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

Dear Kaitlin and Sakai. Thanks for your suggestions. After following your suggestions, I succeed to add appropriate Schemas. And I come out a Cimtest result which is close to recent Cimtest Wiki's one. (The result shows below) Thanks! -- Toshifumi Fujimura. ================================================= KVM on Pegasus Test Run Summary for Oct 27 2008 ================================================= Distro: Fedora release 9.92 (Rawhide) Kernel: 2.6.27.3-34.rc1.fc10.i686.PAE libvirt: 0.4.6 Hypervisor: QEMU 0.9.1 CIMOM: Pegasus 2.7.1 Libvirt-cim revision: 613+ Libvirt-cim changeset: 1fcf330fadf8+ ================================================= FAIL : 1 XFAIL : 2 SKIP : 6 PASS : 126 ----------------- Total : 135 ================================================= FAIL Test Summary: VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL ================================================= XFAIL Test Summary: ComputerSystem - 32_start_reboot.py: XFAIL ComputerSystem - 33_suspend_reboot.py: XFAIL ================================================= SKIP Test Summary: ComputerSystem - 02_nosystems.py: SKIP LogicalDisk - 02_nodevs.py: SKIP VSSD - 02_bootldr.py: SKIP VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP ================================================= Full report: -------------------------------------------------------------------- AllocationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- AllocationCapabilities - 02_alloccap_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 01_enum.py: PASS -------------------------------------------------------------------- ComputerSystem - 02_nosystems.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- ComputerSystem - 03_defineVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 04_defineStartVS.py: PASS -------------------------------------------------------------------- ComputerSystem - 05_activate_defined_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 06_paused_active_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 22_define_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 23_suspend_suspend.py: PASS -------------------------------------------------------------------- ComputerSystem - 27_define_suspend_errs.py: PASS -------------------------------------------------------------------- ComputerSystem - 32_start_reboot.py: XFAIL ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain Operation Failed') ERROR - Unable to 'Reboot' dom 'cs_test_domain' using RequestedStateChange() InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain Operation Failed Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 33_suspend_reboot.py: XFAIL ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain Operation Failed') ERROR - Unable to 'Reboot' dom 'test_domain' using RequestedStateChange() InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain Operation Failed Bug:<00005> -------------------------------------------------------------------- ComputerSystem - 35_start_reset.py: PASS -------------------------------------------------------------------- ComputerSystem - 40_RSC_start.py: PASS -------------------------------------------------------------------- ComputerSystem - 41_cs_to_settingdefinestate.py: PASS -------------------------------------------------------------------- ComputerSystem - 42_cs_gi_errs.py: PASS -------------------------------------------------------------------- ComputerSystemIndication - 01_created_indication.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 03_reverse_errs.py: PASS -------------------------------------------------------------------- ElementAllocatedFromPool - 04_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- ElementCapabilities - 02_reverse.py: PASS -------------------------------------------------------------------- ElementCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ElementCapabilities - 05_hostsystem_cap.py: PASS -------------------------------------------------------------------- ElementConforms - 01_forward.py: PASS -------------------------------------------------------------------- ElementConforms - 02_reverse.py: PASS -------------------------------------------------------------------- ElementConforms - 03_ectp_fwd_errs.py: PASS -------------------------------------------------------------------- ElementConforms - 04_ectp_rev_errs.py: PASS -------------------------------------------------------------------- ElementSettingData - 01_forward.py: PASS -------------------------------------------------------------------- ElementSettingData - 03_esd_assoc_with_rasd_errs.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- EnabledLogicalElementCapabilities - 02_elecap_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 01_enum.py: PASS -------------------------------------------------------------------- HostSystem - 02_hostsystem_to_rasd.py: PASS -------------------------------------------------------------------- HostSystem - 03_hs_to_settdefcap.py: PASS -------------------------------------------------------------------- HostSystem - 04_hs_to_EAPF.py: PASS -------------------------------------------------------------------- HostSystem - 05_hs_gi_errs.py: PASS -------------------------------------------------------------------- HostSystem - 06_hs_to_vsms.py: PASS -------------------------------------------------------------------- HostedDependency - 01_forward.py: PASS -------------------------------------------------------------------- HostedDependency - 02_reverse.py: PASS -------------------------------------------------------------------- HostedDependency - 03_enabledstate.py: PASS -------------------------------------------------------------------- HostedDependency - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 01_forward.py: PASS -------------------------------------------------------------------- HostedResourcePool - 02_reverse.py: PASS -------------------------------------------------------------------- HostedResourcePool - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedResourcePool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- HostedService - 01_forward.py: PASS -------------------------------------------------------------------- HostedService - 02_reverse.py: PASS -------------------------------------------------------------------- HostedService - 03_forward_errs.py: PASS -------------------------------------------------------------------- HostedService - 04_reverse_errs.py: PASS -------------------------------------------------------------------- LogicalDisk - 01_disk.py: PASS -------------------------------------------------------------------- LogicalDisk - 02_nodevs.py: SKIP ERROR - System has defined domains; unable to run -------------------------------------------------------------------- LogicalDisk - 03_ld_gi_errs.py: PASS -------------------------------------------------------------------- Memory - 01_memory.py: PASS -------------------------------------------------------------------- Memory - 02_defgetmem.py: PASS -------------------------------------------------------------------- Memory - 03_mem_gi_errs.py: PASS -------------------------------------------------------------------- NetworkPort - 01_netport.py: PASS -------------------------------------------------------------------- NetworkPort - 02_np_gi_errors.py: PASS -------------------------------------------------------------------- NetworkPort - 03_user_netport.py: PASS -------------------------------------------------------------------- Processor - 01_processor.py: PASS -------------------------------------------------------------------- Processor - 02_definesys_get_procs.py: PASS -------------------------------------------------------------------- Processor - 03_proc_gi_errs.py: PASS -------------------------------------------------------------------- Profile - 01_enum.py: PASS -------------------------------------------------------------------- Profile - 02_profile_to_elec.py: PASS -------------------------------------------------------------------- Profile - 03_rprofile_gi_errs.py: PASS -------------------------------------------------------------------- RASD - 01_verify_rasd_fields.py: PASS -------------------------------------------------------------------- RASD - 02_enum.py: PASS -------------------------------------------------------------------- RASD - 03_rasd_errs.py: PASS -------------------------------------------------------------------- RASD - 04_disk_rasd_size.py: PASS -------------------------------------------------------------------- ReferencedProfile - 01_verify_refprof.py: PASS -------------------------------------------------------------------- ReferencedProfile - 02_refprofile_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 01_forward.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 02_reverse.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 03_forward_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 04_reverse_errs.py: PASS -------------------------------------------------------------------- ResourceAllocationFromPool - 05_RAPF_err.py: PASS -------------------------------------------------------------------- ResourcePool - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePool - 02_rp_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationCapabilities - 02_rpcc_gi_errs.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 01_enum.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 02_rcps_gi_errors.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 03_CreateResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: PASS -------------------------------------------------------------------- ResourcePoolConfigurationService - 07_DeleteResourcePool.py: PASS -------------------------------------------------------------------- SettingsDefine - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefine - 02_reverse.py: PASS -------------------------------------------------------------------- SettingsDefine - 03_sds_fwd_errs.py: PASS -------------------------------------------------------------------- SettingsDefine - 04_sds_rev_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 01_forward.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 03_forward_errs.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 04_forward_vsmsdata.py: PASS -------------------------------------------------------------------- SettingsDefineCapabilities - 05_reverse_vsmcap.py: PASS -------------------------------------------------------------------- SystemDevice - 01_forward.py: PASS -------------------------------------------------------------------- SystemDevice - 02_reverse.py: PASS -------------------------------------------------------------------- SystemDevice - 03_fwderrs.py: PASS -------------------------------------------------------------------- VSSD - 01_enum.py: PASS -------------------------------------------------------------------- VSSD - 02_bootldr.py: SKIP -------------------------------------------------------------------- VSSD - 03_vssd_gi_errs.py: PASS -------------------------------------------------------------------- VSSD - 04_vssd_to_rasd.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemManagementCapabilities - 02_vsmcap_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 01_definesystem_name.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 02_destroysystem.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 03_definesystem_ess.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 04_definesystem_ers.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 05_destroysystem_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 06_addresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 07_addresource_neg.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 08_modifyresource.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 09_procrasd_persist.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 10_hv_version.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 11_define_memrasdunits.py: FAIL ERROR - Unexpected rc code 1 and description: CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualQuantity' field in Memory RASD ERROR - DefineSystem (Bytes) failed InvokeMethod(DefineSystem): CIM_ERR_FAILED: ResourceSettings Error: Missing `VirtualQuantity' field in Memory RASD -------------------------------------------------------------------- VirtualSystemManagementService - 12_referenced_config.py: PASS -------------------------------------------------------------------- VirtualSystemManagementService - 13_refconfig_additional_devs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationCapabilities - 02_vsmc_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationService - 01_migratable_host.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemMigrationSettingData - 02_vsmsd_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 01_forward.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 02_reverse.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 03_vssdc_fwd_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSettingDataComponent - 04_vssdc_rev_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotService - 02_vs_sservice_gi_errs.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 01_enum.py: PASS -------------------------------------------------------------------- VirtualSystemSnapshotServiceCapabilities - 02_vs_sservicecap_gi_errs.py: PASS --------------------------------------------------------------------
AS> Is this idea is correct?
Certainly an upgrade would be nice. However, that shouldn't be a problem here.
AS> If this idea is correct, you need to build from upstream AS> openpegasus or upgrade CIM Schema to 217 on F10 package.
The "make preinstall" process downloads and installs the 2.16 experimental schema into our namespace (root/virt). It can coexist with the outdated pegasus schema just fine.
The messages about a missing superclass likely mean that you don't have the base schema installed properly.
You might try shutting down pegasus and removing the entire namespace directory:
rm -Rf /var/lib/Pegasus/repository/root\#virt/
Then, do your "make preinstall" followed by "make postinstall" and then start up pegasus.

Toshifumi Fujimura wrote:
Thanks for your reply.
Currently, WBEM Client works for getting CIM_OperatingSystem. But not for getting KVM_ComputerSystem. (I attach the wbemcli output.)
[root@localhost ~]# wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem * * wbemcli: Cim: (5) CIM_ERR_INVALID_CLASS: KVM_ComputerSystem *
This indicates that the CIM schema for libvirt-cim isn't registered. Pegasus is aware of the providers, but the proper mof files aren't in its repository. In your libvirt-cim directory, run the following: sudo make preuninstall sudo make preinstall sudo make postinstall Then restart Pegasus. The following query: wbemcli ein http://user:pass@localhost:5988/root/virt:KVM_ComputerSystem might not return any records if you don't have any guests defined. In that case, you can also try: http://user:pass@localhost:5988/root/virt:KVM_VirtualSystemManagementService That should always return an instance. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (6)
-
Atsushi SAKAI
-
Dan Smith
-
Deepti B Kalakeri
-
Guo Lian Yun
-
Kaitlin Rupert
-
Toshifumi Fujimura