unable to enable ceph-mgr dashboard module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
python-cheroot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
The PEP443 in-compliant version reported by python-cheroot causes Ceph's dashboard module to be unavailable on Jammy.
[Test Plan]
$ ceph mgr module enable dashboard
Error ENOENT: module 'dashboard' reports that it cannot run on the active manager daemon: invalid version number '8.5.2+ds1' (pass --force to force enablement)
With this change, the above command should execute successfully and enable the ceph dashboard
[Where problems could occur]
Issues could occur with version detection in depending code as the version would now be reporting a PEP443 compatible version.
[Other Info]
---- Original Report ----
# lsb_release -rd
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
# apt-cache policy ceph
ceph:
Installed: 17.1.0-0ubuntu3
Candidate: 17.1.0-0ubuntu3
Version table:
*** 17.1.0-0ubuntu3 500
500 http://
100 /var/lib/
# What expected to happen?
Enable to activate ceph-mgr dashboard module
# What happened instead?
My cluster status:
# ceph -s
cluster:
id: 52dcb872-
health: HEALTH_OK
services:
mon: 3 daemons, quorum aa-ceph01,
mgr: aa-ceph03(active, since 3m), standbys: aa-ceph01, aa-ceph02
osd: 9 osds: 9 up (since 16m), 9 in (since 16m)
data:
pools: 1 pools, 1 pgs
objects: 2 objects, 449 KiB
usage: 185 MiB used, 270 GiB / 270 GiB avail
pgs: 1 active+clean
It shows following error:
# ceph mgr module enable dashboard
Error ENOENT: module 'dashboard' reports that it cannot run on the active manager daemon: invalid version number '8.5.2+ds1' (pass --force to force enablement)
# some logs collected from ceph-mgr
2022-03-
2022-03-
File "/usr/share/
from .module import Module, StandbyModule # noqa: F401
File "/usr/share/
patch_
File "/usr/share/
accept_
File "/usr/share/
if v < StrictVersion(
File "/lib/python3.
c = self._cmp(other)
File "/lib/python3.
other = StrictVersion(
File "/lib/python3.
self.
File "/lib/python3.
raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '8.5.2+ds1'
2022-03-
2022-03-
2022-03-
2022-03-
2022-03-
2022-03-
2022-03-
2022-03-
2022-03-
2022-03-
description: | updated |
tags: | added: patch |
Changed in python-cheroot (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in ceph (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in ceph (Ubuntu Jammy): | |
status: | New → Invalid |
tags: |
added: verification-done verification-done-jammy removed: verification-needed verification-needed-jammy |
Status changed to 'Confirmed' because the bug affects multiple users.