Re: Ceph 14.2.17 ceph-mgr module issue

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

 



On 3/12/21 6:18 PM, David Caro wrote:

I got the latest docker image from the public docker repo:

dcaro@vulcanus$ docker pull ceph/daemon:latest-nautilus
latest-nautilus: Pulling from ceph/daemon
2d473b07cdd5: Pull complete
6ab62ee0cbfb: Pull complete
8d5f9072ae2b: Pull complete
5cf35aefd364: Pull complete
753fcb95c2ca: Pull complete
3e9f3e2ec7a8: Pull complete
72d990ffe8ba: Pull complete
98112a47860c: Pull complete
2dc4347e44c6: Pull complete
d7e7fd551922: Pull complete
Digest: sha256:aede85ad3485395fba6351708eedf1c16b3e5c7ee5afebd95a0fc5d95cec3b7f
Status: Downloaded newer image for ceph/daemon:latest-nautilus
docker.io/ceph/daemon:latest-nautilus


The sha256 hash is similar as the container is using in this deployment, so I'm pretty confident it's the same image: sha256:aede85ad3485395fba6351708eedf1c16b3e5c7ee5afebd95a0fc5d95cec3b7f



and ran bash on it:
dcaro@vulcanus$ docker run --entrypoint bash --tty -ti ceph/daemon:latest-nautilus
...
[root@bddc068cedef /]# cat etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@bddc068cedef /]# python
Python 2.7.5 (default, Nov 16 2020, 22:23:17)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import typing
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named typing


And I find no typing module around (only python3 showing up, no venv or similar):
[root@f664d09a8a5f /]# find . -iname \*typing\*
./usr/lib64/python3.6/__pycache__/typing.cpython-36.opt-2.pyc
./usr/lib64/python3.6/__pycache__/typing.cpython-36.pyc
./usr/lib64/python3.6/__pycache__/typing.cpython-36.opt-1.pyc
./usr/lib64/python3.6/typing.py
./usr/share/ceph/mgr/dashboard/frontend/src/typings.d.ts

the typing module is missing there, downloading and installing it kinda works:
[root@bddc068cedef /]# wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/p/python2-typing-3.5.2.2-4.el7.noarch.rpm
...
[root@bddc068cedef /]# rpm -i python2-typing-3.5.2.2-4.el7.noarch.rpm
[root@bddc068cedef /]# python
Python 2.7.5 (default, Nov 16 2020, 22:23:17)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import typing



I repeated your steps, but still the same error. The module "typing" is now available, but for some reason the module "volume" is tripping over it.

An older image though (v4.0.18-stable-4.0-nautilus-centos-7) does not have that module either, I'm no expert on how
ceph-ansible sets the containers up though, maybe it failed to do some setup?

Do you have any logs/output for the run (that you can share)?

No, I already closed the shell where I ran that playbook, no logs from there. The run when fine though, besides one minor issue with a password that could not be updated. So it all got updated to 14.2.17, with only this manager issue popping up.

Gr. Stefan
_______________________________________________
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