8 Commits

Author SHA1 Message Date
James Page
747fa2d68d Misc fixes for charm infra
Update pydev project definition to use python 3.

Drop upper bound on flake8.

Tidy misc lint across codebase with newer flake8.

Change-Id: I9637ac603cb3801c9e3ffa8c2b0897968d42ada5
2020-05-26 09:38:07 +01:00
Ryan Beisner
a1c8124d16
Fix lint in unit test
Change-Id: Ibf8f4a7f92a9cb95a09596860e2d0e1337c20c01
2018-11-01 14:58:23 -05:00
James Page
d10dd7795e Add support for instance storage encryption
Add support for encryption of the underlying block device providing
storage for local instances.

This commit introduces a new juju storage binding and configuration
option to provide a single block device for use for local instance
storage; this block device is formatted and mounted at
/var/lib/nova/instances.  In a MAAS deployment, this could be a
bcache fronted device.

The configuration option is preferred over the Juju storage binding
if both are supplied.

This block device can optionally be encrypted using dm-crypt/LUKS
with encryption keys stored in Hashicorp Vault using vaultlocker.

vaultlocker ensures that keys are never persisted to local storage,
providing assurance around security of data at rest in the event
that disks/server are stolen.

Charm support is implemented using a new configuration option 'encrypt'
which when set enforces a mandatory relationship to an instance
of the vault application.

Copy the 'ephemeral-unmount' config option and assocaited code from
the ceph-osd and swift-storage charms to enable testing in cloudy
environments.

Change-Id: I772baa61f45ff430f706ec4864f3018488026148
2018-05-15 08:27:10 +01:00
Author Name
b24555e224 Update to run under Python 3
Updating charm to support execution under Python 3.

Change-Id: I9013860b5eefef05bee5b473e30217229fb6a739
2017-11-20 11:04:26 +00:00
James Page
e63904cc49 Re-license charm as Apache-2.0
All contributors to this charm have agreed to the switch
from GPL v3 to Apache 2.0; switch to Apache-2.0 license
as agreed so we can move forward with official project status.

Change-Id: I385f684581a74ae41b507ed9e9d17ef1e9fc5819
2016-07-03 16:37:37 +00:00
David Ames
783d5ccc85 Workload Status 2015-09-25 15:12:01 -07:00
James Page
957ffb3216 [gandelman-a] Merge of changes for ODS keynotes including NVP support and service restart on db changes. 2013-11-17 21:47:29 +00:00
Adam Gandelman
a6508d24e6 tests/ -> unit_tests/ 2013-08-01 16:23:29 -07:00