Module 'restful' has failed dependency: module 'typing' has no attribute 'Collection'

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

 



System:

  *   Ceph Version: 15.2.16
  *   OS: CentOS Stream 8
  *   Python: 3.6.8
  *   Num Mons: 5
  *   Num Nodes: 18


Hello,


I have run into a python dependency issue that I have been fighting for several weeks now. This appeared after I upgraded from CentOS 8 --> CentOS 8 Stream. Ceph version is 15.2.16. In a similar previous issue (that occurred after an upgrade from CentOS 8 --> CentOS 8 Stream), I resolved it by reinstalling the module in yum and python. Then, I restarted the Ceph Mgr services. This cleared the CEPH_WARN message.

```

[WRN] MGR_MODULE_DEPENDENCY: 2 mgr modules have failed dependencies

    Module 'prometheus' has failed dependency: No module named 'cherrypy'

    Module 'restful' has failed dependency: No module named 'pecan'

[root@myhost /usr/lib/python2.7/site-packages]# history | egrep 'pecan|cherrypy'

yum reinstall python3-cherrypy

yum reinstall python3-pecan

pip3 install --upgrade --force-reinstall pecan

pip3 install --upgrade --force-reinstall cherrypy

```

When I tried the same approach this time, it did not clear the issue. I also tried a system update (including updates of critical python packages). I am suspecting something in particular with the python version (3.6.8).


Module is enabled:

```

## ceph mgr module ls

    "enabled_modules": [

        "prometheus",

        "restful"

```

On a cluster without the CEPH_WARN I get the following when calling the ceph module directly.

```

 ceph restful list-keys

{}

```

On the CEPH_WARN cluster I get

```

 ceph restful list-keys

no valid command found; 10 closest matches:

pg stat

pg getmap

<------ snip ----->

```

Any guidance would be helpful. Thanks!


All my best,
Christine
_______________________________________________
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