Project

General

Profile

Actions

Bug #20223

closed

rbd.ImageNotFound: __init__() takes exactly 3 positional arguments, 1 given

Added by Sebastian Wagner almost 7 years ago. Updated almost 7 years ago.

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.

Actions

Also available in: Atom PDF