[RFE] a "--wait" option for creating/deleting a share group
Bug #1898318 reported by
Goutham Pacha Ravi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-manilaclient |
Fix Released
|
Low
|
Archana Kumari |
Bug Description
Expected workflow:
1) Creating a share group
$ manila share-group-create --name share-group-1 --wait
<CLI waits on the share group to become available before providing group details>
2) Deleting a share group
$ manila share-group-delete share-group-1 --wait
<CLI waits on the share group to be deleted before returning to the prompt>
Changed in python-manilaclient: | |
assignee: | nobody → Kafilat Adeleke (kafilat-adeleke) |
Changed in python-manilaclient: | |
assignee: | Kafilat Adeleke (kafilat-adeleke) → nobody |
Changed in python-manilaclient: | |
assignee: | nobody → Archana Kumari (archanaserver) |
Changed in python-manilaclient: | |
status: | New → In Progress |
Changed in python-manilaclient: | |
status: | In Progress → Fix Committed |
Changed in python-manilaclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /python- manilaclient/ +/789018 /opendev. org/openstack/ python- manilaclient/ commit/ f84f32e702edbbf 2ca05434cdadbfa 47af0cf0c0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f84f32e702edbbf 2ca05434cdadbfa 47af0cf0c0
Author: Archana Kumari <email address hidden>
Date: Sat May 1 00:45:26 2021 +0530
Add --wait flag to the delete share group operation
This patch set adds the --wait flag to the share group
operation. This will make the CLI to wait for the
operation to be completed before returning to the prompt.
Updated test_share_delete to be test_share_ delete_ wait
and included the waiter flag.
Updated test_share_ group_delete_ force to test the
correct calls.
Also, updated test_share_ group_update and test_share_ group_show
since they were randomnly failing depending on the test execution
order. Mocks were being cleaned up and that was leading us to
some errors. Created mocks for required resources within those
tests to make it more stable.
Partial-Bug: #1898318 f3f0eed870df808 da1344ae91a
Change-Id: Ic2d939d0dde278