charm-cinder-ceph/unit_tests
James Page fcd1afbe8b Fix support for cinder ceph rbd on Ocata
As of Ocata, the ceph key used to access a specific Cinder
Ceph backend must match the name of the key used by cinder,
with an appropriate secret configured for libvirt use with
the cephx key used by the cinder-ceph charm.

Add support for the new ceph-access relation to allow
nova-compute units to communicate with multiple ceph
backends using different cephx keys and user names.

The lead cinder-ceph unit will generate a UUID for use in
the cinder configuration file, and for use by the remote
nova-compute units when configuring libvirt secrets,
ensuring that both ends of the integration match up.

The side effect of this change is that nova-compute will
have a key for use with its own ephemeral backend ceph
access, and a key for each cinder ceph backend configured
in the deployment.

Change-Id: I974ecb39132feddfffabd6dcef401e91b5548d05
Closes-Bug: 1671422
(cherry picked from commit 62613456e7)
2017-03-14 10:11:12 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00
test_cinder_contexts.py Fix support for cinder ceph rbd on Ocata 2017-03-14 10:11:12 +00:00
test_cinder_hooks.py Fix support for cinder ceph rbd on Ocata 2017-03-14 10:11:12 +00:00
test_cinder_utils.py Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00
test_utils.py Re-license charm as Apache-2.0 2016-07-01 17:22:51 +01:00