utils.renamer() can raise tracebacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Low
|
Unassigned |
Bug Description
seen on a quarantined container db:
[user@host /srv/node/
Traceback (most recent call last):
File "/opt/ss/
run_
File "/opt/ss/
print_
File "/opt/ss/
info = broker.get_info()
File "/opt/ss/
self.
File "/opt/ss/
self.
File "/opt/ss/
self.
File "/opt/ss/
return _really_
File "/opt/ss/
self.
File "/opt/ss/
self.
File "/opt/ss/
renamer(
File "/opt/ss/
os.rename(old, new)
OSError: [Errno 16] Device or resource busy
The culprit seems to be the os.rename() call inside of the exception handler in the utils.renamer() method.