Add "--wait" to asynchronous operation commands
Many actions in manila are asynchronous. The API service responds immediately to requests, but the fulfillment of the request can take a while. As a usability enhancement, we must introduce a "--wait" option to the CLI
Expected workflow:
1) Creating a share
$ manila create nfs 10 --name testshare --wait
<CLI waits on the share to become available before providing share details>
2) Deleting a share
$ manila delete testshare --wait
<CLI waits on the share to be deleted before returning to the prompt>
This user interaction can be extended to other commands such as:
a) Extending/Shrinking a share
b) Managing/unmanaging a share
c) Adding/Denying access rules to a share
d) Creating/
e) Creating/
f) Managing/Unmanaging a snapshot
g) Allowing/Denying access to a snapshot
h) Managing/Unmanaging a share server
i) Deleting a share server
j) Force deleting a share/share-
k) Creating/Deleting a share group
l) Creating/Deleting a share group snapshot
Including into the newly introduced OSC interface.
Individual work items on this blueprint can be tracked and submitted as RFE "bugs" here on launchpad. If they are, the bug IDs will be added to the whiteboard.
Blueprint information
- Status:
- Started
- Approver:
- Goutham Pacha Ravi
- Priority:
- Medium
- Drafter:
- Goutham Pacha Ravi
- Direction:
- Approved
- Assignee:
- Goutham Pacha Ravi
- Definition:
- Approved
- Series goal:
- Accepted for xena
- Implementation:
- Started
- Milestone target:
- zed-client-release
- Started by
- Goutham Pacha Ravi
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add a waiter to share create/delete
Gerrit topic: https:/
Addressed by: https:/
Fix duplicate wait functional test