Commit Graph

38 Commits

Author SHA1 Message Date
Zuul 0505d53f92 Merge "Add 2023.2 Bobcat support" 2023-08-02 20:40:48 +00:00
Corey Bryant 986981c6f4 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

Change-Id: I7449eba63107b43525359fb92ae1a0ad9e648bab
2023-07-25 17:26:56 -04:00
Jadon Naas af700cf326 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: I0fb5e14bd2e58d4abdcce6e230d5c4c1a1d00af7
2023-07-18 13:58:38 -04:00
Chris MacNaughton aa2ec8c861 Add support for interim Ubuntu releases
- update bundles to include UCA pocket tests
- update test configuration
- update metadata to include lunar
- update snapcraft to allow run-on for lunar

Change-Id: I16b9d724930eacca42b9410c73931caceca8cca8
2023-03-17 10:29:20 -04:00
Corey Bryant 931d530ab5 Add kinetic support
Add 22.10 run-on base and add kinetic to metadata.yaml.

Change-Id: I519e59794d1e046d0bf985d8a22129270c33c10a
2023-01-31 10:11:43 -05:00
Chris MacNaughton 88ecd7f6ec Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- ensure that the source is yoga

Change-Id: Ibb93704c6d66f522cf112ad115b3a294d7a1eb03
2022-03-30 17:03:00 +02:00
Zuul 99ef6cb306 Merge "Enhance the 'add-disk' action for disk replacement" 2022-02-22 07:45:04 +00:00
Luciano Lo Giudice 65207967cf Enhance the 'add-disk' action for disk replacement
As part of the task to improve disk replacement, the 'add-disk' action
needs some changes. This includes:
- Creating 'bcache' devices to accelerate disk access.
- Creating caching partitions of a specified size.
- Recycling previously deactivated OSD ids.

Change-Id: Id5027f30d51c23d2be4c34f82867d65a50b35137
Depends-On: I43d0a0bc11664c37532c0117711affc93c9d1ad1
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/675
2022-02-18 12:43:46 -03:00
Alex Kavanagh a5e0c6ed99 Migrate charm to charmhub latest/edge track
Change-Id: If9f1d3c100e80fb356cd28698a917b7a0f1955f0
2022-01-27 19:41:36 +00:00
Corey Bryant f2d704a14d 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: I4d517c40a4450ef1395dd0240513eeebc069384c
2021-11-17 13:46:25 -05:00
Aurelien Lourot 61c522ede8 Add impish to metadata.yaml
Change-Id: I48019237ab6419a9a5782c382bf8c3f64c59c067
2021-06-03 11:08:29 +02:00
Alex Kavanagh 4864ab2e3f 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: Ie74ae1fde538b048a07a067ec67b6b3b26f22de6
2021-03-02 20:52:58 +00:00
Aurelien Lourot f7dda9eb7b Remove Disco and Eoan bits
Change-Id: Id6642e0d3773d318c20b74b229786921f1b00dbf
2021-01-12 13:52:09 +01:00
Alex Kavanagh 8b0b24d6c6 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: I56a59d0c4e72a35b7c4ac5d989e0d005fae20946
2020-06-02 14:28:22 +01:00
Alex Kavanagh f6b846142b Enable focal and ussuri as part of the gate tests
Add bionic-ussuri and focal-ussuri (with mysql8 support) bundles.
The associated func-test-pr is to disable the /dev/vdb pristine disk
check as it doesn't work on focal.

Change-Id: I00b2b739c97dc41b2f987f29e12844e6cf5e921c
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/249
2020-04-22 18:53:55 +01:00
Alex Kavanagh d38e26e819 Remove disco support from the charm
Change-Id: Ia9549a9404f3b5dbc62631817fa6bd3de809b617
2020-02-18 12:31:50 +00:00
Chris MacNaughton 3e4ba70fcc
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: I15be21c0761e6ff84415b2ae004f41fd28b76409
2019-08-19 11:48:13 -04:00
Frode Nordahl 09af829f59 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: I225a0828bb43555fe72fdfbf1028be7dde090d3a
2019-04-05 07:49:43 +02:00
Ryan Beisner a38333b879 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: I53e9ff1e1153d086b3eb6d80b2f320c6ae75e880
2018-07-11 14:03:27 -05:00
James Page 2069e620b7 Add support for vault key management with vaultlocker
vaultlocker provides support for storage of encryption keys
for LUKS based dm-crypt device in Hashicorp Vault.

Add support for this key management approach for Ceph
Luminous or later.   Applications will block until vault
has been initialized and unsealed at which point OSD devices
will be prepared and booted into the Ceph cluster.

The dm-crypt layer is placed between the block device
parition and the top level LVM PV used to create VG's
and LV's to support OSD operation.

