Bug #52110
openMgr modules failing to load after upgrade from Octopus to Pacific
0%
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
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