Project

General

Profile

Actions

Bug #74268

closed
RS

Dashboard fails to start on non-orch-managed installation on Debian Bookworm

Bug #74268: Dashboard fails to start on non-orch-managed installation on Debian Bookworm

Added by Roland Sommer 11 months ago. Updated 29 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
Fixed In:
v20.3.0-5060-gb70593eab0
Released In:
v21.2.0~1349
Upkeep Timestamp:
2026-11-04T01:08:23+00:00

Description

While upgrading from quincy to tentacle (skipped reef/squid because of https://tracker.ceph.com/issues/64213) I get the following health check error while starting the tentacle manager instances:

Module 'dashboard' has failed: No module named 'smb'

This happens despite no 'smb' module is enabled:

~# ceph mgr module disable smb
module 'smb' is already disabled

I am aware of the "you must update to reef" notice in the tentacle upgrade announcement but for the moment that would mean there is no way of upgrading because the update to reef/squid ist not possible due to the mentioned bug https://tracker.ceph.com/issues/64213.


Related issues 1 (1 open — 0 closed)

Copied to Ceph - Backport #74703: tentacle: Dashboard fails to start on non-orch-managed installation on Debian BookwormNew

Actions

RS Updated by Roland Sommer 10 months ago Actions #1

Being installes from debian packages on Debian 12 / Bookworm, the manager damoen crashes like this:

Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]: 2026-01-28T12:34:46.849+0000 7fb351dc66c0 -1 log_channel(cluster) log [ERR] : Unhandled exce
ption from module 'dashboard' while running on mgr.cephmgr02: No module named 'smb'                                                    
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]: 2026-01-28T12:34:46.849+0000 7fb351dc66c0 -1 dashboard.serve:
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]: 2026-01-28T12:34:46.849+0000 7fb351dc66c0 -1 Traceback (most recent call last):
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "/usr/share/ceph/mgr/dashboard/module.py", line 348, in serve
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:     mapper, parent_urls = Router.generate_routes(self.url_prefix)      
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^     
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "/usr/share/ceph/mgr/dashboard/controllers/_router.py", line 49, in generate_routes
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:     controllers = BaseController.load_controllers()                   
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                         
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 46, in load_con
trollers                                                                                                                               
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:     importlib.import_module(f'{__package__}.{module}')
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "/lib/python3.11/importlib/__init__.py", line 126, in import_module
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:     return _bootstrap._gcd_import(name[level:], package, level)       
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                             
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "<frozen importlib._bootstrap>", line 1178, in _find_and_load   
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked                         
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed              
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:   File "/usr/share/ceph/mgr/dashboard/controllers/smb.py", line 8, in <module>
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]:     from smb.enums import Intent                                       
Jan 28 12:34:46 cephmgr02 ceph-mgr[35136]: ModuleNotFoundError: No module named 'smb'                            

The BaseController auto-imports the packaged /usr/share/ceph/mgr/dashboard/controllers/smb.py file, which in turn wants to import smb.enums etc. which is part of the smb package which is missing from debian/ceph-mgr-modules-core.install, thus missing in the packages.

RS Updated by Roland Sommer 10 months ago Actions #2

  • Affected Versions v20.2.0 added

RS Updated by Roland Sommer 10 months ago Actions #3

  • Pull request ID set to 67133

KC Updated by Kefu Chai 10 months ago Actions #4

  • Status changed from New to Fix Under Review
  • Backport set to tentacle

adding backport tentacle, as the change adding the smb controoler was included in v20. see https://github.com/ceph/ceph/commit/98d61fa0ad

UB Updated by Upkeep Bot 10 months ago Actions #5

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to b70593eab04eaeb603eef8f4da6a6484e59101eb
  • Fixed In set to v20.3.0-5060-gb70593eab0
  • Upkeep Timestamp set to 2026-02-02T11:14:50+00:00

UB Updated by Upkeep Bot 10 months ago Actions #6

  • Copied to Backport #74703: tentacle: Dashboard fails to start on non-orch-managed installation on Debian Bookworm added

UB Updated by Upkeep Bot 10 months ago Actions #7

  • Tags (freeform) set to backport_processed

LF Updated by Laura Flores 8 months ago Actions #8

/a/skanta-2026-03-31_12:07:57-rados-wip-bharath13-testing-2026-03-30-1730-tentacle-distro-default-trial/127830

LF Updated by Laura Flores 8 months ago Actions #9

/a/lflores-2026-04-17_22:03:40-rados-wip-lflores-testing-2-2026-04-08-1424-tentacle-distro-default-trial/159279

UB Updated by Upkeep Bot 3 months ago Actions #10

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-02-02T11:14:50+00:00 to 2026-08-27T18:25:15+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #11

  • Released In set to v21.2.0~1348
  • Upkeep Timestamp changed from 2026-08-27T18:25:15+00:00 to 2026-10-24T01:14:22+00:00

UB Updated by Upkeep Bot 29 days ago Actions #12

  • Released In changed from v21.2.0~1348 to v21.2.0~1349
  • Upkeep Timestamp changed from 2026-10-24T01:14:22+00:00 to 2026-11-04T01:08:23+00:00
Actions

Also available in: PDF Atom