Lee Yarwood 606a5dfecc api-ref: Add notes about volume attach and detach being async
This change adds some basic notes in the api-ref for a wrinkle in the
current os-volume_attachments API in that both attach and detach actions
are async, returning to the caller *before* the underlying action is
complete. As such callers need to make seperate calls to ensure these
actions complete successfully.

There are also currently two different ways of polling for completion
when attaching and detaching.

- When attaching callers should use the volume status and list of
  attachments as reported by the volume API.

- When detaching callers should instead use the list of volume attachments
  reported by the os-volume_attachments API.

This is due to the way in which Nova currently completes the attachment
via c-api last during attachment and deletes the bdm record last during
detachment.

It would be useful to one day centralise on just using the
os-volume_attachments API to poll both actions but to do that we would
need to start tracking our own state within the BDMs.

Change-Id: Id367ee53ef1458b6a90fc107ab14f5b3cbba7a86
2020-12-21 16:22:57 +00:00
..
2020-05-20 21:56:41 +02:00
2019-07-05 13:24:18 +09:00
2019-08-12 08:52:38 -05:00
2016-11-11 14:01:51 -05:00
2017-03-31 06:19:01 +00:00
2020-09-11 14:10:32 +01:00
2019-07-22 19:17:28 +02:00
2019-04-16 18:26:13 +01:00
2019-11-22 16:09:36 +00:00
2017-11-28 11:07:36 +08:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00
2019-07-22 19:17:28 +02:00