[RFE] a "--wait" option for creating/promoting/deleting a share replicas

Bug #1898310 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
New
Low
Esther Kisakye

Bug Description

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 --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>

tags: added: add-wait-to-async-commands low-hanging-fruit
Changed in python-manilaclient:
importance: Undecided → Low
description: updated
Paul Ali (paulali)
Changed in python-manilaclient:
assignee: nobody → Paul Ali (paulali)
Paul Ali (paulali)
Changed in python-manilaclient:
status: New → In Progress
Vida Haririan (vhariria)
Changed in python-manilaclient:
assignee: Paul Ali (paulali) → nobody
status: In Progress → New
Changed in python-manilaclient:
assignee: nobody → Esther Kisakye (ekisakye)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.