ceph-volume cannot start despite it's code being installed in /usr/lib/python3.11/site-packages/ceph_volume. It makes it makes this version of ceph unusable because It cannot manage, start or restart any OSDs. Example error from the shell: ~ # ceph-volume Traceback (most recent call last): File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name return next(cls.discover(name=name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ StopIteration During handling of the above exception, another exception occurred: 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 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution return Distribution.from_name(distribution_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for ceph-volume
This bug was caused by https://bugs.gentoo.org/924065 In commit https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d23e75b2b7242c31b33bdc7b869edf599002262 I've reverted these changes in my local overlay and got ceph-volume working again. Please revert these changes in the main repo and do some basic testing before modifying ebuilds in the future.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a37c82fd3188758ae0b68f7347176fbdcf099a9 commit 5a37c82fd3188758ae0b68f7347176fbdcf099a9 Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2024-04-01 17:54:43 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2024-04-01 17:55:11 +0000 sys-cluster/ceph: Don't remove egg-info files (bug #928389) Closes: https://bugs.gentoo.org/928389 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> sys-cluster/ceph/{ceph-16.2.15.ebuild => ceph-16.2.15-r1.ebuild} | 5 ----- sys-cluster/ceph/{ceph-18.2.1-r1.ebuild => ceph-18.2.1-r2.ebuild} | 4 ---- 2 files changed, 9 deletions(-)