python-manilaclient/releasenotes/notes/bug-1898310-add-wait-to-create-promote-delete-share-replica-35f17e4a51b8f62e.yaml
tspyderboy 789e65bee3 Add "--wait" option for creating/promoting/deleting a share replicas
1) Creating a share replica
$ manila share-replica-create share1 --az manila-zone-1 --wait
<CLI waits on the share replica to become available before providing replica details>
(The CLI does not wait for "replica_state" to become "in_sync" - it only waits until the replica reaches an "available"
status)

2) Promoting a share replica
$ manila share-replica-promote 9b6b909b-3790-4a65-a89d-f9437496f171 --wait
<CLI waits on the share replica's "replica_state" to become "active" before returning to the prompt>

3) Deleting a share replica
$ manila share-replica-delete 9b6b909b-3790-4a65-a89d-f9437496f171 --wait
<CLI waits on the share replica to be deleted before returning to the prompt>

Closes-Bug: #1898310
Change-Id: If269c708c894756c0223e3bfa173670bcc6ef763
2024-04-10 02:13:16 +05:30

6 lines
237 B
YAML

---
features:
- |
The commands "share-replica-create", "share-replica-promote", and
"share-replica-delete" now accept an optional "--wait" option that
allows users to let the client poll for the completion of the operation.