summaryrefslogtreecommitdiff
path: root/api-ref/source/v3/attachments.inc
diff options
context:
space:
mode:
Diffstat (limited to 'api-ref/source/v3/attachments.inc')
-rw-r--r--api-ref/source/v3/attachments.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/api-ref/source/v3/attachments.inc b/api-ref/source/v3/attachments.inc
index 87b57d609..cb3784865 100644
--- a/api-ref/source/v3/attachments.inc
+++ b/api-ref/source/v3/attachments.inc
@@ -41,6 +41,20 @@ Delete attachment
Deletes an attachment.
+For security reasons (see bug `#2004555
+<https://bugs.launchpad.net/nova/+bug/2004555>`_) the Block Storage API rejects
+REST API calls manually made from users with a 409 status code if there is a
+Nova instance currently using the attachment, which happens when all the
+following conditions are met:
+
+- Attachment has an instance uuid
+- VM exists in Nova
+- Instance has the volume attached
+- Attached volume in instance is using the attachment
+
+Calls coming from other OpenStack services (like the Compute Service) are
+always accepted.
+
Available starting in the 3.27 microversion.
Response codes
@@ -54,6 +68,7 @@ Response codes
- 400
- 404
+ - 409
Request