[Libvirt-cim] question about libvirt-cim testing.

Osier Yang jyang at redhat.com
Wed Jan 6 13:44:55 UTC 2010


hi deepti
      It seems caused by DMTF CIM v2.16 not installed.

      I downloaded cimtest-snapshot, libvirt-cim-snapshot, 
libcmpiutil-snapshot, all of them are newest. (20090106). built and 
installed them. and then installed the DMTF CIM v2.16 as the 
instructions listed in "http://libvirt.org/CIM/schema.html". (the first 
and the last instruction failed, the others worked well).
 
      Then the testing result seems good now (with about 11 cases 
failed). The attachment is the testing and tracing result.

      Tomrrow, I will reinstall a new RHEL5.5-Server, do the testing 
again to make sure whether it's caused by DMTF CIM v2.16 not installed 
indeed. It's late, I must go to sleep, :)

      BTW: if it's really caused by DMTF CIM v2.16 not installed.  It's 
not reasonable I think, because there is no RPM package of DMTF CIM 
v2.16,  the end-user who want to take the advantage of libvirt-cim must 
install it manaully. it's not good.

      Of course, It may be caused by other problem but not DMTF CIM 
v2.16 not installed.  just wait for confirming.  :-)

Thanks and Regards
osier

Deepti B Kalakeri wrote:
>
>
> Osier Yang wrote:
>> Hi Deepti
>> I tried wbemcli ei 
>> 'http://root:password@localhost:5988/root/virt:Xen_VirtualSystemSettingData' 
>> -nl . It seems behaves well:
> Hi Osier,
>
> Can you enable to the trace and send the cimom logs ?
> Use the following commands:
> cimconfig -s traceLeve=4
> cimconfig -s traceComponents=ALL
>
> The trace file will be @ /var/lib/Pegasus/cache/trace/
>
>>
>> [root at dhcp-66-70-64 libcmpiutil]# wbemcli ei 
>> 'http://root:redhat@localhost:5988/root/virt:Xen_VirtualSystemSettingData' 
>> -nl
>> localhost:5988/root/virt:Xen_VirtualSystemSettingData.InstanceID="Xen:Domain-0" 
>>
>> -Caption="Virtual System"
>> -Description="Virtual System"
>> -Generation=
>> -InstanceID="Xen:Domain-0"
>> -ElementName="Domain-0"
>> -ConfigurationName=
>> -ChangeableType=
>> -VirtualSystemIdentifier="Domain-0"
>> -VirtualSystemType="Xen"
>> -Notes=
>> -CreationTime=
>> -ConfigurationID=
>> -ConfigurationDataRoot=
>> -ConfigurationFile=
>> -SnapshotDataRoot=
>> -SuspendDataRoot=
>> -SwapFileDataRoot=
>> -LogDataRoot=
>> -AutomaticStartupAction=
>> -AutomaticStartupActionDelay=
>> -AutomaticStartupActionSequenceNumber=
>> -AutomaticRecoveryAction=3
>> -RecoveryFile=
>> -ClockOffset=0
>> -AutomaticShutdownAction=2
>> -UUID="00000000-0000-0000-0000-000000000000"
>> -EnableACPI=FALSE
>> -EnableAPIC=FALSE
>> -EnablePAE=FALSE
>> -IsFullVirt=FALSE
>> -Bootloader=
>> -BootloaderArgs=
>> -Kernel=
>> -Ramdisk=
>> -CommandLine=
>> -BootDevices=
>> -Emulator=
>>
>> Then I get the newest libcmpiutil from 
>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz, build and 
>> install it.
>> but it doesn't work, the testing result is same as previous attachment.
>>
>> BTW: there should be some problem of the Makefile of 
>> ftp://libvirt.org/libvirt-cim/libcmpiutil-snapshot.tar.gz :
>> [root at dhcp-66-70-64 libcmpiutil]# make clean && make
>> Making clean in tools
>> make[1]: Entering directory `/root/libcmpiutil/tools'
>> rm -rf .libs _libs
>> rm -f *.lo
>> make[1]: Leaving directory `/root/libcmpiutil/tools'
>> Making clean in .
>> make[1]: Entering directory `/root/libcmpiutil'
>> test -z "libcueoparser.la libcmpiutil.la " || rm -f libcueoparser.la 
>> libcmpiutil.la
>> rm -f "./so_locations"
>> rm -f "./so_locations"
>> rm -rf .libs _libs
>> rm -f eo_util_lexer.c eo_util_parser.c eo_util_parser.h *~
>> rm -f *.o
>> rm -f *.lo
>> make[1]: Leaving directory `/root/libcmpiutil'
>> : -Peo_parse_ eo_util_lexer.l
>> sed '/^#/ s|lex.eo_parse_\.c|eo_util_lexer.c|' lex.eo_parse_.c 
>> >eo_util_lexer.c
>> sed: can't read lex.eo_parse_.c: No such file or directory
>> make: *** [eo_util_lexer.c] Error 2
>>
>> But with type another "make" in the command line after above "make 
>> clean && make", no error happens.
> I will take a look at this. Thanks for the heads up here.
>>
>> Thanks and Regards
>> osier
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace.tar.bz2
Type: application/x-bzip
Size: 5596042 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20100106/57f985d5/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: run_report.txt
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20100106/57f985d5/attachment.txt>


More information about the Libvirt-cim mailing list