cinder/api-ref/source/v3
Yadiel Xuan(轩艳东) dd12492f32 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)
2022-03-25 12:01:03 +00:00
..
samples Snapshot in-use volumes without force flag 2021-08-31 14:48:32 -04:00
api-versions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
attachments.inc Fix: Schema validation for attachment create API 2021-06-16 11:26:21 -04:00
capabilities-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
consistencygroups-v3.inc cinder:api-ref replace mention of "policy.json" 2020-07-07 20:55:09 +05:30
default-types.inc Default type overrides 2020-09-16 14:05:31 +00:00
ext-backups-actions-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
ext-backups.inc Doc: Remove backup_id from backup import url and parameter 2021-08-09 12:03:39 +02:00
group-replication.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-snapshots.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-type-specs.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-types.inc Update api-ref 2020-02-04 18:41:30 -05:00
groups.inc [api-ref]Add replication_status(optional) to List groups with details response 2020-09-15 15:47:26 +08:00
hosts.inc [api-ref]Fix values of service-status in list-hosts 2019-08-23 09:41:37 +08:00
index.rst Default type overrides 2020-09-16 14:05:31 +00:00
limits.inc Automate generation of qos specs api-ref samples 2019-09-27 17:43:40 +05:30
messages.inc Update api-ref 2020-02-04 18:41:30 -05:00
os-cgsnapshots-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
os-services.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
os-vol-pool-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
os-vol-transfer-v3.inc api-ref: Fix "id" parameter 2021-03-25 09:14:32 -04:00
parameters.yaml Reject bad img formats for uploaded encrypted vols 2022-01-11 18:09:57 +00:00
qos-specs-v3-qos-specs.inc Automate generation of qos specs api-ref samples 2019-09-27 17:43:40 +05:30
quota-classes.inc Automate generation of quotas api-ref samples 2019-09-30 16:29:49 +05:30
quota-sets.inc Remove NestedQuotaDriver 2021-01-19 17:43:29 +00:00
resource-filters.inc Expose volume & snapshot use_quota field 2021-08-26 19:04:12 +02:00
snapshot-manage.inc Cleanup api-ref sample files 2019-07-03 13:22:33 -05:00
valid-boolean-values.inc Include .inc files in doc8 linting 2019-02-19 11:33:05 -06:00
vol-transfer-v3.inc api-ref: Fix "name" parameter 2021-04-16 20:31:08 +00:00
volume-manage.inc Prohibit volume manage to an encrypted volume type 2022-03-25 12:01:03 +00:00
volume-type-access.inc Update api-ref 2020-02-04 18:41:30 -05:00
volumes-v3-extensions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
volumes-v3-snapshots-actions.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
volumes-v3-snapshots.inc Snapshot in-use volumes without force flag 2021-08-31 14:48:32 -04:00
volumes-v3-types.inc [api-ref]Fix response example file of update_type 2019-08-23 14:50:27 +08:00
volumes-v3-versions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
volumes-v3-volumes-actions.inc Reject bad img formats for uploaded encrypted vols 2022-01-11 18:09:57 +00:00
volumes-v3-volumes.inc Expose volume & snapshot use_quota field 2021-08-26 19:04:12 +02:00
worker-cleanup.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30