Comment 5 for bug 1835354

Revision history for this message
Michael Skalka (mskalka) wrote :

Confirming this is present in Bionic-stein as well:

root@juju-1101fd-18-lxd-0:~# dpkg -l|grep ceph

ii ceph 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 distributed storage and file system
ii ceph-base 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 common ceph daemon libraries and management tools
ii ceph-common 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 common utilities to mount and interact with a ceph storage cluster
ii ceph-mgr 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 manager for the ceph distributed file system
ii ceph-mon 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 monitor server for the ceph storage system
ii ceph-osd 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 OSD server for the ceph storage system
ii libcephfs2 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 Ceph distributed file system client library
ii python3-cephfs 13.2.6-0ubuntu0.19.04.1~cloud0 amd64 Python 3 libraries for the Ceph libcephfs library

root@juju-1101fd-18-lxd-0:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
root@juju-1101fd-18-lxd-0:~# ceph status
  cluster:
    id: 832cb0a6-a3e7-11e9-bedc-00163e7eca36
    health: HEALTH_WARN
            Module 'crash' has failed dependency: invalid syntax (module.py, line 48)

  services:
    mon: 3 daemons, quorum juju-1101fd-19-lxd-0,juju-1101fd-18-lxd-0,juju-1101fd-20-lxd-0
    mgr: juju-1101fd-18-lxd-0(active), standbys: juju-1101fd-19-lxd-0, juju-1101fd-20-lxd-0
    osd: 72 osds: 72 up, 72 in
    rgw: 3 daemons active

  data:
    pools: 18 pools, 2040 pgs
    objects: 578 objects, 577 MiB
    usage: 74 GiB used, 251 TiB / 252 TiB avail
    pgs: 2040 active+clean

  io:
    client: 3.6 KiB/s rd, 3 op/s rd, 0 op/s wr

root@juju-1101fd-18-lxd-0:~# cat /var/log/ceph/ceph-mgr.juju-1101fd-18-lxd-0.log |grep -C10 syntax
2019-07-11 14:34:03.118 7fa37dd89300 0 pidfile_write: ignore empty --pid-file
2019-07-11 14:34:03.146 7fa37dd89300 1 mgr[py] Loading python module 'balancer'
2019-07-11 14:34:03.202 7fa37dd89300 1 mgr[py] Loading python module 'crash'
2019-07-11 14:34:03.242 7fa37dd89300 -1 mgr[py] Module not found: 'crash'
2019-07-11 14:34:03.242 7fa37dd89300 -1 mgr[py] Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/ceph/mgr/crash/__init__.py", line 1, in <module>
    from .module import Module
  File "/usr/lib/x86_64-linux-gnu/ceph/mgr/crash/module.py", line 48
    def inner((_, meta)):
              ^
SyntaxError: invalid syntax

2019-07-11 14:34:03.242 7fa37dd89300 -1 mgr[py] Class not found in module 'crash'
2019-07-11 14:34:03.242 7fa37dd89300 -1 mgr[py] Error loading module 'crash': (2) No such file or directory