Subject: Re: [lxc-users] glusterfs on LXD?



On 2016-12-22 11:56, Tomasz Chmielewski wrote:
Ubuntu 16.04 hosts / containers and gluster 3.8:

# gluster volume create storage replica 2 transport tcp
serv1:/gluster/data serv2:/gluster/data force
volume create: storage: failed: Glusterfs is not supported on brick:
serv1:/gluster/data.
Setting extended attributes failed, reason: Operation not permitted.


Host filesystem on both bricks supports xattr - but container can only
set user attributes, not trusted attributes:

# touch file
# setfattr -n user.some -v "thing" file
# getfattr file
# file: file
user.some

# setfattr -n trusted.some2 -v "thing2" file
setfattr: file: Operation not permitted


Anyone managed to run glusterfs on LXD?

I see it does run if the container is run as privileged:

# lxc config set serv1 security.privileged true

But perhaps not sysadmin's dream.

Is there any other way to allow the container setting trusted attr?



Tomasz Chmielewski
https://lxadm.com
_______________________________________________
lxc-users mailing list
lxc-users@xxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.linuxcontainers.org/listinfo/lxc-users...



Programming list archiving by: Enterprise Git Hosting