Vaultlocker enables a systemd unit for each encrypted
block device to perform unlocking during reboots of the
unit; ceph-volume will then detect the new VG/LV's and
boot the ceph-osd processes as required.

Note that vault/vaultlocker usage is only supported with
ceph-volume, which was introduced into the Ubuntu packages
as of the 12.2.4 point release for Luminous.  If vault is
configured as the key manager in deployments using older
versions, a hook error will be thrown with a blocked
status message to this effect.

Change-Id: I713492d1fd8d371439e96f9eae824b4fe7260e47
Depends-On: If73e7bd518a7bc60c2db08e2aa3a93dcfe79c0dd
Depends-On: https://github.com/juju/charm-helpers/pull/159
2018-05-15 08:28:15 +01:00
Dmitrii Shcherbakov 189e7620c0 add bluestore-specific config options
Adds bluestore-specific options related to the metadata-only journal.

The options allow a user to control:

1. path to a bluestore wal (block special file or regular file)
2. path to a bluestore db (block special file or regular file)
3. size of both

Their configuration works similarly to the FileStore journal. If paths
are not specified both WAL and DB will be collocated on the same block
device as data.

Other options can be configured via an existing config-flags option if needed.
http://docs.ceph.com/docs/master/rados/configuration/bluestore-config-ref/

Closes-Bug: #1710474
Change-Id: Ia85092230d4dcb0435354deb276012f923547393
Depends-On: I483ee9dae4ce69c71ae06359d0fb96aaa1c56cbc
Depends-On: Idbbb69acec92b2f2efca80691ca73a2030bcf633
2017-12-20 12:02:42 +00:00
Ryan Beisner 7848824d8d 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: If8d82e92a6768af127e68d18c65dfbc3b97f49f9
2017-12-05 05:27:17 +00:00
Ryan Beisner a162c15a0c Add Artful dev series metadata
Change-Id: I8b66ca368dcf6ec55d4c558e96f156c4859bad63
2017-09-26 15:02:11 -04:00
Ryan Beisner ea59c761a4 Remove deprecated series metadata and tests
Change-Id: I7f7eb751b1996415ede24ac61f51bad685735da0
2017-08-23 09:51:47 -05:00
David Ames 42b71274d6 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 unit test failures.

Change-Id: Ia14904339099d84d09a2fce171740459a76a8367
2017-03-23 09:29:00 +00:00
Ryan Beisner 3a3cbcb37b 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: I367b6e9e22464c0b85e71ad330234477699835e0
2016-12-03 16:41:49 +00:00
Chris MacNaughton d045424c54 Add minimum-size to osd-devices
This stops an error that happens when size is not
specified when adding storage via Juju storage hooks.
Without a set minimum, Juju will give 1G to a disk
which will cause ceph-disk to fail when connecting
the new disk.

Change-Id: Ib57314945b1f0bf8995029f5506543bc1b53c89b
2016-10-17 16:29:29 -04:00
James Page f41a1a78f9 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: Ifff786758eab3b5b06d68afb6b07d842a0377219
2016-09-14 09:19:53 +01:00
Jenkins 7733790748 Merge "Add support for Storage hooks" 2016-05-19 15:12:29 +00:00
Chris MacNaughton 7e2ef1d0ea Add support for Storage hooks
This adds support for Juju's storage hooks by merging the config
provided osd-devices with Juju storage provided osd-devices, in the
same way that the existing Ceph charm handles them.

In addition to providing support for ceph-osds via Juju storage,
we provide support for multiple journal devices through Juju storage
as well.

We have to add a shim hook to ensure that Ceph is installed prior
to storage hook invocation because storage attached at deploy time
will execute hooks before the install hook

Change-Id: Idad46e8f4cc32e09fbd64d29cd93745662e9f542
2016-05-17 08:06:07 -04:00
James Page afe7651e5c 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: I78ab6993ad5bd324ea52e279c6ca2630f965544c
2016-04-08 22:42:36 +01:00
James Page 204cf03269 Update maintainer 2015-11-18 10:30:34 +00:00
Ryan Beisner f7b19fe4dd update tags for consistency with other openstack charms 2015-07-01 14:47:29 +00:00
Ryan Beisner 781f6edb6d amulet tests - update test coverage, enable vivid, prep for wily 2015-06-17 16:19:09 +00:00
root 114f2c656b [bradm] initial nrpe checks 2014-10-29 22:30:35 -05:00
James Page bc5dc2a2e5 [trivial] Tidy configuration lint 2014-10-06 23:11:14 +01:00
James Page f9ac39e6f0 Documentation updates 2012-10-08 17:10:10 +01:00
James Page 1683ffaa84 Initial ceph-osd charm 2012-10-08 15:07:16 +01:00