Hi Eric
Here is the output of rpm
[root@centos ~]# rpm -qa | grep libvirt
libvirt-python-0.10.2-29.el6.1.x86_64
libvirt-0.10.2-29.el6.1.x86_64
libvirt-client-0.10.2-29.el6.1.x86_64
libvirt-devel-0.10.2-29.el6.1.x86_64
and here is output of php code
Array
(
[libvirt.release] => 2
[libvirt.minor] => 10
[libvirt.major] => 0
[connector.version] => 0.4.8
[connector.major] => 0
[connector.minor] => 4
[connector.release] => 8
)
Br.
Umar
On Thu, Dec 12, 2013 at 12:51 AM, Eric Blake <eblake(a)redhat.com> wrote:
On 12/10/2013 10:34 PM, Umar Draz wrote:
> Hi,
>
> I am trying to create glusterfs pool with libvirt but its working, and
> following is the error
>
> *libvirt_storagepool_define_xml(): internal error unknown storage pool
type
> gluster*
What version of libvirt? If older than 1.2.0, upgrade (gluster pool was
added only in 1.2.0); if it is 1.2.0, then figure out why your build was
not configured to link against libgfapi (if you self-built, use
--with-storage-gluster=yes; if it is a distro build, complain to the
distro packagers).
[Oh phooey - I just noticed that 'virsh --version=long' doesn't give any
hints about whether gluster support was compiled in. Looks like I have
a patch coming up to fix that - although not including that information
doesn't impact anything except easier diagnosis of whether it was
compiled in]
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org
--
Umar Draz
Network Architect