[Gluster-users] Can't run KVM Virtual Machines on a Gluster volume

Fernando Frediani (Qube) fernando.frediani at qubenet.net
Sat Jun 23 20:16:47 UTC 2012


I just built a 2 node(4 bricks), Distributed-Replicated and everything mounts fine.
Each node mounts using GlusterFS client on its hostname (mount -t glusterfs hostname:VOLUME /virtual-machines)
When creating a new Virtual Machine using virt-manager it creates the file on the storage, but when trying to power it On, it doesn't work and gives back an error message.(See below. Yes the folder has full permission to All to write.)

Has anyone actually was able to run it fine  on Gluster 3.3 ? I get the same results on VMware ESXi, but I thought that as for KVM using GlusterFS client that would work fine and better. If I mount the volume as NFS the exact same thing happens.
Quiet frustrating !!!

Fernando

Unable to complete install: 'internal error Process exited while reading console log output: char device redirected to /dev/pts/1
qemu-kvm: -drive file=/virtual-machines/Ubuntu_12.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: could not open disk image /virtual-machines/Ubuntu_12.img: Permission denied
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1903, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1223, in start_install
    noboot)
  File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1291, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2064, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/1
qemu-kvm: -drive file=/virtual-machines/Ubuntu_12.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: could not open disk image /virtual-machines/Ubuntu_12.img: Permission denied


Regards,

Fernando Frediani


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120623/7347e5fc/attachment.html>


More information about the Gluster-users mailing list