Project

General

Profile

Actions

Bug #59116

open

v17 mgr: Error ENOENT module not found 'cephadm', module.py TypeError: __init__() got an unexpected keyword argument 'daemon_types'

Added by David Smith about 1 year ago. Updated 11 months ago.

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

0%

Source:
Community (user)
Tags:
cephadm,mgr,quincy
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
upgrade/quincy-x
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Was testing upgrade a cluster from 16.2.11 to 17.2.0
the upgrade was half complete due to this error in the mgr docker container log:

debug 2023-03-21T16:37:26.664+0000 7f5f072b7700 -1 mgr load Failed to construct class in 'cephadm'
debug 2023-03-21T16:37:26.664+0000 7f5f072b7700 -1 mgr load Traceback (most recent call last):
  File "/usr/share/ceph/mgr/cephadm/module.py", line 470, in __init__
    self.upgrade = CephadmUpgrade(self)
  File "/usr/share/ceph/mgr/cephadm/upgrade.py", line 112, in __init__
    self.upgrade_state: Optional[UpgradeState] = UpgradeState.from_json(json.loads(t))
  File "/usr/share/ceph/mgr/cephadm/upgrade.py", line 93, in from_json
    return cls(**c)
TypeError: __init__() got an unexpected keyword argument 'daemon_types'

debug 2023-03-21T16:37:26.672+0000 7f5f072b7700 -1 mgr operator() Failed to run module in active mode ('cephadm')

...

debug 2023-03-21T16:43:31.096+0000 7fb4d6cc7700 -1 no module 'cephadm'
debug 2023-03-21T16:43:31.096+0000 7fb4d6cc7700 -1 no module 'cephadm'
...
debug 2023-03-21T16:43:32.248+0000 7fb4fa50e700  0 log_channel(audit) log [DBG] : from='client.104198 -' entity='client.admin' cmd=[{"prefix": "orch host ls", "target": ["mon-mgr", ""]}]: dispatch
debug 2023-03-21T16:43:32.248+0000 7fb4fad0f700 -1 no module 'cephadm'
debug 2023-03-21T16:43:32.248+0000 7fb4fad0f700 -1 no module 'cephadm'
debug 2023-03-21T16:43:32.248+0000 7fb4fad0f700 -1 mgr.server reply reply (2) No such file or directory Module not found

This might be the same cause for issue
https://tracker.ceph.com/issues/59103

Actions #1

Updated by Ilya Dryomov 11 months ago

  • Target version deleted (v17.2.6)
Actions

Also available in: Atom PDF