Skip to content

Commit

Permalink
Update volume delete api-ref
Browse files Browse the repository at this point in the history
This patch update volume delete section in api-ref
to understand preconditions more correctly

Partial-Bug: #1918932
Change-Id: Icb5b4da3423555cd2ab0f5ee6d1dc881fc782484
  • Loading branch information
tushargite96 committed Aug 18, 2022
1 parent 2774c25 commit dc6388b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions api-ref/source/v3/volumes-v3-volumes.inc
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,13 @@ Preconditions

- Volume status must be ``available``, ``in-use``, ``error``,
``error_restoring``, ``error_extending``, ``error_managing``,
and must not be migrating, attached, belong to a group or have snapshots.
and must not be ``migrating``, ``attached``, ``awaiting-transfer``,
belong to a group, have snapshots or be disassociated from
snapshots after volume transfer.

- You cannot already have a snapshot of the volume.
- The ``cascade`` option can be passed in the request if you want
all snapshots of this volume to be deleted automatically,
which should allow the volume deletion to succeed.

- You cannot delete a volume that is in a migration.

Expand Down

0 comments on commit dc6388b

Please sign in to comment.