Невозможно включить модуль promenteus: # ceph mgr module enable prometheus Error ENOENT: module 'prometheus' reports that it cannot run on the active manager daemon: cannot import name 'packaging' from 'pkg_resources' (/lib64/python3/site-packages/pkg_resources/__init__.py) (pass --force to force enablement) Действительно, модуль рассчитывает на старые setuptools: $ PYTHONPATH=/usr/share/ceph/ python3 -c 'import mgr.prometheus' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/share/ceph/mgr/prometheus/__init__.py", line 2, in <module> from .module import Module, StandbyModule File "/usr/share/ceph/mgr/prometheus/module.py", line 4, in <module> from pkg_resources import packaging # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'packaging' from 'pkg_resources' (/usr/lib64/python3/site-packages/pkg_resources/__init__.py)
Похоже, нам нужно вот это: https://github.com/ceph/ceph/commit/844b66de419d7bf5f622980b0de3c69b5ad8bc9c
Эх, пока разбирался, не увидел багу. А таск уже есть: https://packages.altlinux.org/ru/tasks/356413