Juju Charm - Ceph Proxy
Go to file
Chris MacNaughton 649bdb4683 Ensure that we define `unit` before use
When ceph-proxy is configured prior to being related
to clients, it is possible for the units to go into
a hook error because of an undefined variable. This
change ensures that we do correctly define the unit
before we use it.

Change-Id: Ic6e28783bde4fc342d7c5ef1d733e69a03b702fe
Closes-Bug: #1862487
2020-02-12 11:28:56 +01:00
actions Convert the charm to Python3 2019-03-10 14:16:41 +00:00
charmhelpers Charmhelper sync for 20.02 2020-02-05 14:07:53 +00:00
files Sync charm/ceph helpers, tox, and requirements 2019-10-14 18:23:31 +01:00
hooks Ensure that we define `unit` before use 2020-02-12 11:28:56 +01:00
lib Update tox.ini files from release-tools gold copy 2016-09-09 19:21:57 +00:00
templates support custom admin user and user auth 2018-09-26 10:09:14 +03:00
tests Charmhelper sync for 20.02 2020-02-05 14:07:53 +00:00
unit_tests Ensure that we define `unit` before use 2020-02-12 11:28:56 +01:00
.coveragerc [dosaboy,r=james-page] Add broker functionality 2014-11-19 16:12:04 -06:00
.gitignore Update requirements 2018-10-03 16:26:42 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:09 +00:00
.project Add support for Juju network spaces 2016-04-07 16:22:52 +01:00
.pydevproject Add support for Juju network spaces 2016-04-07 16:22:52 +01:00
.stestr.conf Replace ostestr with stestr in testing framework. 2019-03-07 17:10:33 -05:00
.zuul.yaml Switch to Ussuri jobs 2019-10-31 17:37:25 +08:00
Makefile Remove ch-tests from make sync command 2019-01-07 14:32:23 -06:00
README.md Update url to file bugs in README.md file 2017-03-03 11:30:35 -03:00
TODO Turn on cephx support by default 2012-10-09 12:18:01 +01:00
actions.yaml Sync charm/ceph helpers, tox, and requirements 2019-10-14 18:23:31 +01:00
charm-helpers-hooks.yaml Sync charm/ceph helpers, tox, and requirements 2019-10-14 18:23:31 +01:00
config.yaml support custom admin user and user auth 2018-09-26 10:09:14 +03:00
copyright Updated README verbosity, added checks to harden ceph admin-daemon usage in ceph utils 2012-10-04 14:24:12 +01:00
hardening.yaml Add hardening support 2016-03-29 20:26:58 +01:00
icon.svg Update charm icon 2017-07-31 14:13:52 -05:00
metadata.yaml Charmhelper sync for 20.02 2020-02-05 14:07:53 +00:00
requirements.txt Sync charm/ceph helpers, tox, and requirements 2019-10-14 18:23:31 +01:00
revision [hopem] Added use-syslog cfg option to allow logging to syslog 2014-03-25 18:44:22 +00:00
setup.cfg [dosaboy,r=james-page] Add broker functionality 2014-11-19 16:12:04 -06:00
test-requirements.txt Sync charm/ceph helpers, tox, and requirements 2019-10-14 18:23:31 +01:00
tox.ini Sync charm/ceph helpers, tox, and requirements 2019-10-14 18:23:31 +01:00

README.md

Overview

Ceph is a distributed storage and network file system designed to provide excellent performance, reliability, and scalability.

This charm allows connecting an existing Ceph deployment with a Juju environment.

Usage

Your config.yaml needs to provide the monitor-hosts and fsid options like below:

config.yaml:

ceph-proxy:
  monitor-hosts: IP_ADDRESS:PORT IP ADDRESS:PORT
  fsid: FSID

You must then provide this configuration to the new deployment: juju deploy ceph-proxy -c config.yaml.

This charm noes NOT insert itself between the clusters, but merely makes the external cluster available through Juju's environment by exposing the same relations that the existing ceph charms do.

Contact Information

Authors

Report bugs on Launchpad

Ceph