INFINIDAT share driver fails to delete shares with snapshots
Bug #1746439 reported by
Amit Oren
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Amit Oren |
Bug Description
To reproduce the bug:
* Through the Manila interface, create a share on an INFINIDAT InfiniBox system.
* Through the InfiniBox interface (out of Manila), create a snapshot for the newly created share
* Try to delete the share through Manila. The deletion will fail since the share has externally created snapshots (not managed through Manila).
The bug lies in the delete_share implementation in the INFINIDAT share driver, specifically:
https:/
To fix the bug:
The check for the share's children should be removed; we should try to delete the share anyway.
Changed in manila: | |
assignee: | nobody → Amit Oren (amito) |
status: | New → In Progress |
summary: |
- INFINIDAT share driver fails to delete shares with snapshots + INFINIDAT share driver fails to delete datasets with snapshots |
summary: |
- INFINIDAT share driver fails to delete datasets with snapshots + INFINIDAT share driver fails to delete shares with snapshots |
Changed in manila: | |
milestone: | none → queens-rc1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/538617 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=09da8f8d9dd bb27b73aba39f60 02a1b5718ac555
Committed: https:/
Submitter: Zuul
Branch: master
commit 09da8f8d9ddbb27 b73aba39f6002a1 b5718ac555
Author: Amit Oren <email address hidden>
Date: Sun Jan 28 16:25:16 2018 +0200
INFINIDAT: support deleting datasets with snapshots
Deleting a share or a snapshot from the INFINDIAT InfiniBox should
support a case where the share or snapshot has snapshots that were
created externally (i.e. through the InfiniBox interface).
Change-Id: Ic9d03493283c57 3506330a620fa21 516bbd09c26
Closes-Bug: #1746439