Commit Graph

49 Commits

Author SHA1 Message Date
Zuul 61c8209e3d Merge "Add 2023.2 Bobcat support" 2023-08-04 15:12:34 +00:00
Corey Bryant 49e21b83a3 Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to quincy
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* update charmcraft_channel to 2.x/stable

Change-Id: I4c9d7fc9f3f3588fa777b5ecb14971ff923f2d11
2023-08-03 13:52:35 -04:00
Jadon Naas 3eb5898a65 Add docs key and point at Discourse
Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.

When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.

Change-Id: I173cadb5a8208283883e1119dbfc5d661809cc5f
2023-07-18 13:55:47 -04:00
Chris MacNaughton e152728b7b Add kinetic support
Change-Id: I42acfcd1ec49e1a9181f92a46d522ce3a6e92514
2022-10-26 08:08:53 -04:00
Peter Sabaini 9c7101f573 Implement prometheus alert rules
Alert rules can be attached as a resource and will be transmitted via
the metrics-endpoint relation. Default alert rules taken from upstream
ceph have been added for reference.

Change-Id: I6a3c6f06e9b9d911b35c8ced1968becc6471b362
2022-09-23 14:22:06 +02:00
Peter Sabaini 24dfc7440d Add support for prometheus-k8s
Add support for the metrics-endpoint relation. This allows relating
ceph-mon to prometheus-k8s which is being used in the COS Lite
observability stack. Upon relation, the ceph prometheus module will be
enabled and a corresponding scrape job configured for prometheus-k8s.

Drive-by test improvement for the utils module

Change-Id: Iaeee57aaa6f3678fdaef35f2582b4b4c974acb2a
2022-09-06 10:14:37 +02:00
Billy Olsen d72e8db254 Updates for jammy enablement
- charmcraft: build-on 20.04 -> run-on 20.04/22.04 [*archs]
- Refresh tox targets
- Drop impish bundles and OSCI testing
- Add jammy metadata
- Default source is yoga
- Resync charmhelpers and charms.ceph

Change-Id: Ib62d7f882f22146419dfe920045b73452f9af2cb
2022-04-07 14:16:20 +01:00
Alex Kavanagh f61afd5d21 Migrate charm to charmhub latest/edge track
Change-Id: I82c5640230149a227183b67aff5ce14e147cd55e
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-01-28 11:04:01 +01:00
Corey Bryant 7cd789601d Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39
* charms.ceph sync

Change-Id: I214c0517b223da5fce9e942269fd8703422d1a2b
2021-11-17 13:46:05 -05:00
Liam Young be716fea82 Add support dashboard relation
Add support for the dashbaord relation. The relation enables the
mons to signal to the dashboard that the cluster is ready.

Change-Id: I279142d386a8bf369c0b9dff3b7be9d65f314bf5
2021-08-19 12:14:08 +00:00
Aurelien Lourot e035bf9cab Add impish to metadata.yaml
Change-Id: I1651a644ae99228d94de224aef110f6a1835d635
2021-07-02 11:10:00 +02:00
Alex Kavanagh 97c423b8a7 Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).

Change-Id: Ib160d6ff913702486c9a9d81252d0129e8da79a9
2021-03-02 20:52:44 +00:00
Aurelien Lourot 6dda138606 Remove Disco and Eoan bits
Change-Id: I41e5210d29029adb1993d507eef8b085b08e9741
2021-01-12 13:51:33 +01:00
Alex Kavanagh eb0efab571 Updates for 20.08 cycle start for groovy and libs
- Adds groovy to the series in the metadata
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild

Change-Id: I2f7aaaa327a82f85e9b90b9369c81db86d848324
2020-06-02 14:28:08 +01:00
Alex Kavanagh 1b09beef8b Enable focal and ussuri as part of the gate tests
Add bionic-ussuri and focal-ussuri (with mysql8 support) bundles.

Change-Id: I525b13cf92644dc9d0a4c5290e7a951e3d1a653a
2020-04-29 11:32:54 +01:00
Chris MacNaughton 425c078299 Add support for Ceph's prometheus monitoring
This adds support for Ceph's prometheus monitoring
when Ceph itself has this support

Change-Id: I621824c910b0540181d5aca194c6b98e1d3d62d6
Closes-Bug: #1789332
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/214
2020-04-08 13:41:08 +00:00
Alex Kavanagh 0aeffdf356 Remove disco support from the charm
Change-Id: I7b709f4203799c1466d2327ca5a21cf2da7c416f
2020-02-18 17:03:02 +00:00
Chris MacNaughton 38011f246d
Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: Icc110d1591307c7dbc74d5249f6f8c962ae50e5c
2019-08-19 11:47:29 -04:00
Frode Nordahl ea6ab42393 Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: I95cf0427becd218ea2163abd6de8f375f68cf131
2019-04-05 07:49:06 +02:00
Frode Nordahl 677dc1806a
Add ``rbd-mirror`` relation
Reactive interface counterpart is here:
https://github.com/openstack-charmers/charm-interface-ceph-rbd-mirror

Sync charms.ceph.

