share with snapshot can be unmanaged

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

Bug Description

Shares with snapshots should not be able to be deleted or unmanaged.

But Manila does not make verification for presence of snapshots for share that is requested to be managed.

Tags: api unmanage
tags: added: api unmanage
Changed in manila:
milestone: none → kilo-rc1
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
importance: Undecided → Medium
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Revision history for this message
Luis Pabón (lpabon) wrote :

I am not sure if this is a bug or not. I need to confirm what GlusterFS and Ceph do. At most, this probably should be something that the driver should be able to deal with in case that the backend system does support the ability to delete a share that contains snapshots.

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

Reviewed: https://review.openstack.org/168323
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=8bebec39d28176cd37efce3b88667d46f39ff2fc
Submitter: Jenkins
Branch: master

commit 8bebec39d28176cd37efce3b88667d46f39ff2fc
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Mar 27 14:42:58 2015 +0200

    Forbid unmanage operation for shares with snapshots

    Shares with snapshots should not be able to be deleted or unmanaged.
    But Manila does not make verification for presence of snapshots for share
    that is requested to be unmanaged.

    Change-Id: I8a58cb3e801ac123b153177e316b712ee999142e
    Closes-Bug: #1437269

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: kilo-rc1 → 2015.1.0
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.