Bug #49770
closedModule 'volumes' has failed dependency: No module named typing
0%
Description
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
This results in a Health WARN
Updated by Paul Reece about 3 years ago
Found the same issue on my CentOS 7 dev cluster, 'yum install python2-typing' and restarting mgrs was an easy workaround for me
Updated by Stefan Kooman about 3 years ago
Yeah, that was also the thing I did. The package is installed now. I restarted all the managers, but still the same issue. Weird.
Updated by Neha Ojha about 3 years ago
- Status changed from New to Duplicate
https://tracker.ceph.com/issues/49762 is the same issue.
Updated by Neha Ojha about 3 years ago
- Is duplicate of Bug #49762: nautilus: ceph-mgr: missing dependency python-typing added