Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jewel: CephFSVolumeClient should isolate volumes by RADOS namespace #8787

Merged
merged 2 commits into from May 3, 2016

Conversation

xiaoxichen
Copy link
Contributor

As cephfs dir layout supports rados namespace in jewel, it would be
good to use rados namespace instead of pool, since it is free,
we always enforce namespace isolation for volumes.

The meaning of "data_isolated" flag changed a bit, it's no longer used
for security isolation, referring to physical isolation
(i.e. potentially using different OSDs).

Also, (de)authorize based on namespace.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
(cherry picked from commit 0e1d013)
Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
(cherry picked from commit 7336806)
@xiaoxichen xiaoxichen added this to the jewel milestone Apr 27, 2016
@gregsfortytwo gregsfortytwo added the cephfs Ceph File System label Apr 27, 2016
@gregsfortytwo
Copy link
Member

@xiaoxichen, can you resubmit this against master? We'll backport to Jewel but now that the release is out, everything should go to master unless it's a Jewel-only bugfix. :)

@xiaoxichen
Copy link
Contributor Author

@gregsfortytwo , this is already in master and actually this PR is doing the backport:)

@gregsfortytwo
Copy link
Member

D'oh, sorry, I should have read more carefully! I'll let @jcsp or the backports team decide they're ready to merge this, otherwise I'll get it after it's had a few more test runs in master.

@gregsfortytwo gregsfortytwo assigned jcsp and unassigned xiaoxichen Apr 27, 2016
@xiaoxichen
Copy link
Contributor Author

@gregsfortytwo , cool thx.

@jcsp
Copy link
Contributor

jcsp commented May 3, 2016

@xiaoxichen please can you also backport the corresponding ceph-qa-suite change

@jcsp
Copy link
Contributor

jcsp commented May 3, 2016

Oh, never mind the jewel branch of ceph-qa-suite already has the test for this

@jcsp jcsp merged commit ec41655 into ceph:jewel May 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System
Projects
None yet
3 participants