Project

General

Profile

Bug #58032

ceph-base: main(): ceph-crash:109:main:TypeError: handler() takes 1 positional argument but 2 were given

Added by Kaleb KEITHLEY over 1 year ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://bugzilla.redhat.com/show_bug.cgi?id=2141246

Description of problem:
crash happened in the background

Version-Release number of selected component:
ceph-base-2:17.2.5-1.fc37

Additional info:
reporter: libreport-2.17.4
cgroup: 0::/system.slice/ceph-crash.service
cmdline: /usr/bin/python3.11 /usr/bin/ceph-crash
crash_function: main
exception_type: TypeError
executable: /usr/bin/ceph-crash
interpreter: python3-3.11.0-1.fc37.x86_64
kernel: 5.19.16-301.fc37.x86_64
runlevel: N 3
type: Python3
uid: 0

Truncated backtrace:
ceph-crash:109:main:TypeError: handler() takes 1 positional argument but 2 were given

Traceback (most recent call last):
File "/usr/bin/ceph-crash", line 113, in <module>
main()
File "/usr/bin/ceph-crash", line 109, in main
time.sleep(args.delay * 60)
TypeError: handler() takes 1 positional argument but 2 were given

Local variables in innermost frame:
args: Namespace(path='/var/lib/ceph/crash', delay=10.0, name=None, log_level=None)
postdir: '/var/lib/ceph/crash/posted'

History

#1 Updated by Ilya Dryomov 10 months ago

  • Target version deleted (v17.2.6)

Also available in: Atom PDF