d3cfc3ff13
The pre-install operations may fail, yet that failure is not elevated to the user. This masks the failure and makes early package install issues difficult to troubleshoot. If the basic pre-install script fails, the charm should not proceed to later hooks as the requirements may not be met. Hashbangs for bash should specify -e (errexit) on all of the pre-install bash scripts. Change-Id: I67b3a965b11844a2768800225396927f17864116 Closes-bug: #1815243 Partial-bug: #1815231 |
||
---|---|---|
actions | ||
charmhelpers | ||
hooks | ||
lib | ||
templates | ||
tests | ||
unit_tests | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.project | ||
.pydevproject | ||
.testr.conf | ||
.zuul.yaml | ||
LICENSE | ||
Makefile | ||
README.md | ||
charm-helpers-hooks.yaml | ||
config.yaml | ||
copyright | ||
icon.svg | ||
metadata.yaml | ||
requirements.txt | ||
revision | ||
setup.cfg | ||
test-requirements.txt | ||
tox.ini |
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.