Juju Charm - Cinder Ceph backend
Go to file
Edward Hope-Morley b04b5f3b5f Add support for rbd_exclusive_cinder_pool
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
2018-09-11 14:02:43 -06:00
actions Update tox.ini files from release-tools gold copy 2016-09-09 19:22:05 +00:00
hooks Add support for rbd_exclusive_cinder_pool 2018-09-11 14:02:43 -06:00
lib Update tox.ini files from release-tools gold copy 2016-09-09 19:22:05 +00:00
templates Add marker to avoid empty directory problem for git migration 2015-11-06 12:37:56 +00:00
tests Add support for rbd_exclusive_cinder_pool 2018-09-11 14:02:43 -06:00
unit_tests Add support for rbd_exclusive_cinder_pool 2018-09-11 14:02:43 -06:00
.coveragerc Initial version of charm 2014-01-23 16:14:44 +00:00
.gitignore Enable Bionic as a gate test 2018-05-16 13:28:02 -07:00
.gitreview Add gitreview prior to migration to openstack 2016-02-24 21:53:30 +00:00
.project Initial version of charm 2014-01-23 16:14:44 +00:00
.pydevproject Fix support for cinder ceph rbd on Ocata 2017-03-13 13:43:07 +00:00
.testr.conf Add tox support 2015-11-03 14:16:36 +00:00
charm-helpers-hooks.yaml Update repo to do ch-sync from Git 2017-09-26 10:19:58 +02:00
charm-helpers-tests.yaml Update repo to do ch-sync from Git 2017-09-26 10:19:58 +02:00
config.yaml Add support for cephx pool grouping and permissions 2017-02-14 11:19:34 +00:00
copyright Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00
icon.svg Update charm icon 2017-08-02 17:55:03 +01:00
LICENSE Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00
Makefile Update repo to do ch-sync from Git 2017-09-26 10:19:58 +02:00
metadata.yaml Update series metadata 2018-07-11 14:04:11 -05:00
README.md Add README 2014-02-12 10:13:40 +00:00
requirements.txt Charmhelper sync before 1604 testing 2016-04-13 08:36:28 +00:00
revision Fixes from testing 2014-01-23 16:38:22 +00:00
setup.cfg Initial version of charm 2014-01-23 16:14:44 +00:00
test-requirements.txt Enable Zesty-Ocata Amulet Tests 2017-04-28 08:42:11 -07:00
tox.ini Add py36 testenv 2018-07-12 17:52:13 +07:00

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.