Commit Graph

17 Commits

Author SHA1 Message Date
Billy Olsen d4f3dd2ee6 Updates for jammy quincy and finalise charmcraft builds
- Update charmcraft.yaml for arch builds
- Remove impish-xena tests
- Update osci.yaml to include py3.10 default job
- Resync charmhelpers and charms.ceph

Change-Id: I41abace773d8926eaa00076dd83f52849c96150d
2022-04-07 16:47:55 +02:00
Alex Kavanagh 613c0b82d7 Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.

Change-Id: I77b76a839d4bfcf5fe84fa3d995911586bf23476
2021-05-03 16:02:54 +01:00
Alex Kavanagh cf2948f8f0 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: I773d5f9f699af1a2ea7be543c4e58e0f7bc4433a
2021-04-09 08:42:26 -07:00
Alex Kavanagh 1adefd359b Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Required additional fix:

* Also sync section-ceph-bluestore-compression template

Change-Id: I621c3a0e4e3594808b4c6ec298ed79aada44bae0
2020-09-28 18:48:15 +01:00
Ryan Beisner 4c21a984c6
Sync charm/ceph helpers, tox, and requirements
Change-Id: I7a2ebaa43184420812b6f348039dd37de47d2488
2019-10-02 11:49:01 -05:00
Chris MacNaughton 874e553e0c Add security-checklist action
Change-Id: I6e2ff9b546a1283748550beefc366ae055b63b7e
Func-Test-PR: https://github.com/openstack-charmers/zaza/pull/193
2019-03-13 10:32:13 +01:00
David Ames 4855a07d50 Update charm-helpers-hooks.yaml and sync ch
Using the new version of the sync tool which removes the charmhelpers
directory before syncing, run charm helpers sync to find any unexpected
missing dependencies.

Change-Id: I88706824d0f755b016fc393b273a76e9b09aa4c3
2019-02-12 15:55:44 -08: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
Frode Nordahl d84edcdba7 Update repo to do ch-sync from Git
Change-Id: I7bd5b62d3bfdd11334b3a8ce25692c1343a5c515
2017-09-26 08:56:43 +02:00
Chris Holcombe 7d42f6e060 Add support for apparmor security profiles
Install apparmor profile for ceph-osd processes, and provide
associated configuration option to place any ceph-osd processes
into enforce, complain, or disable apparmor profile mode.

As this is the first release of this feature, default to disabled
and allow charm users to test and provide feedback for this
release.

Change-Id: I4524c587ac70de13aa3a0cb912033e6eb44b0403
2016-09-28 09:30:52 +01:00
James Page 5e506b8c50 Add support for application version
Juju 2.0 provides support for display of the version of
an application deployed by a charm in juju status.

Insert the application_version_set function into the
existing assess_status function - this gets called after
all hook executions, and periodically after that, so any
changes in package versions due to normal system updates
will also be reflected in the status output.

This review also includes a resync of charm-helpers to
pickup hookenv support for this feature.

Change-Id: If1ec3dcc5025d1a1f7e64f21481412ad630050ea
2016-09-21 09:47:09 +01:00
Edward Hope-Morley 8f0347d692 Add support for user-provided ceph config
Adds a new config-flags option to the charm that
supports setting a dictionary of ceph configuration
settings that will be applied to ceph.conf.

This implementation supports config sections so that
settings can be applied to any section supported by
the ceph.conf template in the charm.

Change-Id: I306fd138820746c565f8c7cd83d3ffcc388b9735
Closes-Bug: 1522375
2016-06-01 11:31:18 +01:00
Chris Holcombe 4285f14a55 Rolling upgrades of ceph osd cluster
This change adds functionality to allow the ceph osd cluster to
upgrade in a serial rolled fashion.  This will use the ceph monitor
cluster to lock and allows only 1 ceph osd server at a time to upgrade.
The upgrade is initiated setting a config value for source for the
service which will prompt the osd cluster to upgrade to that new
source and restart all osds processes server by server.  If an osd
server has been waiting on a 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.

I had to modify the amulet test slightly to use the ceph-mon charm
instead of the default ceph charm.  I also changed the test so that
it uses 3 ceph-osd servers instead of 1.

Limtations of this patch: If the osd failure domain has been set to osd
than this patch will cause brief temporary outages while osd processes
are being restarted.  Future work will handle this case.

This reverts commit db09fdce93.

Change-Id: Ied010278085611b6d552e050a9d2bfdad7f3d35d
2016-03-31 11:36:27 -07:00
Edward Hope-Morley 62cc614573 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: Ic417d678d3b0f7bfda5b393628a67297d7e79107
2016-03-24 11:14:47 +00:00
Liam Young 728c672f1c [gnuoy,trivial] Pre-release charmhelper sync 2015-08-03 15:53:05 +01:00
Brad Marshall 9eafa9985b [bradm] Added nrpe check 2014-11-04 17:05:18 +10:00
Corey Bryant bef53f2f1a Move charm-helpers-sync.yaml to charm-helpers-hooks.yaml and
add charm-helpers-tests.yaml.
2014-09-27 02:28:51 +00:00