HNAS driver does not make share read-only while taking snapshots

Bug #1661271 reported by Rodrigo Barbieri
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Rodrigo Barbieri

Bug Description

During Ocata development cycle, the driver is not making the NFS share read-only while snapshots are being taken. This can cause unexpected inconsistencies between the NFS share and its snapshot if there is I/O while the snapshot is being taken.

Additionally, managed NFS shares with existing access rules may be using a different rw syntax (such as readwrite, read_write) and do not get affect at all by the change to read-only, even in prior versions.

Changed in manila:
importance: Undecided → Medium
milestone: none → ocata-rc1
Changed in manila:
assignee: nobody → Alyson (alyson-rodrigues-rosa)
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/428267

Changed in manila:
status: New → In Progress
Changed in manila:
assignee: Alyson (alyson-rodrigues-rosa) → Rodrigo Barbieri (rodrigo-barbieri2010)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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

commit e824e8ba8d6a1352df44e393e3eef44b431086b0
Author: Alyson Rosa <email address hidden>
Date: Thu Feb 2 14:55:03 2017 -0200

    HNAS: Fix syntax to make shares read-only in snapshot create

    Fixing driver syntax to make NFS shares read-only while snapshots
    are being taken. Read/Write permission in HNAS can be added in 3
    ways: rw, readwrite and read_write, all of them should be handled
    by the driver.

    Change-Id: Ib9ba3c1717c8000a5393ea7b8d731d66f7237b2e
    Closes-Bug: #1661271

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.