Comment 0 for bug 1898310

Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Expected workflow:

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
<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
<CLI waits on the share replica to be deleted before returning to the prompt>