Project

General

Profile

Actions

Bug #49770

closed

Module 'volumes' has failed dependency: No module named typing

Added by Stefan Kooman about 3 years ago. Updated about 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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


Related issues 1 (0 open1 closed)

Is duplicate of mgr - Bug #49762: nautilus: ceph-mgr: missing dependency python-typingResolvedJosh Durgin

Actions
Actions #1

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

Actions #2

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.

Actions #3

Updated by Neha Ojha about 3 years ago

  • Status changed from New to Duplicate
Actions #4

Updated by Neha Ojha about 3 years ago

  • Is duplicate of Bug #49762: nautilus: ceph-mgr: missing dependency python-typing added
Actions

Also available in: Atom PDF