Thanks for your reply.
After your suggestion, I check tog-pegasus settings.
I found it needs to add following changes.
=====================================================================
1.enable CIM to accept http-access
"cimconfig -p -s enableHttpConnection=true"
2.enable tog-pegasus to access by all users
"/etc/Pegasus/access.conf"
from
-: ALL EXCEPT pegasus:wbemNetwork
-: ALL EXCEPT pegasus root:wbemLocal
to
+: ALL EXCEPT :wbemNetwork
+: ALL EXCEPT :wbemLocal
=====================================================================
After above changes, I succeed to connect PyWBEM via socket.
Thanks
Toshifumi Fujimura.
libvirt-cim-bounces(a)redhat.com wrote on 2008-10-14 14:19:57:
> Hello!
>
> I made Cimtest environment. But I have some trobles on running cimtest..
> These errors are not in Test Run Reports
> "http://wiki.libvirt.org/page/Cimtest_testruns".
> Would you give me any suggestion of this message?
>
> I check httpd is running on PyWBEM machine.
> But "Socket.error" is appeared (occured on cim_http.wbem_request in
> cim_operations.py).
Pls check if your CIMOM(sfcb, pegasus or others) is running.
>
>
======================================================================================
> Testing KVM hypervisor
> --------------------------------------------------------------------
> AllocationCapabilities - 01_enum.py: FAIL
> ERROR - KVM_MemoryPool did not return any instances
> ERROR - Only 0 pools returned, expected at least 4
> Socket error: (111, 'Connection refused')
> Socket error: (111, 'Connection refused')
> --------------------------------------------------------------------
> AllocationCapabilities - 02_alloccap_gi_errs.py: FAIL
> ERROR - Unexpected rc code 0 and description Socket error: (111,
> 'Connection refused')
>
> ERROR - ------ FAILED: Invalid InstanceID Key Value.------
> --------------------------------------------------------------------
> ComputerSystem - 01_enum.py: PASS
> --------------------------------------------------------------------
> ComputerSystem - 02_nosystems.py: PASS
> --------------------------------------------------------------------
>
======================================================================================
>
> Works for me.
>
> Toshifumi Fujimura.
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libvirt-cim
------------------------------------------------------------------------
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim