← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1158179] Re: Lockutils - deletes directory rendering locks invalid

 

Reviewed:  https://review.openstack.org/25277
Committed: http://github.com/openstack/nova/commit/817bdebb7cda941182d50d6edd14b56c2aec0ded
Submitter: Jenkins
Branch:    milestone-proposed

commit 817bdebb7cda941182d50d6edd14b56c2aec0ded
Author: Russell Bryant <rbryant@xxxxxxxxxx>
Date:   Mon Mar 25 10:37:02 2013 -0400

    Sync lockutils from oslo-incubator stable/grizzly.
    
    Changes include:
    
    3cb71ff Locking edge case when lock_path does not exist
    21925b6 Fix locking issues in Windows
    547ab34 Fix Copyright Headers - Rename LLC to Foundation
    
    Fix bug 1158179.
    
    Change-Id: I8231a6d37b70c36ba2ce245407b02698faa55aaf


** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1158179

Title:
  Lockutils - deletes directory rendering locks invalid

Status in Cinder:
  Confirmed
Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) folsom series:
  Confirmed
Status in OpenStack Compute (nova) grizzly series:
  Fix Committed
Status in Oslo - a Library of Common OpenStack Code:
  Fix Committed
Status in oslo grizzly series:
  Fix Committed
Status in OpenStack Quantum (virtual network service):
  Fix Committed

Bug description:
  There is an edge case as follows:
      process A takes lock
      process B waits on lock
      process A completed work
      process B takes lock
      process A tabes lock (this is without process B freeing the lock)

  This is reproduced very easily:
      ensure that the lock_pack directory does not exist

  Each time a lock is freed the directory is deleted ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1158179/+subscriptions