Commit Graph

9 Commits

Author SHA1 Message Date
Ghanshyam Mann 132ea88c0c Cleanup the retired repo
This repo is not properly retired. Retired repos can only have two files:
- README.rst
- gitreview

To cleanup the retirement of this repo, keeping these two files only and
removing the other remaining files if there is any.
Detail: https://etherpad.opendev.org/p/tc-retirement-cleanup

Change-Id: I49b27546132efb16f00ee0b42dd83111b2952183
2020-08-05 19:59:24 -05:00
James Page 71390fe0cf Add support for ceph-mon bootstrap
Add new relation to support bootstrapping a new deployment
of the ceph-mon charm from an existing ceph charm deployment,
supporting migration away from the deprecated ceph charm.

Each member of the existing ceph application will present
the required fsid and monitor-secret values, as well as its
public address so that the related ceph-mon units can
correctly seed from the exisitng MON cluster.

Provide stop hook implementation, which will leaves OSD
services running but will remove the ceph.conf provided
directly from this charm, falling back to ceph.conf provided
by other charms installed on the same machine. MON and MGR
services will be shutdown and disabled.

Closes-Bug: 1665159

Change-Id: I9bd1d7630a8eff53c65cb0f07d17e095fc7f32a9
Depends-On: Iac34d1bee4b51b55dfb3d14d315aae8526a0893c
2017-10-09 06:48:00 -04:00
Chris MacNaughton 811bc04e7c Clean up dependency chain
This includes a resync of charms_ceph to raise the directory one level
The charms_ceph change that we're syncing in changes the
name of the ceph.py file into the __init__.py file to remove the
second level of namespacing

Change-Id: I8773a26266a2a13f92083e89db957a6454df9bb3
2016-08-11 11:00:53 -04:00
James Page 473439ab65 Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

In order to make this change, this commit also drops the
inclusion of upstart configurations for very early versions
of Ceph (argonaut), as they are no longer required.

Change-Id: I5e5db16b6f04ee8282275e9fa63a8d864c5b51ec
2016-06-28 11:48:06 +01:00
James Page f7c587f02b Add support for Juju network spaces
Juju 2.0 provides support for network spaces, allowing
charm authors to support direct binding of relations and
extra-bindings onto underlying network spaces.

Add public and cluster extra bindings to this charm to
support separation of client facing and cluster network
traffic using Juju network spaces.

Existing network configuration options will still be
preferred over any Juju provided network bindings, ensuring
that upgrades to existing deployments don't break.

Change-Id: I4df75a40f5308f701f15c45d3d7b1df1e03832ad
2016-04-09 16:54:58 +01:00
Chris MacNaughton 97823569a5 Rolling upgrades for Ceph Monitor Cluster
This change adds functionality to allow the ceph monitor cluster to
upgrade in a serial rolled fashion.  This will use the ceph monitor
cluster itself as a locking mechanism and only allows 1 ceph monitor
at a time to upgrade.  If a monitor has been waiting on the previous
server for more than 10 minutes and hasn't seen it finish it will
assume it died during the upgrade and proceed with its own upgrade.

Limitations of this patch: As long as the monitor cluster does not
split brain this should work fine.  Also this assumes that NTP
among the ceph cluster is fairly accurate.

Change-Id: I04e227ea0713f0eaa4b4d78ad856e3f06fa7f225
2016-04-01 11:08:55 -04:00
Chris Holcombe 4407400a91 Upgrade key for ceph-osd
This change adds the upgrade key for the ceph-osd charm allowing
it to perform rolling upgrades.  This change is already in ceph-mon
and just copied over to make sure both charms have parity.

Change-Id: Icab7c6e4a2d841739736707b06ca252321b7f732
2016-03-31 08:11:01 -07:00
Edward Hope-Morley 080685d831 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks. Also
add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: I230b8c11ba32395b708b9300d6b91dad728194e8
2016-03-30 11:48:16 +01:00
uoscibot e80c5097c2 Adapt imports and metadata for github move 2016-02-29 10:45:49 +00:00