f347a37d69
Add support for erasure coded pools. 1) Pool name of replicated and EC pools can now be set via pool-name config option. 2) Weight of replicated and EC pools can now be set via ceph-pool-weight config option. 3) Charm no longer uses initialize_mds from the ceph-mds interface. This moves the charm inline with ceph-client charms where the charm explicitly creates the pools they need. 4) Metadata pool name format is preserved with an underscore rather than a hyphen. Change-Id: I97641c6daeeb2a1a65b081201772c89f6a7f539c |
||
---|---|---|
.. | ||
actions | ||
files | ||
lib | ||
reactive | ||
templates | ||
tests | ||
README.md | ||
actions.yaml | ||
config.yaml | ||
copyright | ||
icon.svg | ||
layer.yaml | ||
metadata.yaml | ||
test-requirements.txt | ||
tox.ini | ||
wheelhouse.txt |
README.md
Overview
Ceph is a unified, distributed storage system designed for excellent performance, reliability, and scalability.
The ceph-fs charm deploys the metadata server daemon (MDS) for the Ceph distributed file system (CephFS). It is used in conjunction with the ceph-mon and the ceph-osd charms.
Highly available CephFS is achieved by deploying multiple MDS servers (i.e. multiple ceph-fs units).
Usage
Configuration
This section covers common and/or important configuration options. See file
config.yaml
for the full list of options, along with their descriptions and
default values. A YAML file (e.g. ceph-osd.yaml
) is often used to store
configuration options. See the Juju documentation for
details on configuring applications.
source
The source
option states the software sources. A common value is an OpenStack
UCA release (e.g. 'cloud:xenial-queens' or 'cloud:bionic-ussuri'). See Ceph
and the UCA. The underlying host's existing apt sources
will be used if this option is not specified (this behaviour can be explicitly
chosen by using the value of 'distro').
Deployment
We are assuming a pre-existing Ceph cluster.
To deploy a single MDS node:
juju deploy ceph-fs
Then add a relation to the ceph-mon application:
juju add-relation ceph-fs:ceph-mds ceph-mon:mds
Actions
This section lists Juju actions supported by the charm.
Actions allow specific operations to be performed on a per-unit basis. To
display action descriptions run juju actions ceph-fs
. If the charm is not
deployed then see file actions.yaml
.
get-quota
remove-quota
set-quota
Bugs
Please report bugs on Launchpad.
For general charm questions refer to the OpenStack Charm Guide.