Error share without share network cannot be deleted in generic driver
Bug #1405362 reported by
Sun Jun
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Sun Jun |
Bug Description
In generic driver, If we do not specify the "--share-network" while creating a new share(not from snapshot), the share will turn error and the error share can't been deleted(will be "error_deleting").
[How to Reproduce]
1.driver = generic driver;
2.create a share without share-network info , for example: manila create --name $share-name NFS 1
3.manila list ----> the share will be in error status
4.manila delete $share-id ----> the share will be in error_deleting status
Changed in manila: | |
assignee: | nobody → Sun Jun (sanjeo) |
summary: |
- Error share cannot be deleted in generic driver + Error share without share network cannot be deleted in generic driver |
Changed in manila: | |
status: | New → In Progress |
Changed in manila: | |
milestone: | none → kilo-2 |
importance: | Undecided → Medium |
Changed in manila: | |
status: | Fix Committed → Fix Released |
Changed in manila: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/143929 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=34fff565633 0c856d06b1658e5 13324c12de5cd7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 34fff5656330c85 6d06b1658e51332 4c12de5cd7
Author: Sun Jun <email address hidden>
Date: Thu Dec 25 12:56:44 2014 +0800
Allow deleting share with invalid share server in generic driver
In generic driver, if we do not specify the "--share-network" while
creating a new share(not from snapshot), the share will get error state
and it cannot be deleted(will be in "error_deleting" status).
Remove decorator "ensure_server" for method "delete_share" that is
dedicated mostly for share creation and allow delete share with invalid
share-server in Generic driver.
Change-Id: Id4f2138507a1b6 c6c303837b6bc09 c39c86559df
Closes-Bug: #1405362