<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/28/2014 07:26 PM, SATHEESARAN
wrote:<br>
</div>
<blockquote cite="mid:53357F8E.90502@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 03/28/2014 05:37 PM, Dave
Christianson wrote:<br>
</div>
<blockquote
cite="mid:CA+4=be5Q6G-1NXkn4-V=9kGNAFsbp+XBBEk9x9WEUcD4cyGCQQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>I've come across individual posts from people who
supposedly have done this in CentOS6.5. Basically, all
that is shown in the posts is the XML file generated, no
mention of *how* that file is generated. Virt-manager
has no provision for attaching directly to the gluster
volume except as a mount. Neither virt-manager nor
virt-install recognize the gluster:// type.<br>
</div>
</div>
</div>
</div>
</blockquote>
Yes, even I was frustrated at this. There seems no way to utilize
the image file using libgfapi.<br>
As Harsha mentioned in his earlier thread, libvirt is yet to
expose this.<br>
I have already raised a bug regarding this, <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://bugzilla.redhat.com/show_bug.cgi?id=1017308">https://bugzilla.redhat.com/show_bug.cgi?id=1017308</a><br>
<blockquote
cite="mid:CA+4=be5Q6G-1NXkn4-V=9kGNAFsbp+XBBEk9x9WEUcD4cyGCQQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Supposedly earlier versions of RHEL used qemu-kvm as a
wrapper for qemu-system-x86_64, however in 6.5 qemu-kvm is
its own binary. Qemu-kvm also doesn't recognize the
gluster:// type.<br>
</div>
</div>
</div>
</blockquote>
With RHEL 6.5 / Centos 6.5 you can use, "/usr/libexec/qemu-kvm"<br>
This was the command that I used to make use of VM Images using
libgfapi in RHEL 6.5 <br>
>> /usr/libexec/qemu-kvm -drive
file=gluster://10.70.37.87/testvol/test.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads
-device
virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=0<br>
<br>
The above worked for me.<br>
If I am not wrong, the libvirt in RHEL 7 supports glusterfs's
libgfapi way of access mechanism.<br>
</blockquote>
<br>
Sas,<br>
<br>
What about Fedora 20? Fedora 20 should have all the latest RPMs , so
it should have required patches in libvirt too.<br>
<br>
-Lala<br>
<blockquote cite="mid:53357F8E.90502@redhat.com" type="cite"> <br>
<br>
<blockquote
cite="mid:CA+4=be5Q6G-1NXkn4-V=9kGNAFsbp+XBBEk9x9WEUcD4cyGCQQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
Debian and Ubuntu supposedly have the newer versions of
gluster and qemu/libvirt availabe (ppa's?). Maybe I'll test
Wheezy...<br>
<br>
</div>
Red Hat seems content to do their own thing. Although the
verisons of libvirt and qemu are older, libgfapi is supposed
to have been backported. It's a shame that full functionality
is not included. It's mindboggling seeing that Red Hat owns
glusterfs, you would think full support for the backend would
have been included in their product. If it is, as you say,
that RH includes this functionality only to RHN subscribers
and is not made available downstream to CentOS/SL, and unless
I can find a repository with the latest full versions of qemu
& libvirt, then CentOS simply will not work.<br>
<div>
<div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Mar 28, 2014 at
3:13 AM, Harshavardhana <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:harsha@harshavardhana.net"
target="_blank">harsha@harshavardhana.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Virt-manager / libvirt
is yet to expose perhaps this functionality -<br>
but as far as i remember libvirt should be doing
this as a<br>
pass-through for the URL's which have been
passed as<br>
"<schema>://<server>/<volname>"<br>
<br>
Does libvirt 'invoke' fuse when passed
"gluster://" schema?<br>
<br>
On Thu, Mar 27, 2014 at 5:34 PM, Dave
Christianson<br>
<<a moz-do-not-send="true"
href="mailto:davidchristianson3@gmail.com">davidchristianson3@gmail.com</a>>
wrote:<br>
> Good Evening,<br>
><br>
> I have read that libgfapi has been
backported to qemu-kvm in RHEL 6.5 (and<br>
> by virtue CentOS and SL). However I am
unable to figure out how to actually<br>
> make it work as described. Virt-manager
still only seems to support<br>
> glusterfs volumes via fuse.<br>
><br>
> I can use qemu-img to create a disk image
on gluster://<server>/<Volume>.<br>
> But virt-manager can only use it from a
fuse mounted fileshare. There seems<br>
> to be no ability to attach in virt-manager
directly to the image on<br>
> glusterfs using libgfapi.<br>
><br>
> All documents I've found describe the use
of the command<br>
> "qemu-system-x86_64," however that command
does not exist in CentOS 6.5.<br>
> That appears to be the only way to start
the domain using libgfapi. So<br>
> basically, I can create an image via
libgfapi but cannot do anything useful<br>
> with it.<br>
><br>
> Should I be able to do this? If so, what's
the procedure? Or is CentOS/RHEL<br>
> 6.5 just not fully integrated? I really
want to be able to use libgfapi and<br>
> avoid the performance penalty of fuse.
Should I just grab & compile the<br>
> latest verisons of libvirt and qemu-kvm?<br>
><br>
>
_______________________________________________<br>
> Gluster-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
> <a moz-do-not-send="true"
href="http://supercolony.gluster.org/mailman/listinfo/gluster-users"
target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Religious confuse piety with mere ritual,
the virtuous confuse<br>
regulation with outcomes<br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>