[WIP] ceph-mgr: requires py3-six, py3-yaml, py3-requests, py3-jsonpatch but does not install it
When running ceph-mgr, I get:
2021-02-07T13:07:39.334+0100 7fe7a49fa8d8 -1 mgr[py] Class not found in module 'cephadm'
2021-02-07T13:07:39.334+0100 7fe7a49fa8d8 -1 mgr[py] Error loading module 'cephadm': (22) Invalid argument
2021-02-07T13:07:39.334+0100 7fe7a49fa8d8 1 mgr[py] Loading python module 'crash'
2021-02-07T13:07:39.397+0100 7fe7a49fa8d8 -1 mgr[py] Module not found: 'mgr_module'
2021-02-07T13:07:39.397+0100 7fe7a49fa8d8 -1 mgr[py] Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 11, in <module>
import six
ModuleNotFoundError: No module named 'six'
Because py3-six is not automatically installed. The ceph-mgr package probably needs this dependency.
After fixing py3-six, yaml is missing, too:
2021-02-07T13:45:36.449+0100 7f3da1b4a8d8 -1 mgr[py] Class not found in module 'test_orchestrator'
2021-02-07T13:45:36.449+0100 7f3da1b4a8d8 -1 mgr[py] Error loading module 'test_orchestrator': (2) No such file or directory
2021-02-07T13:45:36.449+0100 7f3da1b4a8d8 1 mgr[py] Loading python module 'volumes'
2021-02-07T13:45:36.569+0100 7f3da1b4a8d8 -1 mgr[py] Module not found: 'volumes'
2021-02-07T13:45:36.569+0100 7f3da1b4a8d8 -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 8, in <module>
import orchestrator
File "/usr/share/ceph/mgr/orchestrator/__init__.py", line 7, in <module>
from .module import OrchestratorCli
File "/usr/share/ceph/mgr/orchestrator/module.py", line 8, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
Two more:
2021-02-07T13:48:29.256+0100 7fc492b928d8 -1 mgr[py] Class not found in module 'restful'
2021-02-07T13:48:29.256+0100 7fc492b928d8 -1 mgr[py] Error loading module 'restful': (2) No such file or directory
2021-02-07T13:48:29.256+0100 7fc492b928d8 1 mgr[py] Loading python module 'rook'
2021-02-07T13:48:29.559+0100 7fc492b928d8 -1 mgr[py] Module not found: 'rook'
2021-02-07T13:48:29.559+0100 7fc492b928d8 -1 mgr[py] Traceback (most recent call last):
File "/usr/share/ceph/mgr/rook/__init__.py", line 2, in <module>
from .module import RookOrchestrator
File "/usr/share/ceph/mgr/rook/module.py", line 36, in <module>
from .rook_cluster import RookCluster
File "/usr/share/ceph/mgr/rook/rook_cluster.py", line 16, in <module>
import jsonpatch
ModuleNotFoundError: No module named 'jsonpatch'
2021-02-07T13:48:29.563+0100 7fc492b928d8 -1 mgr[py] Class not found in module 'rook'
2021-02-07T13:48:29.563+0100 7fc492b928d8 -1 mgr[py] Error loading module 'rook': (2) No such file or directory
2021-02-07T13:48:29.563+0100 7fc492b928d8 1 mgr[py] Loading python module 'selftest'
2021-02-07T13:48:29.649+0100 7fc492b928d8 1 mgr[py] Loading python module 'status'
2021-02-07T13:48:29.753+0100 7fc492b928d8 1 mgr[py] Loading python module 'telegraf'
2021-02-07T13:48:29.843+0100 7fc492b928d8 1 mgr[py] Loading python module 'telemetry'
2021-02-07T13:48:29.936+0100 7fc492b928d8 -1 mgr[py] Module not found: 'telemetry'
2021-02-07T13:48:29.936+0100 7fc492b928d8 -1 mgr[py] Traceback (most recent call last):
File "/usr/share/ceph/mgr/telemetry/__init__.py", line 1, in <module>
from .module import Module
File "/usr/share/ceph/mgr/telemetry/module.py", line 12, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
jaraco seems to be more than just -itertools:
53) octopus (stable), process ceph-mgr, pid 12540
2021-02-07T13:56:55.587+0100 7f72f050a8d8 1 mgr[py] Loading python module 'alerts'
2021-02-07T13:56:55.740+0100 7f72f050a8d8 1 mgr[py] Loading python module 'balancer'
2021-02-07T13:56:55.854+0100 7f72f050a8d8 1 mgr[py] Loading python module 'cephadm'
2021-02-07T13:56:56.340+0100 7f72f050a8d8 1 mgr[py] Loading python module 'crash'
2021-02-07T13:56:56.457+0100 7f72f050a8d8 1 mgr[py] Loading python module 'dashboard'
2021-02-07T13:56:56.800+0100 7f72f050a8d8 -1 mgr[py] Module not found: 'dashboard'
2021-02-07T13:56:56.800+0100 7f72f050a8d8 -1 mgr[py] Traceback (most recent call last):
File "/usr/share/ceph/mgr/dashboard/__init__.py", line 9, in <module>
import cherrypy
File "/usr/lib/python3.8/site-packages/cherrypy/__init__.py", line 66, in <module>
from ._cperror import (
File "/usr/lib/python3.8/site-packages/cherrypy/_cperror.py", line 135, in <module>
from cherrypy.lib import httputil as _httputil
File "/usr/lib/python3.8/site-packages/cherrypy/lib/httputil.py", line 20, in <module>
import jaraco.collections
ModuleNotFoundError: No module named 'jaraco.collections'
Further missing requirements, but packages exist:
- py3-dateutil
- py3-cherrypi
- py3-scipy
- py3-more-itertools
- py3-jinja2
- py3-jaraco-itertools
Missing / incomplete packages in Alpine:
- pecan
- jaraco
Edited by Nico Schottelius