| 1 |
--- |
| 2 |
critical: |
| 3 |
- | |
| 4 |
Detaching volumes will fail if Nova is not `configured to send service |
| 5 |
tokens <https://docs.openstack.org/cinder/latest/configuration/block-storage/service-token.html>`_, |
| 6 |
please read the upgrade section for more information. (`Bug #2004555 |
| 7 |
<https://bugs.launchpad.net/cinder/+bug/2004555>`_). |
| 8 |
upgrade: |
| 9 |
- | |
| 10 |
Nova must be `configured to send service tokens |
| 11 |
<https://docs.openstack.org/cinder/latest/configuration/block-storage/service-token.html>`_ |
| 12 |
**and** cinder must be configured to recognize at least one of the roles |
| 13 |
that the nova service user has been assigned in keystone. By default, |
| 14 |
cinder will recognize the ``service`` role, so if the nova service user |
| 15 |
is assigned a differently named role in your cloud, you must adjust your |
| 16 |
cinder configuration file (``service_token_roles`` configuration option |
| 17 |
in the ``keystone_authtoken`` section). If nova and cinder are not |
| 18 |
configured correctly in this regard, detaching volumes will no longer |
| 19 |
work (`Bug #2004555 <https://bugs.launchpad.net/cinder/+bug/2004555>`_). |
| 20 |
security: |
| 21 |
- | |
| 22 |
As part of the fix for `Bug #2004555 |
| 23 |
<https://bugs.launchpad.net/cinder/+bug/2004555>`_, cinder now rejects |
| 24 |
user attachment delete requests for attachments that are being used by nova |
| 25 |
instances to ensure that no leftover devices are produced on the compute |
| 26 |
nodes which could be used to access another project's volumes. Terminate |
| 27 |
connection, detach, and force detach volume actions (calls that are not |
| 28 |
usually made by users directly) are, in most cases, not allowed for users. |
| 29 |
fixes: |
| 30 |
- | |
| 31 |
`Bug #2004555 <https://bugs.launchpad.net/cinder/+bug/2004555>`_: Fixed |
| 32 |
issue where a user manually deleting an attachment, calling terminate |
| 33 |
connection, detach, or force detach, for a volume that is still used by a |
| 34 |
nova instance resulted in leftover devices on the compute node. These |
| 35 |
operations will now fail when it is believed to be a problem. |
| 36 |
issues: |
| 37 |
- | |
| 38 |
For security reasons (`Bug #2004555 |
| 39 |
<https://bugs.launchpad.net/cinder/+bug/2004555>`_) manually deleting an |
| 40 |
attachment, manually doing the ``os-terminate_connection``, ``os-detach`` |
| 41 |
or ``os-force_detach`` actions will no longer be allowed in most cases |
| 42 |
unless the request is coming from another OpenStack service on behalf of a |
| 43 |
user. |