Juju Charm - Ceph NFS via Ganesha
Go to file
2022-02-10 09:30:44 +01:00
src Add support for granting and removing access 2022-02-02 10:00:50 +01:00
templates add reload nonce, and fix up some setup bits 2022-01-05 16:07:36 -06:00
tests Add support for granting and removing access 2022-02-02 10:00:50 +01:00
unit_tests Add support for granting and removing access 2022-02-02 10:00:50 +01:00
.flake8 Initial commit 2021-11-26 13:49:23 +01:00
.gitignore Add support for granting and removing access 2022-02-02 10:00:50 +01:00
.jujuignore Initial commit 2021-11-26 13:49:23 +01:00
.stestr.conf Initial commit 2021-11-26 13:49:23 +01:00
actions.yaml Add support for granting and removing access 2022-02-02 10:00:50 +01:00
build-requirements.txt Initial commit 2021-11-26 13:49:23 +01:00
config.yaml Add action to create a new share 2022-01-07 12:57:36 -06:00
CONTRIBUTING.md Initial commit 2021-11-26 13:49:23 +01:00
LICENSE Initial commit 2021-11-26 13:49:23 +01:00
metadata.yaml Add action to create a new share 2022-01-07 12:57:36 -06:00
osci.yaml Initial commit 2021-11-26 13:49:23 +01:00
README.md Add basic info to README 2022-02-10 09:30:44 +01:00
requirements-dev.txt Initial commit 2021-11-26 13:49:23 +01:00
requirements.txt Update to get ganesha setup. 2022-01-05 20:10:59 +01:00
test-requirements.txt Initial commit 2021-11-26 13:49:23 +01:00
tox.ini Migrate to a more fully-formed export parser 2022-01-26 17:07:55 +01:00

ceph-nfs

Description

CephNFS is a charm designed to enable management of NFS shares backed by CephFS. It supports Ceph Pacific and above.

Usage

CephNFS provides an additional service when deployed with Ceph and CephFS. It should be related to CephMon:

juju add-relation ceph-nfs:ceph-client ceph-mon:client

Once all relations have settled, it is possible to create a new export:

juju run-action --wait ceph-nfs/0 create-share name=test-share size=10 allowed-ips=10.0.0.0/24

The above command has creates an NFS share that is 10GB in size, and is accessible from any machine in the 10.0.0.0-10.0.0.255 network space. To grant access to a new network address, the grant-access action should be used:

juju run-action --wait ceph-nfs/0 grant-access name=test-share allowed-ips=192.168.0.10 mode=r

This command has granted read-only access to the named share to a specific address: 192.168.0.1.

Relations

TODO: Provide any relations which are provided or required by your charm

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.