Activity log for bug #1967139

Date Who What changed Old value New value Message
2022-03-30 13:55:23 Aji Muhammad Arya Revaldi bug added bug
2022-04-04 21:50:48 Launchpad Janitor ceph (Ubuntu): status New Confirmed
2022-05-11 18:29:54 Heinrich Schuchardt bug task added python-cheroot (Ubuntu)
2022-05-11 18:30:39 Launchpad Janitor python-cheroot (Ubuntu): status New Confirmed
2022-05-12 12:51:46 Heinrich Schuchardt bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010894
2022-05-12 13:42:54 Heinrich Schuchardt bug watch added https://github.com/cherrypy/cheroot/issues/506
2022-05-13 13:05:51 Rgpublic bug added subscriber Rgpublic
2022-05-18 18:27:20 Launchpad Janitor python-cheroot (Ubuntu): status Confirmed Fix Released
2022-07-20 01:43:59 Yoshi Kadokawa bug added subscriber Yoshi Kadokawa
2022-07-20 06:17:04 Nobuto Murata bug added subscriber Nobuto Murata
2022-07-20 20:51:37 Chris MacNaughton nominated for series Ubuntu Jammy
2022-07-20 20:51:37 Chris MacNaughton bug task added ceph (Ubuntu Jammy)
2022-07-20 20:51:37 Chris MacNaughton bug task added python-cheroot (Ubuntu Jammy)
2022-07-20 21:07:28 Chris MacNaughton description # 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://archive.ubuntu.com/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status # What expected to happen? Enable to activate ceph-mgr dashboard module # What happened instead? My cluster status: # ceph -s cluster: id: 52dcb872-a44a-11ec-a9d5-00155d1a624f health: HEALTH_OK services: mon: 3 daemons, quorum aa-ceph01,aa-ceph02,aa-ceph03 (age 17m) 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-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Module not found: 'dashboard' 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/__init__.py", line 52, in <module> from .module import Module, StandbyModule # noqa: F401 File "/usr/share/ceph/mgr/dashboard/module.py", line 49, in <module> patch_cherrypy(cherrypy.__version__) File "/usr/share/ceph/mgr/dashboard/cherrypy_backports.py", line 197, in patch_cherrypy accept_socket_error_0(v) File "/usr/share/ceph/mgr/dashboard/cherrypy_backports.py", line 124, in accept_socket_error_0 if v < StrictVersion("9.0.0") or cheroot_version < StrictVersion("6.5.5"): File "/lib/python3.10/distutils/version.py", line 64, in __gt__ c = self._cmp(other) File "/lib/python3.10/distutils/version.py", line 168, in _cmp other = StrictVersion(other) File "/lib/python3.10/distutils/version.py", line 40, in __init__ self.parse(vstring) File "/lib/python3.10/distutils/version.py", line 137, in parse raise ValueError("invalid version number '%s'" % vstring) ValueError: invalid version number '8.5.2+ds1' 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Class not found in module 'dashboard' 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Error loading module 'dashboard': (2) No such file or directory 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'progress' 2022-03-30T13:45:11.838+0000 7fb965cf2dc0 -1 mgr[py] Module progress has missing NOTIFY_TYPES member 2022-03-30T13:45:11.838+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'localpool' 2022-03-30T13:45:11.958+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'osd_perf_query' 2022-03-30T13:45:12.134+0000 7fb965cf2dc0 -1 mgr[py] Module osd_perf_query has missing NOTIFY_TYPES member 2022-03-30T13:45:12.134+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'telemetry' 2022-03-30T13:45:12.442+0000 7fb965cf2dc0 -1 mgr[py] Module telemetry has missing NOTIFY_TYPES member 2022-03-30T13:45:12.442+0000 7fb965cf2dc0 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: dashboard [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://archive.ubuntu.com/ubuntu jammy/main amd64 Packages         100 /var/lib/dpkg/status # What expected to happen? Enable to activate ceph-mgr dashboard module # What happened instead? My cluster status: # ceph -s   cluster:     id: 52dcb872-a44a-11ec-a9d5-00155d1a624f     health: HEALTH_OK   services:     mon: 3 daemons, quorum aa-ceph01,aa-ceph02,aa-ceph03 (age 17m)     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-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Module not found: 'dashboard' 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Traceback (most recent call last):   File "/usr/share/ceph/mgr/dashboard/__init__.py", line 52, in <module>     from .module import Module, StandbyModule # noqa: F401   File "/usr/share/ceph/mgr/dashboard/module.py", line 49, in <module>     patch_cherrypy(cherrypy.__version__)   File "/usr/share/ceph/mgr/dashboard/cherrypy_backports.py", line 197, in patch_cherrypy     accept_socket_error_0(v)   File "/usr/share/ceph/mgr/dashboard/cherrypy_backports.py", line 124, in accept_socket_error_0     if v < StrictVersion("9.0.0") or cheroot_version < StrictVersion("6.5.5"):   File "/lib/python3.10/distutils/version.py", line 64, in __gt__     c = self._cmp(other)   File "/lib/python3.10/distutils/version.py", line 168, in _cmp     other = StrictVersion(other)   File "/lib/python3.10/distutils/version.py", line 40, in __init__     self.parse(vstring)   File "/lib/python3.10/distutils/version.py", line 137, in parse     raise ValueError("invalid version number '%s'" % vstring) ValueError: invalid version number '8.5.2+ds1' 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Class not found in module 'dashboard' 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 -1 mgr[py] Error loading module 'dashboard': (2) No such file or directory 2022-03-30T13:45:11.706+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'progress' 2022-03-30T13:45:11.838+0000 7fb965cf2dc0 -1 mgr[py] Module progress has missing NOTIFY_TYPES member 2022-03-30T13:45:11.838+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'localpool' 2022-03-30T13:45:11.958+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'osd_perf_query' 2022-03-30T13:45:12.134+0000 7fb965cf2dc0 -1 mgr[py] Module osd_perf_query has missing NOTIFY_TYPES member 2022-03-30T13:45:12.134+0000 7fb965cf2dc0 1 mgr[py] Loading python module 'telemetry' 2022-03-30T13:45:12.442+0000 7fb965cf2dc0 -1 mgr[py] Module telemetry has missing NOTIFY_TYPES member 2022-03-30T13:45:12.442+0000 7fb965cf2dc0 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: dashboard
2022-07-20 21:17:12 Chris MacNaughton attachment added 1967139.debdiff https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1967139/+attachment/5604443/+files/1967139.debdiff
2022-07-21 00:26:12 Ubuntu Foundations Team Bug Bot tags patch
2022-07-22 15:46:43 James Page python-cheroot (Ubuntu Jammy): importance Undecided High
2022-07-22 15:46:50 James Page ceph (Ubuntu): status Confirmed Invalid
2022-07-22 15:46:52 James Page ceph (Ubuntu Jammy): status New Invalid
2022-07-22 15:47:05 James Page bug added subscriber Ubuntu Stable Release Updates Team
2022-08-10 00:38:02 Launchpad Janitor python-cheroot (Ubuntu Jammy): status New Confirmed
2022-08-10 00:38:05 Vern Hart bug added subscriber Vern Hart
2022-08-12 23:35:33 Steve Langasek python-cheroot (Ubuntu Jammy): status Confirmed Fix Committed
2022-08-12 23:35:36 Steve Langasek bug added subscriber SRU Verification
2022-08-12 23:35:41 Steve Langasek tags patch patch verification-needed verification-needed-jammy
2022-08-17 21:12:56 Chris MacNaughton tags patch verification-needed verification-needed-jammy patch verification-done verification-done-jammy
2022-09-05 08:24:58 Launchpad Janitor python-cheroot (Ubuntu Jammy): status Fix Committed Fix Released
2022-09-05 08:25:01 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2023-07-22 16:50:44 Alan Baghumian bug added subscriber Alan Baghumian