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