[openstack-dev] [Manila] Contract of ShareDriver.deny_access

Thomas Bechtold tbechtold at suse.com
Fri Aug 21 12:23:56 UTC 2015


Hi Björn,

On Thu, 2015-08-20 at 14:30 +0200, Bjorn Schuberg wrote:
> Hello everyone,
> 
> this is my first thread on this mailing list, and I would like to
> take the opportunity to say that it was great to see you all at the
> midcycle, even if remote.

Yeah. It was a nice meetup!

> Now, to my question; I've been looking into an issue that arise when
> deleting access to a share, and then momentarily after, deleting the
> same share. The delete fails due to a race in
> `_remove_share_access_rules` in the `ShareManager`, which attempts to
> delete all granted permissions on the share before removing it, but
> one of the access permissions is concurrently deleted due to the
> first API call, see;
> https://github.com/openstack/manila/blob/master/manila/share/manager.
> py#L600

Can you please fill a bug report? https://bugs.launchpad.net/manila . 


TIA

Tom



More information about the OpenStack-dev mailing list