Skip to content

Commit 6517c56

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "api-ref: Add notes about volume attach and detach being async"
2 parents 9b7247d + 606a5df commit 6517c56

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api-ref/source/os-volume-attachments.inc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNo
7070
to actually support a multiattach volume depends on the volume type
7171
and compute hosting the instance.
7272

73+
.. note:: This is an asynchronous API, callers should poll the status and list
74+
of attachments of the volume within the volume API to determine when
75+
the attachment has completed successfully.
76+
7377
Request
7478
-------
7579

@@ -247,6 +251,11 @@ Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNo
247251
.. note:: From v2.20 detach a volume from an instance in SHELVED or SHELVED_OFFLOADED
248252
state is allowed.
249253

254+
.. note:: This is an asynchronous API, callers should poll the list
255+
of volume attachments provided by ``GET
256+
/servers/{server_id}/os-volume_attachments`` to determine when the
257+
detachment of the volume has completed successfully.
258+
250259
Request
251260
-------
252261

0 commit comments

Comments
 (0)