Snapshot export locations always shown even when not supported

Bug #1660686 reported by Rodrigo Barbieri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Rodrigo Barbieri

Bug Description

Even for shares that are created with a share type that specifies mount_snapshot_support=False, or just omit this extra-spec, the snapshot export locations are created and shown.

In that case, drivers should not be creating the export resource, nor manila be reading from drivers and exposing them.

description: updated
Changed in manila:
importance: Undecided → Medium
milestone: none → ocata-rc1
assignee: nobody → Rodrigo Barbieri (rodrigo-barbieri2010)
Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/427332
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=4b6f1bf4494fdf8c0b7f511c99fbc841dd568cc5
Submitter: Jenkins
Branch: master

commit 4b6f1bf4494fdf8c0b7f511c99fbc841dd568cc5
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Jan 31 15:46:11 2017 -0200

    Fix snapshot export locations incorrectly handled

    Snapshot export locations should only be created for shares
    with property mount_snapshot_support=True. Otherwise, they
    should not be created, even if returned by drivers.

    Change-Id: Ie0ce3c4f2e7e29bf82f5c09a80a3fb132b0481a8
    Closes-bug: #1660686

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 4.0.0.0rc1

This issue was fixed in the openstack/manila 4.0.0.0rc1 release candidate.

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.