question about libvirt-cim testing.
by Osier Yang
Hi all
I got a testing result (see the attachment) that seems not
reasonable with cimtest --- with just 50 about cases passed. And I just
want to known if it's caused by my testing enviroment or the problem of
libvirt-cim self. Tried find out myself, but because not very farmiliar
with CIM, so didn't helps. Any suggestion will be appreciatec.
The steps of setting up testing enviroment is as follows:
1> install an RHEL5.5-Server, (x86_64)
2> updated the related packages to the newest version:
[root@dhcp-66-70-64 ~]# rpm -qa | grep xen
kernel-xen-2.6.18-183.el5
xen-devel-3.0.3-102.el5
xen-libs-3.0.3-102.el5
[root@dhcp-66-70-64 ~]# rpm -qa | grep libvirt
libvirt-devel-0.6.3-28.el5
libvirt-debuginfo-0.6.3-28.el5
libvirt-cim-0.5.8-2.el5
libvirt-python-0.6.3-28.el5
libvirt-0.6.3-28.el5
libvirt-0.6.3-28.el5
libvirt-cim-debuginfo-0.5.8-2.el5
[root@dhcp-66-70-64 ~]# rpm -qa | grep cmpi
libcmpiutil-0.5-1.el5
libcmpiutil-0.5-1.el5
libcmpiutil-devel-0.5-1.el5
libcmpiutil-debuginfo-0.5-1.el5
[root@dhcp-66-70-64 ~]# rpm -qa | grep pega
tog-pegasus-devel-2.9.1-1.el5
tog-pegasus-devel-2.9.1-1.el5
tog-pegasus-2.9.1-1.el5
3> install sblim-wbemcli
# yum install sblim-wbemcli -y
4> config CIM server (tog-pegasus)
# cimconfig -p -s enableHttpConnection=true
# cimconfig -p -s repositoryIsDefaultInstanceProvider=true
5> restart CIM server
# service tog-pegasus restart
6> get the providers list (verify)
[root@dhcp-66-70-64 ~]# wbemcli ecn
http://root:redhat@localhost:5988 | grep -i xen
localhost:5988/root/cimv2:Xen_RegisteredProfile
localhost:5988/root/cimv2:Xen_HostedAccessPoint
localhost:5988/root/cimv2:Xen_HostedResourcePool
localhost:5988/root/cimv2:Xen_HostedService
localhost:5988/root/cimv2:Xen_HostedDependency
localhost:5988/root/cimv2:Xen_ComputerSystem
localhost:5988/root/cimv2:Xen_ElementConformsToProfile
localhost:5988/root/cimv2:Xen_ElementCapabilities
7> download cimtest snapshot and extract it
# wget -c ftp://libvirt.org/libvirt-cim/cimtest-snapshot.tar.gz
# tar xvzf cimtest-snapshot.tar.gz
8> execute the case
# CIM_NS=root/virt CIM_USER=root CIM_PASS=redhat ./runtests
libvirt-cim -i localhost
Thanks and Regards
osier
14 years, 11 months
[PATCH 0 of 3] [RFC] Handles events generated when the qemu process crashes
by Richard Maciel
1. Look at the init_events function and see how it's called when you cancel the execution of the indication_tester.py
2. Notice that when you kill the qemu process, the event_thread invokes the callback, but the event received (look at the invoke_callback function) is a read, instead of a hangup
14 years, 11 months