Can't run KVM Virtual Machines on a Gluster volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Thanks for the reply. It was actually the bloody SElinux.
Disabling it allowed the VM to be powered on.

I am now still testing the write performance with both qcow2 and raw, cache none and writeback and as far as I can tell it's not good at all.

Fernando

-----Original Message-----
From: Brian Candler [mailto:B.Candler at pobox.com] 
Sent: 25 June 2012 08:57
To: Fernando Frediani (Qube)
Cc: 'gluster-users at gluster.org'
Subject: Re: Can't run KVM Virtual Machines on a Gluster volume

On Sat, Jun 23, 2012 at 08:16:47PM +0000, Fernando Frediani (Qube) wrote:
>    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.)

Failing to access something, when the something has permissions, usually implies a problem with apparmor / SElinux.

If this is an Ubuntu platform, then use libvirt to start the VM (i.e. define it using an XML file), and it should automatically create an apparmor policy dynamically.  Otherwise, try turning off apparmor / SElinux temporarily to see whether or that's the problem.  You could also try mounting your volume directly onto /var/lib/libvirt/images.

>    Has anyone actually was able to run it fine  on Gluster 3.3

I have. Ubuntu 12.04.


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux