charm-swift-storage/charmhelpers/contrib/openstack
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
..
amulet Add support for block device encryption 2018-05-08 12:52:37 +01:00
files Sync charm-helpers 2018-01-19 16:13:12 +02:00
ha Sync charm-helpers 2018-01-19 16:13:12 +02:00
templates Add support for block device encryption 2018-05-08 12:52:37 +01:00
__init__.py Resync charmhelpers for licensing change 2016-07-06 16:44:39 +01:00
alternatives.py Swift storage ACLs 2017-11-07 10:24:53 -08:00
context.py Add support for block device encryption 2018-05-08 12:52:37 +01:00
exceptions.py Resync charmhelpers for licensing change 2016-07-06 16:44:39 +01:00
ip.py Sync charm-helpers to enable swift 2.10.0 2016-09-29 16:43:40 +00:00
keystone.py Update tests to use keystoneauth1 2017-07-24 15:51:08 -07:00
neutron.py Swift storage ACLs 2017-11-07 10:24:53 -08:00
templating.py Sync charm-helpers 2018-02-22 09:40:46 +00:00
utils.py Add support for block device encryption 2018-05-08 12:52:37 +01:00
vaultlocker.py Add support for block device encryption 2018-05-08 12:52:37 +01:00