Can not delete share-network, that was used by driver

Bug #1273758 reported by Valeriy Ponomaryov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Jun Wei Wang

Bug Description

For share-network we expect next behavior:
1) if it is INACTIVE - we can delete it
2) if it is ACTIVE and there are shares, based on it, we can not delete it
3) if it is ACTIVE and no shares based on it, we should can delete it, and chain will be next:
manila verifies that no shares with dependency on it, and calls deallocation method, that releases resources taken from neutron, removes Vservers (service vms, etc...) and sets up INACTIVE state for share-network, after that delete method for share network.

Third item doesn't work.

tags: added: share-network
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :
Changed in manila:
importance: Undecided → Low
Jun Wei Wang (wjw7869)
Changed in manila:
assignee: nobody → Jun Wei Wang (wjw7869)
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Fixes for each multitenant driver have been already proposed:
cmode driver: https://review.openstack.org/#/c/81744/
generic driver: https://review.openstack.org/#/c/81808/

As part of bp https://blueprints.launchpad.net/manila/+spec/share-network-activation-api

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/81808
Committed: https://git.openstack.org/cgit/stackforge/manila/commit/?id=69c063997c464353d567a459ac29d3c3f54a1957
Submitter: Jenkins
Branch: master

commit 69c063997c464353d567a459ac29d3c3f54a1957
Author: vponomaryov <email address hidden>
Date: Fri Mar 21 07:54:28 2014 +0200

    Updated generic_driver and service_instance with activation

    Generic driver changes to activation/deactivation of
    share_networks requires changes to service instance.
    Also it requires changes to tempest plugin, that should
    use activation of share networks before creation of shares.

    Partially-implements bp share-network-activation-api
    Closes-Bug: #1294577
    Closes-Bug: #1273758

    Change-Id: Ide3b9a51038b532bee464e256f6e830fb93001f7

Changed in manila:
status: New → Fix Committed
Changed in manila:
status: Fix Committed → Fix Released
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.