Skip to content

Instantly share code, notes, and snippets.

@portante
Created June 12, 2014 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save portante/5b63128e54b57d8974da to your computer and use it in GitHub Desktop.
Save portante/5b63128e54b57d8974da to your computer and use it in GitHub Desktop.
Stack trace with storage policies from a probe test run where the object servers are returning 503s.
Jun 12 17:21:25 dhcp31-105 object-server: ERROR __call__ error with PUT /sdb1/617/AUTH_test/container-1824d0bb-f90d-42c4-8517-de7f8632bf25/object-b40d90d1-222c-4a91-83fc-445c5c66be35 :
Traceback (most recent call last):
File "/home/pportant/swift/swift/obj/server.py", line 678, in __call__
res = method(req)
File "/home/pportant/swift/swift/common/utils.py", line 2366, in wrapped
return func(*a, **kw)
File "/home/pportant/swift/swift/common/utils.py", line 970, in _timing_stats
resp = func(ctrl, *args, **kwargs)
File "/home/pportant/swift/swift/obj/server.py", line 459, in PUT
device)
File "/home/pportant/swift/swift/obj/server.py", line 318, in delete_at_update
host, partition, contdevice, headers_out, objdevice, 0)
File "/home/pportant/swift/swift/obj/server.py", line 204, in async_update
policy_index)
File "/home/pportant/swift/swift/obj/diskfile.py", line 555, in pickle_async_update
os.path.join(device_path, get_tmp_dir(policy_idx)))
File "/home/pportant/swift/swift/common/utils.py", line 2728, in run_in_thread
result = func(*args, **kwargs)
File "/home/pportant/swift/swift/common/utils.py", line 1765, in write_pickle
fd, tmppath = mkstemp(dir=tmp, suffix='.tmp')
File "/usr/lib64/python2.7/tempfile.py", line 304, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib64/python2.7/tempfile.py", line 239, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: '/srv/1/node/sdb1/tmp/tmppIrIxH.tmp' (txn: tx1d9c4d72530143fb93531-00539a19d5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment