622a0ff424
Cinder's default policy allows the owner of a volume to initiate a retype, even if they aren't an admin. However, if the volume is going to be migrated during the retype operation, then Cinder is going to call the Nova swap volume API, which by default is admin-only. So if a non-admin user tries to retype and migrate their volume, which is attached to a server instance, then it's going to fail with a 403 error from Nova. En lieu of a more complete solution, like Cinder using an elevated service token to call Nova, this change just attempts to document the restriction in the API reference. Change-Id: I6282a6d319beead979780a33880947987906c2f3 Related-Bug: #1698224 |
||
---|---|---|
.. | ||
samples | ||
api-versions.inc | ||
capabilities-v2.inc | ||
consistencygroups-v2.inc | ||
ext-backups-actions-v2.inc | ||
ext-backups.inc | ||
hosts.inc | ||
index.rst | ||
limits.inc | ||
os-cgsnapshots-v2.inc | ||
os-vol-image-meta-v2.inc | ||
os-vol-pool-v2.inc | ||
os-vol-transfer-v2.inc | ||
parameters.yaml | ||
qos-specs-v2-qos-specs.inc | ||
quota-sets.inc | ||
volume-manage.inc | ||
volume-type-access.inc | ||
volumes-v2-extensions.inc | ||
volumes-v2-snapshots-actions.inc | ||
volumes-v2-snapshots.inc | ||
volumes-v2-types.inc | ||
volumes-v2-versions.inc | ||
volumes-v2-volumes-actions.inc | ||
volumes-v2-volumes.inc |