Project

General

Profile

Actions

Bug #52658

open

mgr: After upgrade to 16.2.6 crash on startup with python error

Added by Igor Savlook over 2 years ago. Updated over 2 years ago.

Status:
Need More Info
Priority:
Normal
Category:
ceph-mgr
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After upgrade to 16.2.6 ceph-mgr crash on startup with python modules error.

Environment

  • Ceph version: 16.2.6
  • Platform (OS/distro/release): Fedora 36 (rawhide) aarch64

How reproducible

1. Upgrade to 16.2.6 on Fedora rawhide.

2. ceph-mgr core modules crash.

Actual results

All python modules failed to load with this error in journal:

Sep 18 15:11:35 ceph-master0 ceph-mgr[71463]: 2021-09-18T15:11:35.086+0300 ffff6adb4530 -1 mgr load Failed to construct class in 'balancer'
Sep 18 15:11:35 ceph-master0 ceph-mgr[71463]: 2021-09-18T15:11:35.086+0300 ffff6adb4530 -1 mgr load Traceback (most recent call last):
                                                 File "/usr/share/ceph/mgr/balancer/module.py", line 427, in __init__
                                                   super(Module, self).__init__(*args, **kwargs)
                                                 File "/usr/share/ceph/mgr/mgr_module.py", line 882, in __init__
                                                   self._configure_logging(mgr_level, log_level, cluster_level,
                                                 File "/usr/share/ceph/mgr/mgr_module.py", line 581, in _configure_logging
                                                   self._cluster_log_handler = ClusterLogHandler(self)
                                                 File "/usr/share/ceph/mgr/mgr_module.py", line 535, in __init__
                                                   super().__init__()
                                               RuntimeError: super(): __class__ cell not found
Sep 18 15:11:35 ceph-master0 ceph-mgr[71463]: 2021-09-18T15:11:35.090+0300 ffff6adb4530 -1 mgr operator() Failed to run module in active mode ('balancer')
Sep 18 15:11:35 ceph-master0 ceph-mgr[71463]: 2021-09-18T15:11:35.090+0300 ffff6adb4530 -1 mgr load Failed to construct class in 'crash'
Sep 18 15:11:35 ceph-master0 ceph-mgr[71463]: 2021-09-18T15:11:35.090+0300 ffff6adb4530 -1 mgr load Traceback (most recent call last):
                                                 File "/usr/share/ceph/mgr/crash/module.py", line 37, in __init__
                                                   super(Module, self).__init__(*args, **kwargs)
                                                 File "/usr/share/ceph/mgr/mgr_module.py", line 882, in __init__
                                                   self._configure_logging(mgr_level, log_level, cluster_level,
                                                 File "/usr/share/ceph/mgr/mgr_module.py", line 581, in _configure_logging
                                                   self._cluster_log_handler = ClusterLogHandler(self)
                                                 File "/usr/share/ceph/mgr/mgr_module.py", line 535, in __init__
                                                   super().__init__()
                                               RuntimeError: super(): __class__ cell not found 

Expected results

Succeful start of ceph-mgr.

Actions

Also available in: Atom PDF