[RFE] a "--wait" option for share manage/unmanage commands

Bug #1898309 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Low
Paul Ali

Bug Description

Expected workflow:

1) Managing a share

$ manila manage host@backend#pool nfs 10.0.0.1:/example_path --name share1 --wait
<CLI waits on the share to become available before providing share details>

2) Unmanaging a share
$ manila unmanage share1 --wait
<CLI waits on the share to be unmanaged completely 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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-manilaclient (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-manilaclient/+/792212
Committed: https://opendev.org/openstack/python-manilaclient/commit/36aee019cdeec15d1b0076b30d37e610f80c8513
Submitter: "Zuul (22348)"
Branch: master

commit 36aee019cdeec15d1b0076b30d37e610f80c8513
Author: paulali <email address hidden>
Date: Wed May 19 16:45:25 2021 +0000

    Add a --wait flag to share manage/unmanage

    This option enables "manage" and "unmanage"
    commands to wait until the action has completed.

    Partially-implements: bp add-wait-to-async-commands
    Closes-Bug: #1898309
    Change-Id: I03b87f2f27b045e0a83c3a25cc482901bacffa15

Changed in python-manilaclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-manilaclient 3.3.0

This issue was fixed in the openstack/python-manilaclient 3.3.0 release.

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.