ceph-csi icon indicating copy to clipboard operation
ceph-csi copied to clipboard

Provisioning of NFS exported volumes

Open nixpanic opened this issue 3 years ago • 4 comments

Describe the feature you'd like to have

It would be useful to have volumes provisioned that can be exported over NFS. Ceph already has the ability to manage NFS-Ganesha and export CephFS directories (or subvolumes).

What is the value to the end user? (why is it a priority?)

This would allow the following use-cases to be addressed:

  • clients that can not reach the OSDs/MONs, but could use a single TCP-port to connect to the Ceph managed NFS-server
  • worker-nodes that do not have support for CephFS (NFS is more standard)

How will we know we have a good solution? (acceptance criteria)

Minimally the following CSI operations should be supported:

  • CreateVolume
  • DeleteVolume

Proof of Concept

A work-in-progress NFS-provisioner is available, with a container image at quay.io/nixpanic/cephcsi:nfs. Changes/additions are mostly under internal/nfs/ and examples/nfs/. Scripts and .yaml deployment files are included in the branch for testing and deploying with Rook. (Testing is done on OpenShift Data Foundation, as those deployments are readily available to me.)

Tasks

  • [x] design document: #2914
  • [x] NFS-provisioner component: #2948
  • [x] deployment artifacts: #2980
  • [x] e2e testing: #3036
  • [ ] validate error handling, CSI-procedures should be idempotent
    • [ ] CreateVolume
    • [x] DeleteVolume: #3071
  • [x] use go-ceph API instead of ceph command: #2977, ceph/go-ceph#655
  • [ ] documentation
  • [ ] deployment with helm
  • [ ] examples: #2963

nixpanic avatar Mar 01 '22 16:03 nixpanic

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 22 '22 21:06 github-actions[bot]

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

github-actions[bot] avatar Jun 29 '22 21:06 github-actions[bot]

items are still yet to be done.

Rakshith-R avatar Jul 05 '22 06:07 Rakshith-R

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 04 '22 21:08 github-actions[bot]