Project

General

Profile

Actions

Bug #52110

open

Mgr modules failing to load after upgrade from Octopus to Pacific

Added by Ryan Swett over 2 years ago. Updated over 2 years ago.

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

0%

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

Description

I attempted to update my working Octopus cluster to Pacific. After the update I am seeing an issue where none of the manager modules are able to load/start. In this instance I have 3 servers with the mgr running on them and when the mgr daemon is started I see errors like this for every module:

mgr[py] Module not found: 'mgr_module'
mgr[py] Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py". line 108, in <module>
class HandleCommandResult(NamedTuple):
TypeError: function() argument 1 must be code, not str
mgr[py] Class not found in module 'stats'
mgr[py] Error loading module 'stats': (22) invalid argument

and I see logs like that for all modules. This install is running on servers with CentOS 8.4 and python 3.6.8, and the Ceph version is 16.2.5

Actions #1

Updated by Ryan Swett over 2 years ago

after some more testing and debugging, it turns out that having a module called python3-typing installed on the manager nodes was causing this issue. Uninstalling that package enabled the manager modules to start

Actions #2

Updated by Neha Ojha over 2 years ago

  • Project changed from Ceph to mgr
Actions

Also available in: Atom PDF