Description of problem: When I try to setacls to cephfs mount of ceph-fuse and kernel-client, I see a message -- "setfacl: /home/ubuntu/myfs/: Operation not supported" I saw a tracker bug http://tracker.ceph.com/issues/15783, and this says that there is way to enable the ACLS. Is this the default behavior or is it something to be fixed.
ACLs are indeed disabled by default (at least in the fuse client). Could you test again with the settings in the referenced upstream ticket? This will be something to document.
This has to be documented, I used the the upstream ticket as the reference and added the following in ceph.conf [client] fuse_default_permission=0 client_acl_type=posix_acl I then restarted the services and tried setfacls. and it did not throw any error. This is for ceph-fuse. Can you let me know what is for kernel client. I see the problem in kernel client too. I can test it once you let me know what is the configuration.
setting need_info on John for clarification on kernel client (comment 3).
Cephfs code in current RHEL kernel (up to kernel-3.10.0-418.el7)does not have ACL support. My pending backports include ACL support. https://bugzilla.redhat.com/show_bug.cgi?id=1340782
The ACL support patches have been merged into RHEL7 kernel. (since kernel-3.10.0-448.el7)
BZ for the backport: https://bugzilla.redhat.com/show_bug.cgi?id=1344930
Looks fine to me, it might be worth clarifying that the kernel version is RHEL-specific (people use RHCS on other distros too, and their 3.10.x might be higher numbered but not have the support).