lock_path(directory) fails if directory is empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Low
|
Christian Schwede |
Bug Description
lock_path(
swift-account-info c8bcccab3ddbfdc
Traceback (most recent call last):
File "/usr/local/
print_
File "/usr/local/
info = broker.get_info()
File "/vagrant/
self.
File "/vagrant/
self.
File "/vagrant/
with lock_parent_
File "/usr/lib/
return self.gen.next()
File "/vagrant/
mkdirs(
File "/vagrant/
os.
File "/usr/lib/
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''
Fix proposed to branch: master /review. openstack. org/84411
Review: https:/