On 03/28/2014 05:37 PM, Dave
Christianson wrote:
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.
Yes, even I was frustrated at this. There seems no way to utilize
the image file using libgfapi.
As Harsha mentioned in his earlier thread, libvirt is yet to expose
this.
I have already raised a bug regarding this,
https://bugzilla.redhat.com/show_bug.cgi?id=1017308
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.
With RHEL 6.5 / Centos 6.5 you can use, "/usr/libexec/qemu-kvm"
This was the command that I used to make use of VM Images using
libgfapi in RHEL 6.5
>> /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
The above worked for me.
If I am not wrong, the libvirt in RHEL 7 supports glusterfs's
libgfapi way of access mechanism.
-- Satheesaran
Debian and Ubuntu supposedly have the newer versions of
gluster and qemu/libvirt availabe (ppa's?). Maybe I'll test
Wheezy...
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.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users
|
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users