Debian package for 18.2.4 broken
Hi, the Debian bookworm packages for 18.2.4 are completely broken and unusable: 1. missing dependencies, e.g. python3-packaging: root@cc-r3-ceph-2:~# ceph-volume lvm list Traceback (most recent call last): File "/usr/sbin/ceph-volume", line 33, in <module> sys.exit(load_entry_point('ceph-volume==1.0.0', 'console_scripts', 'ceph-volume')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/sbin/ceph-volume", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1206, in _gcd_import File "<frozen importlib._bootstrap>", line 1178, in _find_and_load File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/ceph_volume/main.py", line 9, in <module> from ceph_volume import log, devices, configuration, conf, exceptions, terminal, inventory, drive_group, activate File "/usr/lib/python3/dist-packages/ceph_volume/devices/__init__.py", line 1, in <module> from . import lvm, simple, raw # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/__init__.py", line 1, in <module> from .main import LVM # noqa ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/main.py", line 4, in <module> from . import activate File "/usr/lib/python3/dist-packages/ceph_volume/devices/lvm/activate.py", line 9, in <module> from ceph_volume.util import encryption as encryption_utils File "/usr/lib/python3/dist-packages/ceph_volume/util/encryption.py", line 9, in <module> from packaging import version ModuleNotFoundError: No module named 'packaging' 2. After installing missing dependencies activating encrypted OSDs fails: root@cc-r3-ceph-2:~# ceph-volume lvm activate --all --> Activating OSD ID 875 FSID 06296c01-4c59-4fde-afe4-0e1e4f078ba9 --> InvalidVersion: Invalid version: 'cryptsetup 2.6.1 flags: UDEV BLKID KEYRING KERNEL_CAPI ' Downgrade to 18.2.2 resolves the problem. Did anyone test the packages before release? Regards, Burkhard
Hi, On 01/08/2024 19:49, Burkhard Linke wrote:
the Debian bookworm packages for 18.2.4 are completely broken and unusable:
1. missing dependencies, e.g. python3-packaging:
This is https://tracker.ceph.com/issues/67290 and I submitted a PR: https://github.com/ceph/ceph/pull/58956
2. After installing missing dependencies activating encrypted OSDs fails:
root@cc-r3-ceph-2:~# ceph-volume lvm activate --all --> Activating OSD ID 875 FSID 06296c01-4c59-4fde-afe4-0e1e4f078ba9 --> InvalidVersion: Invalid version: 'cryptsetup 2.6.1 flags: UDEV BLKID KEYRING KERNEL_CAPI '
this is a missing backport of: https://github.com/ceph/ceph/commit/dc28b77a6ea50b3390663ac02eeb80367650b7ed albeit the respective issue hasa backport request open since two months: https://tracker.ceph.com/issues/66393 not sure why it was not completed.. Plus a follow-up of the above missing commit: https://github.com/ceph/ceph/commit/607eb34b2c278566c386efcbf3018629cf08ccfd https://tracker.ceph.com/issues/66393 That is also pending a backport since two months. FWIW, a version with those things fixed and actually tested is available on our "test" ceph reef repo: https://pve.proxmox.com/wiki/Package_Repositories#_ceph_reef_test_repository See here for the release key used to sign those packages: https://pve.proxmox.com/wiki/Package_Repositories#repos_secure_apt regards Thomas
participants (2)
-
Burkhard Linke
-
Thomas Lamprecht