Bug 2141246

Summary: [abrt] ceph-base: main(): ceph-crash:109:main:TypeError: handler() takes 1 positional argument but 2 were given
Product: [Fedora] Fedora Reporter: Ladar Levison <ladar>
Component: cephAssignee: Kaleb KEITHLEY <kkeithle>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: branto, danmick, david, fedora, go-sig, i, josef, kkeithle, loic, ramkrsna, steve
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/734dda9e9110d1a38e91cdee7d715b0b2fd9f01d
Whiteboard: abrt_hash:9262cb9a4379788ec192a6d520a1ed1109889877;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Ladar Levison 2022-11-09 09:46:47 UTC
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'

Comment 1 Ladar Levison 2022-11-09 09:46:51 UTC
Created attachment 1923309 [details]
File: backtrace

Comment 2 Ladar Levison 2022-11-09 09:46:52 UTC
Created attachment 1923310 [details]
File: cpuinfo

Comment 3 Ladar Levison 2022-11-09 09:46:53 UTC
Created attachment 1923311 [details]
File: environ

Comment 4 Ladar Levison 2022-11-09 09:46:54 UTC
Created attachment 1923312 [details]
File: mountinfo

Comment 5 Ladar Levison 2022-11-09 09:46:55 UTC
Created attachment 1923313 [details]
File: namespaces

Comment 6 Ladar Levison 2022-11-09 09:46:56 UTC
Created attachment 1923314 [details]
File: open_fds

Comment 7 Ladar Levison 2022-11-09 09:47:24 UTC
Similar problem has been detected:

crash happened in the background

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
package:        ceph-base-2:17.2.5-1.fc37
reason:         ceph-crash:109:main:TypeError: handler() takes 1 positional argument but 2 were given
runlevel:       N 3
type:           Python3
uid:            0