Some delete commands don't accept more than one resource to delete

Bug #1611506 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
Medium
Faiz Abidi

Bug Description

Most delete commands in manila accept 1 or more resources to delete (ID or name of the resources in most cases) - Ex: cg-delete, cg-snapshot-delete, delete, force-delete, share-instance-force-delete, share-replica-delete)

Some commands don't. We need to implement this consistently:

As of this bug, commands that don't show this behavior:

security-service-delete
share-network-delete
share-server-delete
snapshot-delete
snapshot-force-delete
type-delete

description: updated
Changed in python-manilaclient:
importance: Undecided → Medium
assignee: nobody → Faiz Abidi (faiz89)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-manilaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/358119

Changed in python-manilaclient:
status: New → In Progress
Changed in python-manilaclient:
assignee: Faiz Abidi (faiz89) → Goutham Pacha Ravi (gouthamr)
Changed in python-manilaclient:
assignee: Goutham Pacha Ravi (gouthamr) → Faiz Abidi (faiz89)
Changed in python-manilaclient:
assignee: Faiz Abidi (faiz89) → Goutham Pacha Ravi (gouthamr)
Changed in python-manilaclient:
assignee: Goutham Pacha Ravi (gouthamr) → Faiz Abidi (faiz89)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Reviewed: https://review.openstack.org/358119
Committed: https://git.openstack.org/cgit/openstack/python-manilaclient/commit/?id=9af0818cc5ae15d9901d241b8831b5067b6160c8
Submitter: Jenkins
Branch: master

commit 9af0818cc5ae15d9901d241b8831b5067b6160c8
Author: Faiz Abidi <email address hidden>
Date: Fri Aug 19 00:25:31 2016 -0400

    Allow deletion of multiple resources for some manila commands

    Commands like
     - security-service-delete
     - share-network-delete
     - share-server-delete
     - snapshot-delete
     - snapshot-force-delete
     - type-delete

    do not allow specifying more than one resource for deletion.

    Add support to allow deletion of multiple resources, and add
    unit tests for that.

    Change-Id: I3c484bcc1fb8d5a2c31680889863403f8e58ee74
    Closes-bug: #1611506

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 1.12.0

This issue was fixed in the openstack/python-manilaclient 1.12.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.