Depends-On: I1bad5311ed034188a78dc67b493c22bff7ce4f7d
Change-Id: I509793e6c5aad9ea41fa4904c83b58e7477770e8
2019-02-25 00:34:07 +03:00
Ryan Beisner b37c9a8089 Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: Ia63fa3d60326f20283b6753638dac8e9406ce7f7
2018-07-11 14:03:19 -05:00
Ryan Beisner 043d5483f6 Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: Id5bb7415e930772d4bca124a3c09bb5e3bafa009
2017-12-05 05:27:11 +00:00
Jenkins 95b7f9b444 Merge "Add ceph-bootstrap relation for ceph charm migration" 2017-10-05 14:43:35 +00:00
Billy Olsen e7964d40c8 Add ceph-bootstrap relation for ceph charm migration
This commit adds the no-bootstrap config option and a new relation
for sharing existing monitor information with the ceph-mon charm
(e.g. the fsid and monitor-secret).

Change-Id: Iced246b79572142df5608bf731b6b2759ea81fd0
Implements-Blueprint: charm-ceph-migration
2017-10-02 21:11:16 -07:00
Ryan Beisner 66d3a34e94 Add Artful dev series metadata
Change-Id: Ie3777a7e028eeef59fdd354329371fc3237e64ae
2017-09-26 14:26:02 -04:00
Ryan Beisner 5677d36a32 Remove deprecated series metadata and tests
Change-Id: I9fc41c55e50238a27443adb2829a53333b282a8f
2017-08-23 09:51:38 -05:00
David Ames 9bb335fd88 Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.
- Resync tox.ini to resolve amulet test failures.

Change-Id: I75d0b5e0ff5ba3619e5f24567deb77c404b822cb
2017-03-23 09:27:46 +00:00
Ryan Beisner 5d8541b573 Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: I00a4c855d4da01b22110f06bf2820bca0bcde7b9
2016-12-03 16:41:17 +00:00
Chris Holcombe 4d99f2853b Add MDS Relation
Adding an mds relation to allow ceph-fs to come up
properly.  CephFS requires a few things that none
of the other relations implemented.

Change-Id: I7e8ab321a733a778c4ed1c52db3ea091dd993556
2016-09-27 08:05:37 -04:00
James Page 90cd12afe1 Add charm series data to metadata.yaml
This optimizes the publication process to the charm store, and
ensures that the charm code and version is consistent across all
supported Ubuntu series.

Change-Id: I4dfce514ccad4ee98ee724e4365eef846a98267b
2016-09-14 09:19:09 +01:00
Chris Holcombe 4bdb0174fd Add Admin Relation
OpenAttic is a manager for Ceph and requires access to the
cephx admin keyring. This relation can be used by any
Ceph management software that needs the admin key.

Change-Id: Ied73e775bdf58f226f9b7ffcc6353ed1be3ec245
2016-08-25 13:11:12 -07:00
James Page e22814e092 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: If4ce1ef545638130cb7e5f0d77b949d9b2e28090
2016-04-07 16:22:52 +01:00
Chris MacNaughton 90e9865a97 remove osd stuff 2016-01-25 11:10:14 -05:00
Andrew Wilkins 669fd96b11 Add osd-devices and osd-journal block storage
Add the "osd-devices" block-type storage, with
minimum of 0 and no maximum. Volumes assigned to
a unit will be added as OSDs.

Also, add the "osd-journal" block-type storage,
with minimum of 0 and maximum of 1. The osd-journal
storage, if supplied, will be used in favour of
osd-journal configuration if supplied.

For now, handling of osd-journal is static, just
as the configuration method was before. Removing
or adding the journal after deployment is not
currently supported. This is possible with further
changes, but requires stopping Ceph and migrating
the existing journal, and so out of scope here.
2015-11-23 17:13:18 +08:00
James Page 0a8c917402 Update maintainer 2015-11-18 10:29:56 +00:00
Ryan Beisner 360b2435c8 update tags for consistency with other openstack charms 2015-07-01 14:47:39 +00:00
Ryan Beisner ee65ef3d62 lint cleanup; fix test dependency typo; remove fakefail 2015-06-16 13:26:28 +00:00
Liam Young 1eba2e8969 [gnuoy,trivial] Fix charm proof warning 2015-02-04 15:31:08 +00:00
Brad Marshall ee991c7554 [bradm] Initial nrpe checks 2014-10-30 16:57:10 +10:00
root e10ef18c54 [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
Mark Mims 8854dea218 merging lp:~james-page/charms/precise/ceph/charm-helpers as per https://code.launchpad.net/~james-page/charms/precise/ceph/charm-helpers/+merge/173245 2013-07-14 13:46:24 -06:00
Jorge O. Castro 34eff91995 Add category 2013-07-11 15:45:38 -04:00
James Page 068b8b05a4 Add flake8 and charm proof target for Make 2013-06-24 10:13:52 +01:00
Jorge O. Castro 9e2fc1555a Add categories 2013-04-22 15:49:09 -04:00
James Page 0e9ead3d48 Rename ceph-brolin -> ceph 2012-10-09 14:04:32 +01:00
James Page ecde5f7699 Added support for remote OSD services 2012-10-08 15:06:09 +01:00
James Page dbd2a656cb Updates for pep8 compliance, added peer hinting to mon hook, removed redundant mon-relation-changed hook, updated copyright, added start/stop hooks to keep charm proof quiet 2012-10-04 09:28:49 +01:00
Paul Collins 3e55c31017 add README and some prototype hooks 2012-10-02 22:25:11 +13:00
Paul Collins 8ff7acad82 start with some boilerplate 2012-10-02 00:34:28 +13:00