charm-swift-storage/hooks
James Page 591c084532 Add support for block device encryption
Add new secrets-storage relation to vault, supporting the
use of block device encryption using dm-crypt/vaultlocker.

Prepared devices are now recorded in the local unit kv
store; this information is used to provide a list of
configured block devices to the swift-proxy charm,
rather than the previous best guess provided by
determine_block_devices.  This allows us to use the
dm-crypt device name, rather than the underlying
block device.

Encrypted block devices are unlocked on boot using
vaultlocker-decrypt systemd units (enabled by vaultlocker);
/etc/fstab entries for such devices make use of a
x-systemd.requires option to ensure that the block device
is unlocked prior to attempting to mount it.

Add new storage binding to allow charm to be used with
Juju storage.

Add new ephemeral-unmount configuration option to allow
cloud ephemeral storage to be used for testing purposes;
update functional testing to use this option.  The behaviour
of 'overwrite' was changed to accomodate the use of
encrypted block devices.

Change-Id: I9b3f8cd2de412ee96e0139dba4d4abdf998ecaf2
2018-05-08 12:52:37 +01:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 18:15:00 +01:00
block-devices-storage-attached Add support for block device encryption 2018-05-08 12:52:37 +01:00
block-devices-storage-detached Add support for block device encryption 2018-05-08 12:52:37 +01:00
charmhelpers Move charmhelpers to top-level, symlink into hooks 2015-07-17 10:58:24 +01:00
config-changed Update symlinks. 2013-07-19 14:26:50 -07:00
install Install python dependencies early for CH ip.py 2016-07-18 10:04:21 -07:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:57:37 +01:00
lib Add lib, move library code there. Symlink into hooks directory. 2015-07-17 10:57:19 +01:00
nrpe-external-master-relation-changed [bradm] Adding nrpe checks, handle rsyncd config fragments 2014-10-30 00:52:15 -05:00
nrpe-external-master-relation-joined [bradm] Adding nrpe checks, handle rsyncd config fragments 2014-10-30 00:52:15 -05:00
secrets-storage-relation-broken Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-changed Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-departed Add support for block device encryption 2018-05-08 12:52:37 +01:00
secrets-storage-relation-joined Add support for block device encryption 2018-05-08 12:52:37 +01:00
start Update of all Havana / Saucy / python-redux work: 2013-10-15 12:48:33 +01:00
stop Update of all Havana / Saucy / python-redux work: 2013-10-15 12:48:33 +01:00
storage.bootstrap Add support for block device encryption 2018-05-08 12:52:37 +01:00
storage.real Add support for block device encryption 2018-05-08 12:52:37 +01:00
swift-storage-relation-changed Update symlinks. 2013-07-19 14:26:50 -07:00
swift-storage-relation-departed Swift storage ACLs 2017-11-07 10:24:53 -08:00
swift-storage-relation-joined Update symlinks. 2013-07-19 14:26:50 -07:00
swift_storage_hooks.py Add support for block device encryption 2018-05-08 12:52:37 +01:00
update-status Add hardening support 2016-03-24 11:11:58 +00:00
upgrade-charm Fixup upgrades, which miss install of psutil package 2014-10-07 09:37:20 +01:00