cinder/api-ref/source
Yadiel Xuan(轩艳东) ba947e6d7d 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
(cherry picked from commit 9c1aa92b95)
(cherry picked from commit dd12492f32)
conflicts:
  cinder/tests/unit/api/contrib/test_volume_manage.py - restored a v2
  test that had been removed in xena
added:
  api-ref/source/v2/volume-manage.inc
2022-06-03 11:14:49 -04:00
..
v2 Prohibit volume manage to an encrypted volume type 2022-06-03 11:14:49 -04:00
v3 Prohibit volume manage to an encrypted volume type 2022-06-03 11:14:49 -04:00
api_microversion_history.rst Add microversion history to api-ref 2018-09-18 14:59:37 -05:00
conf.py Switch to newer openstackdocstheme and reno versions 2020-05-27 12:28:24 +00:00
index.rst Add microversion history to api-ref 2018-09-18 14:59:37 -05:00
status.yaml Use rest_status_code for api-ref response codes 2018-03-08 21:59:37 -06:00