Project

General

Profile

Openstack manila and ceph » History » Version 1

Jessica Mack, 07/10/2015 09:40 PM

1 1 Jessica Mack
h1. Openstack manila and ceph
2
3
h3. Summary
4
5
Make CephFS easy to use and consume via OpenStack Manila (file as a service)
6
7
h3. Owners
8
9
* Sage Weil (Red Hat)
10
* Name (Affiliation)
11
* Name
12
13
h3. Interested Parties
14
15
* Danny Al-Gaaf (Deutsche Telekom)
16
* Name (Affiliation)
17
* Name
18
19
h3. Current Status
20
21
There is a generic Manila driver that takes a volume mapped into the manila VM and exports it as NFS.  This can be used in combination with standard RBD provisioned via Cinder.
22
There is a ganesha driver that uses Ganesha to reexport a shared file system via NFS.  This can be configured to use the gluster FSAL driver or the Ceph FSAL driver, depending on how ganesha is configured.
23
24
h3. Detailed Description
25
26
I see four current options:
27
# default driver: rbd mapped to a VM that exports NFS
28
# ganesha driver: cephfs mounted by ganesha FSAL in a VM, exporting NFS
29
# ceph native driver: set up shares/auth keys so that guest VMs can mount CephFS directly
30
## this driver needs to
31
### create a ceph auth key
32
### create a directory in cephfs
33
## there are several security and multitenancy gaps
34
### cephfs doesn't let you restrict a key to a specific subdir
35
### cephfs only restricts data path to a rados pool, currrently
36
#### we could do a rados pool per user, but that would mostly suck
37
#### we could add a namespace field to the ceph_file_layout policy and lock users in a namespace within a shared data pool
38
## guest VMs need to talk to ceph, which means they need to be on the same network, or on routable networks.  this makes network people freak out for multitenant environments, but may not be an issue in single-tenant ones.
39
# virtfs to host mounting kernel cephfs: mount cephfs on the host.  use 9p/virtfs to share this with the guest.
40
## is qemu virtfs maintained?  i heard that IBM had abandoned this effort
41
## can we use NFS in place of virtfs here with equivalent functionality?
42
 
43
h3. Work items
44
45
h4. Coding tasks
46
47
# ceph native driver
48
# test ganesha + ceph FSAL in sepia community lab
49
# ?