Add retry logic when delete a nfs share using EMC VNX driver

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

Bug Description

Currently, if user try to delete several nfs shares on same VDM,

vnx backend would report:
unable to acquire lock(s)

in this scenario, only 1 nfs share will be deleted, and other shares will be in error_deleting status

this fix is to provide a retry logic when meet this backend error

Thanks
Peter

Peter Wang (peter.wang)
Changed in manila:
assignee: nobody → Peter Wang (peter.wang)
summary: - Add retry logic when delete a nfs share
+ Add retry logic when delete a nfs share using EMC VNX driver
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/208846

Changed in manila:
status: New → In Progress
Peter Wang (peter.wang)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

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

commit 8d15b99022a32137035a24dad12ef74f3f145f41
Author: peter_wang <email address hidden>
Date: Mon Aug 3 21:07:34 2015 -0400

    Add retry logic when delete a NFS share in VNX

    Currently, if user try to delete several NFS shares on same VDM,

    VNX backend would report: unable to acquire lock(s).

    Use 'retry' logic to handle such kind of error.

    Change-Id: I0dafbda265daf19de3d71ee91fc51fb62313e5ec
    Closes-Bug: 1480856

Changed in manila:
status: In Progress → Fix Committed
Changed in manila:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in manila:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: liberty-3 → 1.0.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.