[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] Storage api problem
- From: "sarveswara rao mygapula" <sarvesh 18 gmail com>
- To: libvir-list redhat com
- Subject: [libvirt] Storage api problem
- Date: Fri, 23 May 2008 11:32:37 +0530
Hi,
I am just trying to use libvirt storage api from python terminal, and i am getting the following error.
>>> import libvirt
>>> con = libvirt.open(<my uri using ssh>)
>>> con.numOfDefinedStoragePools()
libvir: Remote error : Broken pipe
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/libvirt.py", line 1022, in numOfDefinedStoragePools
ret = libvirtmod.virConnectNumOfDefinedStoragePools(self._o)
AttributeError: 'module' object has no attribute 'virConnectNumOfDefinedStoragePools'
>>>
I have checked in the libvirt.c file and the function "virConnectNumOfDefinedStoragePools(virConnectPtr conn)" is implemented.
Thanks,
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]