GPFS KNFS fails to deny access when access does not exist

Bug #1651587 reported by Mark Sturdevant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Mark Sturdevant

Bug Description

When GPFS KNFS driver attempts to deny access to a share the attempt can fail even though the access rule has already been removed. This results in a stuck access rule which can never be removed.

This can happen in a variety of situations due to bugs or partial failures.

When a share deny-access is requested it should not fail when the driver can determine that the access was removed (or does not exist).

Changed in manila:
assignee: nobody → Mark Sturdevant (mark-sturdevant)
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/413762

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/413762
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=9157b8afb2177008807156b3f2f776459206ad68
Submitter: Jenkins
Branch: master

commit 9157b8afb2177008807156b3f2f776459206ad68
Author: Mark Sturdevant <email address hidden>
Date: Wed Dec 21 12:00:13 2016 -0800

    GPFS KNFS: Fix deny access to succeed when possible

    Use looser error code checking and add a verify
    after deny access so that the call will succeed
    whenever it can be confirmed that the access no
    longer exists.

    This fixes a variety of situations where previously
    a return code of 1 while attempting to remove access
    would cause the manila access rule to get stuck while
    the actual client access export was removed or never
    existed.

    Change-Id: Ie058a6185e3f5d91fb1cf232301eb0ac6ddcea7e
    Closes-Bug: #1651587

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.0b3

This issue was fixed in the openstack/manila 4.0.0.0b3 development milestone.

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.