]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
encryption_api_url requires a version
authorOllie Leahy <oliver.leahy@hp.com>
Thu, 1 Oct 2015 17:21:52 +0000 (18:21 +0100)
committerJohn Griffith <john.griffith8@gmail.com>
Tue, 13 Oct 2015 18:26:05 +0000 (18:26 +0000)
commitf16d13e4cad21f8039c604b8683bd321b824a786
tree414f7da06febb0370ac61d2fefae13aab256ddf9
parent7fb767f2d652f070a20fd70d92585d61e56f3a50
encryption_api_url requires a version

If the value configured for encryption_api_url does not include the
barbican API version, then some calls from cinder will fail. This can
mean that encrypted volumes cannot be deleted. To prevent this happening
raise an exception if the configured value for encryption_api_url does not
include the barbican version.

Change-Id: I1a4c9b9e93d7d189a3cdf1469e8bb87817473da5
Closes-Bug: #1501780
cinder/keymgr/barbican.py
cinder/tests/unit/keymgr/test_barbican.py