Juju Charm - Ceph Proxy
Go to file
Alex Kavanagh 284ec35c8d 21.04 sync - add 'hirsute' in UBUNTU_RELEASES
The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms.  This sync is to
add just that key.  See also [1]

Note that this sync is only for classic charms.

[1] https://github.com/juju/charm-helpers/pull/598

Change-Id: I75107c4fd927f95eb3778b65a2172b0268390feb
2021-04-11 16:51:09 +01:00
actions Remove duplicated action files 2020-09-07 09:17:05 +02:00
charmhelpers 21.04 sync - add 'hirsute' in UBUNTU_RELEASES 2021-04-11 16:51:09 +01:00
files Sync libraries & common files prior to freeze 2020-09-28 13:51:24 +01:00
hooks Process requests for radosgw per unit keys 2021-01-12 11:30:01 +00:00
lib/charms_ceph 21.04 libraries freeze for charms on master branch 2021-04-03 20:30:36 -07:00
templates support custom admin user and user auth 2018-09-26 10:09:14 +03:00
tests Prune gate tests 2021-02-20 19:20:11 -07:00
unit_tests Sync libraries & common files prior to freeze 2020-09-28 13:51:24 +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 Use charms.ceph for Ceph broker 2020-08-28 11:15:03 +01:00
README.md Fix actions section of the README 2020-08-04 14:18:59 -04: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 21.04 libraries freeze for charms on master branch 2021-04-03 20:30:36 -07: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 Add hirsute and remove trusty from metadata.yaml 2021-03-02 20:53:11 +00:00
osci.yaml Add new osci.yaml 2021-02-23 11:12:57 +01:00
requirements.txt Sync release-tools 2020-12-11 13:54:29 +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 21.04 libraries freeze for charms on master branch 2021-04-03 20:30:36 -07:00
tox.ini Sync release-tools 2020-12-11 13:54:29 +01:00

README.md

Overview

Ceph is a unified, distributed storage system designed for excellent performance, reliability, and scalability.

The ceph-proxy charm deploys a proxy that acts as a ceph-mon application for an external Ceph cluster. It joins a non-charmed Ceph cluster to a Juju model.

Usage

Configuration

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.

fsid

The fsid option supplies the UUID of the external cluster.

admin-key

The admin-key option supplies the admin Cephx key of the external cluster.

monitor-hosts

The monitor-hosts option supplies the network addresses (and ports) of the Monitors of the external cluster.

Deployment

Let file ceph-proxy.yaml contain the deployment configuration:

    ceph-proxy:
        fsid: a4f1fb08-c83d-11ea-8f4a-635b3b062931
        admin-key: AQCJvBFfWX+GLhAAln5dFd1rZekcGLyMmy58bQ==
        monitor-hosts: '10.246.114.21:6789 10.246.114.22:6789 10.246.114.7:6789'

To deploy:

juju deploy --config ceph-proxy.yaml ceph-proxy

Now add relations as you normally would between a ceph-mon application and another application, except substitute ceph-proxy for ceph-mon. For instance, to use the external Ceph cluster as the backend for an existing glance application:

juju add-relation ceph-proxy:client glance:ceph

Actions

Many of the ceph-mon charm's actions are supported. See file actions.yaml for the full list of actions, along with their descriptions.

Bugs

Please report bugs on Launchpad.

For general charm questions refer to the OpenStack Charm Guide.