Re: Ceph 14.2.17 ceph-mgr module issue

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

 



That looks like a python version issue (running python2 when it should use python3).
Are the container images you use available for the rest of the world to look into?
If so you can share the image, that would held debugging.

If not, I suggest checking the python version in the containers.

On 03/12 17:19, Stefan Kooman wrote:
> Hi,
> 
> After upgrading a Ceph cluster to 14.2.17 with ceph-ansible (docker
> containers) the manager hits an issue:
> 
> Module 'volumes' has failed dependency: No module named typing, python
> trace:
> 
> 2021-03-12 17:04:22.358 7f299ac75e40 1 mgr[py] Loading python module
> 'volumes'
> 2021-03-12 17:04:22.458 7f299ac75e40 -1 mgr[py] Module not found: 'volumes'
> 2021-03-12 17:04:22.458 7f299ac75e40 -1 mgr[py] Traceback (most recent call
> last):
> File "/usr/share/ceph/mgr/volumes/__init__.py", line 2, in <module>
> from .module import Module
> File "/usr/share/ceph/mgr/volumes/module.py", line 10, in <module>
> from .fs.volume import VolumeClient
> File "/usr/share/ceph/mgr/volumes/fs/volume.py", line 13, in <module>
> from .operations.subvolume import open_subvol, create_subvol, remove_subvol,
> \
> File "/usr/share/ceph/mgr/volumes/fs/operations/subvolume.py", line 8, in
> <module>
> from .versions import loaded_subvolumes
> File "/usr/share/ceph/mgr/volumes/fs/operations/versions/__init__.py", line
> 9, in <module>
> from .subvolume_v1 import SubvolumeV1
> File "/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_v1.py",
> line 9, in <module>
> from typing import List, Dict
> ImportError: No module named typing
> 
> I created tracker [1] for this issue with this information. Not sure if non
> containerized deployments hit this issue as well. I will find thta out
> somewhere next week.
> 
> FYI,
> 
> Gr. Stefan
> 
> [1]: https://tracker.ceph.com/issues/49770
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx

-- 
David Caro
SRE - Cloud Services
Wikimedia Foundation <https://wikimediafoundation.org/>
PGP Signature: 7180 83A2 AC8B 314F B4CE  1171 4071 C7E1 D262 69C3

"Imagine a world in which every single human being can freely share in the
sum of all knowledge. That's our commitment."

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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