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

Re: CephFS => ls: cannot open directory /cephfs/: Permission denied



CephFS appear to don't support SELinux labels (http://tracker.ceph.com/issues/13231) then what can I do to allow container access to volume? 

2017-06-21 17:52 GMT+02:00 Stéphane Klein <contact stephane-klein info>:


2017-06-21 16:25 GMT+02:00 Stéphane Klein <contact stephane-klein info>:
I don't see where is my permission error.

Maybe it's this error: http://tracker.ceph.com/issues/13231 ?

I have tried that:

# setfattr -n security.selinux -v system_u:object_r:nfs_t:s0 /var/lib/origin/openshift.local.volumes/pods/4cc61dfa-5692-11e7-aef3-005056b1755a/volumes/kubernetes.io~cephfs/pv-ceph-prod-rbx-fs1
setfattr: /var/lib/origin/openshift.local.volumes/pods/4cc61dfa-5692-11e7-aef3-005056b1755a/volumes/kubernetes.io~cephfs/pv-ceph-prod-rbx-fs1: Operation not supported

I don't know if it is the good syntax.

Kernel version is: 3.10.0-514.16.1.el7.x86_64

# ceph -v
ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43)

# atomic host status
State: idle
Deployments:
● centos-atomic-host:centos-atomic-host/7/x86_64/standard
             Version: 7.20170428 (2017-05-09 16:53:51)
              Commit: 67c8af37c5d05bb3b377ec1bd3c127f98664d6f7a78bf2089fcfb02784d12fbd
              OSName: centos-atomic-host
        GPGSignature: 1 signature
                      Signature made Tue 09 May 2017 05:43:07 PM EDT using RSA key ID F17E745691BA8335
                      Good signature from "CentOS Atomic SIG <security centos org>"

Best regards,
Stéphane



--
Stéphane Klein <contact stephane-klein info>
blog: http://stephane-klein.info
cv : http://cv.stephane-klein.info
Twitter: http://twitter.com/klein_stephane

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