Actions
Bug #20223
closedrbd.ImageNotFound: __init__() takes exactly 3 positional arguments, 1 given
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
While investigating https://tracker.openattic.org/browse/OP-2311, I came across this lines:
File "rbd.pyx", line 390, in rbd.OSError.__init__ (ceph-12.0.3+git.1495798013.23dd2b67dc/build/src/pybind/rbd/pyrex/rbd.c:2257) TypeError: ('__init__() takes exactly 3 positional arguments (1 given)', <class 'rbd.ImageNotFound'>, ())
This looks as if `rbd.ImageNotFound` is called with too few arguments.
Updated by Sebastian Wagner almost 7 years ago
<jdillaman> sebastian-w: I wonder if the issue is that the new rbd.OSError is not picklable for the multiprocessing.Pipe.send/recv methods
<jdillaman> sebastian-w: yup -- that's the problem
Updated by Jason Dillaman almost 7 years ago
OpenAttic serializes the exception via multiprocessing pipes. The new OSError exception cannot be properly serialized/deserialzied and results in an error.
Updated by Jason Dillaman almost 7 years ago
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
Updated by Jason Dillaman almost 7 years ago
- Status changed from In Progress to Fix Under Review
Updated by Mykola Golub almost 7 years ago
- Status changed from Fix Under Review to Resolved
Actions