Juju Charm - Cinder Ceph backend
Go to file
James Page cc7256b305 Add support for application version
Juju 2.0 provides support for display of the version of
an application deployed by a charm in juju status.

Insert the os_application_version_set function into the
existing assess_status function - this gets called after
all hook executions, and periodically after that, so any
changes in package versions due to normal system updates
will also be reflected in the status output.

This review also includes a resync of charm-helpers to
pickup hookenv and contrib.openstack support for this
feature.

Change-Id: Ie8c969718b8e34f4b27e7d75f2b58167bf04c14d
2016-09-20 12:06:15 +01:00
actions Update tox.ini files from release-tools gold copy 2016-09-09 19:22:05 +00:00
hooks Add support for application version 2016-09-20 12:06:15 +01: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 application version 2016-09-20 12:06:15 +01:00
unit_tests Add support for application version 2016-09-20 12:06:15 +01:00
.coveragerc Initial version of charm 2014-01-23 16:14:44 +00:00
.gitignore Charmhelpers Resync 2016-04-14 08:20:40 -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 Initial version of charm 2014-01-23 16:14:44 +00:00
.testr.conf Add tox support 2015-11-03 14:16:36 +00:00
LICENSE Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00
Makefile Use bundletester for amulet test execution 2016-07-20 03:34:22 +00:00
README.md Add README 2014-02-12 10:13:40 +00:00
charm-helpers-hooks.yaml Add support for application version 2016-09-20 12:06:15 +01:00
charm-helpers-tests.yaml resync hooks/charmhelpers 2015-06-29 14:28:46 +00:00
config.yaml Add ceph-pool-weight option for calculating pgs 2016-07-14 08:02:03 -07:00
copyright Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00
icon.svg Initial version of charm 2014-01-23 16:14:44 +00:00
metadata.yaml Add charm series data to metadata.yaml 2016-09-14 09:21:30 +01: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 Use bundletester for amulet test execution 2016-07-20 03:34:22 +00:00
tox.ini Update tox.ini files from release-tools gold copy 2016-09-09 19:22:05 +00:00

README.md

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.