Actions
Bug #2873
closedStack trace thrown when using obsync
Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Traceback (most recent call last): File "/usr/bin/obsync", line 1215, in <module> local_copy = src.make_local_copy(sobj) File "/usr/bin/obsync", line 675, in make_local_copy raise ObsyncTemporaryException(e) File "/usr/bin/obsync", line 121, in __init__ ObsyncException.__init__(self, "temporary", e) File "/usr/bin/obsync", line 111, in __init__ self.tb = format_exc(100000) NameError: global name 'format_exc' is not defined ERROR TYPE: unknown, ORIGIN: source
When trying to copy a fairly large object (~14GB) from one S3 compatible gateway to another, it failed repeatably with this error.
Updated by Matthew Wodrich almost 12 years ago
Figured out what the problem is, it appears that on L111, it should go from being
self.tb = format_exc(100000)
to
self.tb = traceback.format_exc(100000)
It's just that the traceback package name was left out.
When patched, I get the proper stack trace from the exception:
Traceback (most recent call last): File "/usr/bin/obsync", line 672, in make_local_copy k.get_contents_to_filename(temp_file) File "/usr/lib/python2.7/dist-packages/boto/s3/key.py", line 1279, in get_contents_to_filename response_headers=response_headers) File "/usr/lib/python2.7/dist-packages/boto/s3/key.py", line 1226, in get_contents_to_file response_headers=response_headers) File "/usr/lib/python2.7/dist-packages/boto/s3/key.py", line 1123, in get_file fp.write(bytes) IOError: [Errno 28] No space left on device
Updated by Dan Mick almost 12 years ago
- Category set to obsync
- Status changed from New to Fix Under Review
- Assignee set to Dan Mick
- Target version set to v0.50
- Source changed from Q/A to Development
Updated by Dan Mick over 11 years ago
- Status changed from Fix Under Review to Resolved
47b24c0562bcb44964a0b8f6c4847bb0f05924e0 in stable-next
5962a9dde051c95b7f39e60dcd16b339392685b8 in next
Actions