cinder/cinder/tests
Yadiel Xuan(轩艳东) 9c1aa92b95 Prohibit volume manage to an encrypted volume type
Managing a volume to an encrypted volume type should not be allowed.
One reason is that there is no way for an operator to specify an
encryption key ID for the volume. Another is that we already don't
allow a volume of an encrypted type to be un-managed, so this change
will be symmetric.

Also update and correct the api-ref for this call.

Co-authored-by: xuan <xuanyd@outlook.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Change-Id: Ic2da41f3962c1108f974aca952bce3da6d6ac277
Closes-bug: #1944577
(cherry picked from commit 8088dc9580)
change:
  cinder/tests/unit/api/contrib/test_volume_manage.py - used a
  feature of unittest.mock that was introduced in py38; rewritten to
  be compatible with py36
2022-03-23 01:57:28 +00:00
..
compliance Fix compliance tests 2020-05-11 14:46:19 -05:00
functional Prohibit volume manage to an encrypted volume type 2022-03-23 01:57:28 +00:00
hacking Use LOG.warning instead of deprecated LOG.warn 2022-02-09 08:29:02 +09:00
stubs/oslo_i18n Add mypy tox env 2020-10-14 08:24:13 -04:00
unit Prohibit volume manage to an encrypted volume type 2022-03-23 01:57:28 +00:00
README.rst Update the documentation link 2017-08-26 06:52:48 -07:00
__init__.py
fake_driver.py Move trace methods from utils to volume_utils 2021-02-12 20:16:55 +00:00
fixtures.py Add infrastructure for testing new RBAC policies 2021-08-31 15:41:17 -07:00

README.rst

IMPORTANT DEFINITION OF TESTS IN CINDER

Cinder has a number of different test types, PLEASE be sure to refer to the Cinder Testing Docs to familiarize yourself with the various options before creating any new tests.

Please check Cinder-Testing.