Re: dashboard on Ubuntu 22.04: python3-cheroot incompatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthias


On Fri, Jul 22, 2022 at 4:50 PM Matthias Ferdinand <mf+ml.ceph@xxxxxxxxx>
wrote:

> Hi,
>
> trying to activate ceph dashboard on a 17.2.0 cluster (Ubuntu 22.04
> using standard ubuntu repos), the dashboard module crashes because it
> cannot understand the python3-cheroot version number '8.5.2+ds1':
>
>     root@mceph00:~# ceph crash info
> 2022-07-22T14:44:03.226395Z_a6b006a7-10c3-443d-9ead-161e06a27bf3
>     {
>         "backtrace": [
>             "  File \"/usr/share/ceph/mgr/dashboard/__init__.py\", line
> 52, in <module>\n    from .module import Module, StandbyModule  # noqa:
> F401",
>             "  File \"/usr/share/ceph/mgr/dashboard/module.py\", line 49,
> in <module>\n    patch_cherrypy(cherrypy.__version__)",
>             "  File
> \"/usr/share/ceph/mgr/dashboard/cherrypy_backports.py\", line 197, in
> patch_cherrypy\n    accept_socket_error_0(v)",
>             "  File
> \"/usr/share/ceph/mgr/dashboard/cherrypy_backports.py\", line 124, in
> accept_socket_error_0\n    if v < StrictVersion(\"9.0.0\") or
> cheroot_version < StrictVersion(\"6.5.5\"):",
>             "  File \"/lib/python3.10/distutils/version.py\", line 64, in
> __gt__\n    c = self._cmp(other)",
>             "  File \"/lib/python3.10/distutils/version.py\", line 168, in
> _cmp\n    other = StrictVersion(other)",
>             "  File \"/lib/python3.10/distutils/version.py\", line 40, in
> __init__\n    self.parse(vstring)",
>             "  File \"/lib/python3.10/distutils/version.py\", line 137, in
> parse\n    raise ValueError(\"invalid version number '%s'\" % vstring)",
> =>          "ValueError: invalid version number '8.5.2+ds1'"
>         ],
>         "ceph_version": "17.2.0",
>         "crash_id":
> "2022-07-22T14:44:03.226395Z_a6b006a7-10c3-443d-9ead-161e06a27bf3",
>         "entity_name": "mgr.mceph05",
>         "mgr_module": "dashboard",
>         "mgr_module_caller": "PyModule::load_subclass_of",
>         "mgr_python_exception": "ValueError",
>         "os_id": "22.04",
>         "os_name": "Ubuntu 22.04 LTS",
>         "os_version": "22.04 LTS (Jammy Jellyfish)",
>         "os_version_id": "22.04",
>         "process_name": "ceph-mgr",
>         "stack_sig":
> "3f893983e716f2a7e368895904cf3485ac7064d3294a45ea14066a1576c818e3",
>         "timestamp": "2022-07-22T14:44:03.226395Z",
>         "utsname_hostname": "mceph05",
>         "utsname_machine": "x86_64",
>         "utsname_release": "5.15.0-41-generic",
>         "utsname_sysname": "Linux",
>         "utsname_version": "#44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022"
>     }
>
> If I remove the version check (see below), dashboard appears to be working.


https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1967139

I just uploaded a fix for cheroot to resolve this issue - the stable
release update team should pick that up next week.

Cheers

James
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux