cinder/cinder/tests/unit/api
Eric Harney dd727943d0 Disallow unmanaging encrypted volumes
Unmanaging encrypted volumes is problematic because
unmanage assumes that you will be able to manage the
volume again for later use, but, we have no mechanism
currently to keep track of the encryption key which
would be required for using an encrypted volume again.

While this may work out ok when using the conf_key
manager, this patch does not distinguish between conf_key
and barbican deployments.

* The Ocata backport skips the async error message for
  this event due to refactoring of the messages system,
  to minimize risk.

Closes-Bug: #1731518
Change-Id: I7506fa36962404c80f1cc9c6370693728e5393a7
(cherry picked from commit de584713d9)
Conflicts:
	cinder/volume/api.py
(cherry picked from commit 30ca90ffcc)
Conflicts:
	cinder/message/message_field.py
        cinder/tests/unit/api/contrib/test_volume_unmanage.py
	cinder/tests/unit/volume/test_volume.py
2017-12-18 11:28:32 -05:00
..
contrib Disallow unmanaging encrypted volumes 2017-12-18 11:28:32 -05:00
middleware Remove XML API 2016-04-21 16:05:29 +00:00
openstack Make APIVersionRequest's null check more pythonic 2016-12-13 17:23:45 +01:00
v1 Cleanup limit view name processing 2017-01-06 15:59:38 -06:00
v2 Allow v3.0 volume metadata API calls 2017-08-29 12:43:23 +00:00
v3 Update group status 2017-09-06 11:51:00 -07:00
views Simplify calls to mock_object 2016-12-13 18:37:26 +01:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Fix consisgroup V3 interfaces 2016-07-04 16:21:44 +08:00
test_common.py Refactor api test_common to use ddt library 2016-12-05 14:08:43 +02:00
test_versions.py Simplify calls to mock_object 2016-12-13 18:37:26 +01:00