Juju Charm - Cinder Ceph backend
b04b5f3b5f
As of the of the queens release cinder supports this config option which, if enabled, stops cinder from query all volumes in a pool every time it does a delete in order to get accurate pool usage stats. The problem is that this causes tons of non-fatal race conditions and slows down deletes to the point where the rpc thread pool fills up blocking further requests. Our charms do not configure pool by default and we are not aware of anyone doing this in the field so this patch enables this option by default. Change-Id: I5377e2886a6e206d30bd7dc38a7e43a085aa524c Closes-Bug: 1789828 |
||
---|---|---|
actions | ||
hooks | ||
lib | ||
templates | ||
tests | ||
unit_tests | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.project | ||
.pydevproject | ||
.testr.conf | ||
charm-helpers-hooks.yaml | ||
charm-helpers-tests.yaml | ||
config.yaml | ||
copyright | ||
icon.svg | ||
LICENSE | ||
Makefile | ||
metadata.yaml | ||
README.md | ||
requirements.txt | ||
revision | ||
setup.cfg | ||
test-requirements.txt | ||
tox.ini |
Ceph Storage Backend for Cinder
Overview
This charm provides a Ceph storage backend for use with the Cinder charm; this allows multiple Ceph storage clusters to be associated with a single Cinder deployment, potentially alongside other storage backends from other vendors.
To use:
juju deploy cinder
juju deploy -n 3 ceph
juju deploy cinder-ceph
juju add-relation cinder-ceph cinder
juju add-relation cinder-ceph ceph
Configuration
The cinder-ceph charm allows the replica count for the Ceph storage pool to be configured. This must be done in advance of relating to the ceph charm:
juju set cinder-ceph ceph-osd-replication-count=3
juju add-relation cinder-ceph ceph
By default, the replica count is set to 2 replicas. Increasing this value increases data resilience at the cost of consuming most real storage in the Ceph cluster.